Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.00154, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001778/0.001778, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.19 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 62.95 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001876/0.1196, allocations: 489.7 kB / 470.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1226, allocations: 1.987 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-06/0.1227, allocations: 4 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-06/0.1227, allocations: 0 / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.563e-06/0.1227, allocations: 3.938 kB / 472.4 MB, free: 11.9 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1245, allocations: 0.4979 MB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.634e-05/0.1245, allocations: 7.938 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.1246, allocations: 4 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-06/0.1246, allocations: 0 / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.333e-05/0.1246, allocations: 3.984 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-06/0.1246, allocations: 0 / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.1259, allocations: 0.8771 MB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.1259, allocations: 3.984 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.13e-05/0.126, allocations: 0 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.127, allocations: 0.7836 MB / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.127, allocations: 0 / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.127, allocations: 0 / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.127, allocations: 0 / 474.6 MB, free: 9.719 MB / 350.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.0004302/0.1275, allocations: 379.5 kB / 474.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1275, allocations: 8.031 kB / 474.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.1276, allocations: 80.22 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1277, allocations: 239.7 kB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.1278, allocations: 150.9 kB / 475.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.1278, allocations: 154.9 kB / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.1279, allocations: 113.3 kB / 475.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.128, allocations: 75.28 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.128, allocations: 158.5 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.1281, allocations: 154.5 kB / 476.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1281, allocations: 150.6 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1284, allocations: 438 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.1285, allocations: 177.1 kB / 476.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1286, allocations: 80.14 kB / 476.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.1286, allocations: 75.28 kB / 477 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.1287, allocations: 117.7 kB / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1287, allocations: 0 / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.686e-05/0.1287, allocations: 29.7 kB / 477.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.1288, allocations: 160.4 kB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/0.1289, allocations: 89.86 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1289, allocations: 25.7 kB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.129, allocations: 84.14 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.129, allocations: 0 / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.129, allocations: 9.719 kB / 477.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1291, allocations: 314.8 kB / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.1291, allocations: 0 / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.1292, allocations: 7.938 kB / 477.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.1292, allocations: 75.28 kB / 477.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/0.1292, allocations: 79.22 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.126e-05/0.1293, allocations: 37.73 kB / 478 MB, free: 6.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.1293, allocations: 83.22 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/0.1294, allocations: 75.28 kB / 478.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-05/0.1295, allocations: 158.4 kB / 478.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.593e-05/0.1295, allocations: 83.31 kB / 478.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.968e-05/0.1296, allocations: 162.5 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.1297, allocations: 75.28 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1297, allocations: 79.27 kB / 478.7 MB, free: 5.383 MB / 350.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.0001381/0.1298, allocations: 260.4 kB / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.1299, allocations: 112.9 kB / 479 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.13, allocations: 104.1 kB / 479.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-05/0.13, allocations: 188.2 kB / 479.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-05/0.1301, allocations: 176.3 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/0.1302, allocations: 180.2 kB / 479.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1304, allocations: 397.2 kB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.1305, allocations: 109 kB / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.1305, allocations: 112.9 kB / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.1306, allocations: 180.2 kB / 480.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.1307, allocations: 176.3 kB / 480.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.015e-05/0.1307, allocations: 188.2 kB / 480.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.713e-05/0.1308, allocations: 180.3 kB / 481 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1309, allocations: 307.8 kB / 481.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.131, allocations: 178.1 kB / 481.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.1311, allocations: 188.1 kB / 481.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1312, allocations: 105 kB / 481.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.1312, allocations: 192.2 kB / 481.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.1313, allocations: 101 kB / 482 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.487e-05/0.1313, allocations: 75.28 kB / 482.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1313, allocations: 0 / 482.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005885/0.1319, allocations: 144 kB / 482.2 MB, free: 1.582 MB / 350.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.0007612/0.1327, allocations: 343.9 kB / 482.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.448e-05/0.1327, allocations: 7.938 kB / 482.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1327, allocations: 0 / 482.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1327, allocations: 0 / 482.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1331, allocations: 459.7 kB / 483 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.1333, allocations: 177.9 kB / 483.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1335, allocations: 0.669 MB / 483.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.1336, allocations: 7.438 kB / 483.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1336, allocations: 0 / 483.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005711/0.1393, allocations: 2.912 MB / 486.8 MB, free: 12.96 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches