Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114 kB / 17.08 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 194.5 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.88 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00176/0.1277, allocations: 0.4938 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1307, allocations: 2.02 MB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-06/0.1307, allocations: 4 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.298e-06/0.1308, allocations: 3.938 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.673e-06/0.1308, allocations: 0 / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1326, allocations: 0.5025 MB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.686e-05/0.1326, allocations: 0 / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1326, allocations: 0 / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.1326, allocations: 0 / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.334e-05/0.1327, allocations: 4 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.1327, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.134, allocations: 0.8888 MB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.1341, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.1341, allocations: 0 / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1352, allocations: 0.7874 MB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1352, allocations: 3.938 kB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1352, allocations: 0 / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1352, allocations: 0 / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004688/0.1357, allocations: 371.6 kB / 0.4935 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1357, allocations: 15.89 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1358, allocations: 80.22 kB / 0.4936 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1359, allocations: 239.7 kB / 0.4938 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.136, allocations: 154.9 kB / 0.4939 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.136, allocations: 150.9 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.836e-05/0.1361, allocations: 113.3 kB / 0.4942 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.1361, allocations: 79.28 kB / 0.4943 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.1362, allocations: 154.6 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.1362, allocations: 150.6 kB / 0.4946 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.1363, allocations: 154.5 kB / 0.4947 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1366, allocations: 442 kB / 0.4951 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.1367, allocations: 169.1 kB / 0.4953 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.1367, allocations: 84.14 kB / 0.4954 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1367, allocations: 75.28 kB / 0.4954 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.1368, allocations: 113.7 kB / 0.4955 GB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1368, allocations: 0 / 0.4955 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.923e-05/0.1369, allocations: 33.69 kB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.137, allocations: 160.4 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.137, allocations: 89.86 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.137, allocations: 29.7 kB / 0.4958 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1371, allocations: 80.14 kB / 0.4959 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.1371, allocations: 0 / 0.4959 GB, free: 4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.1371, allocations: 9.719 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1372, allocations: 310.8 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.1372, allocations: 3.938 kB / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.1372, allocations: 8 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.1373, allocations: 75.28 kB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-05/0.1373, allocations: 75.28 kB / 0.4964 GB, free: 3.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.554e-05/0.1374, allocations: 29.64 kB / 0.4964 GB, free: 3.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.1374, allocations: 91.2 kB / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.1374, allocations: 75.28 kB / 0.4966 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.871e-05/0.1375, allocations: 162.5 kB / 0.4967 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.897e-05/0.1376, allocations: 83.36 kB / 0.4968 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.148e-05/0.1376, allocations: 158.5 kB / 0.497 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.1377, allocations: 75.28 kB / 0.497 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1377, allocations: 75.28 kB / 0.4971 GB, free: 2.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.1378, allocations: 264.3 kB / 0.4974 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.1379, allocations: 116.8 kB / 0.4975 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1379, allocations: 108.1 kB / 0.4976 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.138, allocations: 184.1 kB / 0.4977 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-05/0.1381, allocations: 180.3 kB / 0.4979 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.1381, allocations: 176.3 kB / 0.4981 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1384, allocations: 405.2 kB / 0.4985 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.1384, allocations: 105 kB / 0.4986 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1384, allocations: 108.9 kB / 0.4987 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.1385, allocations: 180.2 kB / 0.4988 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.1386, allocations: 180.2 kB / 0.499 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-05/0.1386, allocations: 184.2 kB / 0.4992 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.702e-05/0.1387, allocations: 180.3 kB / 0.4994 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1388, allocations: 311.8 kB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.1389, allocations: 182 kB / 0.4998 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.139, allocations: 188.1 kB / 0.5 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.1391, allocations: 109 kB / 0.5001 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.1392, allocations: 184.2 kB / 0.5003 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.1392, allocations: 105 kB / 0.5004 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.1392, allocations: 75.28 kB / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1392, allocations: 0 / 0.5005 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.1399, allocations: 144 kB / 0.5006 GB, free: 14.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007632/0.1406, allocations: 345.2 kB / 0.5009 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.1407, allocations: 4 kB / 0.5009 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1407, allocations: 3.938 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1407, allocations: 3.938 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.141, allocations: 455.7 kB / 0.5014 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.1412, allocations: 181.8 kB / 0.5016 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1415, allocations: 0.6729 MB / 0.5022 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.1415, allocations: 11.44 kB / 0.5022 GB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1415, allocations: 0 / 0.5022 GB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.0061/0.1476, allocations: 2.906 MB / 0.5051 GB, free: 10.31 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches