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.001041/0.001041, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001027/0.001027, allocations: 194 kB / 18.12 MB, free: 5.363 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.375/1.375, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2149/0.2149, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.88 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001897/0.132, allocations: 0.537 MB / 469 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1348, allocations: 2.001 MB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-06/0.1348, allocations: 0 / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.998e-06/0.1348, allocations: 7.875 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.1349, allocations: 0 / 471.1 MB, free: 12.29 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.001399/0.1363, allocations: 472.1 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.447e-05/0.1363, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.745e-05/0.1363, allocations: 4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-06/0.1363, allocations: 0 / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.095e-05/0.1363, allocations: 0 / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-06/0.1364, allocations: 0 / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1375, allocations: 0.8693 MB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.1375, allocations: 4 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.1375, allocations: 0 / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.1384, allocations: 0.7836 MB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1384, allocations: 0 / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1384, allocations: 4 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1384, allocations: 0 / 473.2 MB, free: 10.17 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.00035/0.1388, allocations: 379.5 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1388, allocations: 8.031 kB / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1389, allocations: 80.22 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.139, allocations: 235.7 kB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.1391, allocations: 154.9 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1391, allocations: 154.9 kB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.1392, allocations: 109.2 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1392, allocations: 75.28 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.1393, allocations: 150.6 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.1394, allocations: 150.6 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.1395, allocations: 166.5 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.1397, allocations: 438 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.1398, allocations: 169.1 kB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1399, allocations: 84.14 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1399, allocations: 75.28 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/0.14, allocations: 121.8 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.14, allocations: 0 / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.113e-05/0.1401, allocations: 25.7 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.1402, allocations: 152.4 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.89e-05/0.1402, allocations: 89.86 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1402, allocations: 29.64 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1403, allocations: 80.14 kB / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.1403, allocations: 7.938 kB / 476.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.1403, allocations: 13.72 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1404, allocations: 318.8 kB / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.1404, allocations: 0 / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.1404, allocations: 0 / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.1405, allocations: 75.28 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.263e-05/0.1405, allocations: 79.28 kB / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.946e-05/0.1406, allocations: 29.69 kB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.1406, allocations: 87.25 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.1406, allocations: 83.22 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-05/0.1407, allocations: 150.6 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.471e-05/0.1407, allocations: 75.28 kB / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.519e-05/0.1408, allocations: 162.5 kB / 477.1 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.1409, allocations: 79.28 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.1409, allocations: 87.22 kB / 477.3 MB, free: 5.836 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.000115/0.141, allocations: 260.9 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.1411, allocations: 108.9 kB / 477.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1412, allocations: 108 kB / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.802e-05/0.1412, allocations: 176.3 kB / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.736e-05/0.1413, allocations: 188.3 kB / 478.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.871e-05/0.1414, allocations: 188.2 kB / 478.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1416, allocations: 393.5 kB / 478.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.1417, allocations: 104.9 kB / 478.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1417, allocations: 105 kB / 478.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.1418, allocations: 188.2 kB / 479 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.1419, allocations: 188.2 kB / 479.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/0.1419, allocations: 176.3 kB / 479.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.863e-05/0.142, allocations: 180.2 kB / 479.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1421, allocations: 307.8 kB / 479.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1422, allocations: 186 kB / 480.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.1423, allocations: 184.2 kB / 480.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.1424, allocations: 104.9 kB / 480.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.1425, allocations: 180.2 kB / 480.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1425, allocations: 105 kB / 480.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.1425, allocations: 75.28 kB / 480.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.366e-06/0.1426, allocations: 4 kB / 480.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005613/0.1431, allocations: 147.9 kB / 480.8 MB, free: 2.031 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.0006797/0.1438, allocations: 344.4 kB / 481.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.159e-05/0.1439, allocations: 0 / 481.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1439, allocations: 0 / 481.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1439, allocations: 0 / 481.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1442, allocations: 0.5224 MB / 481.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001515/0.1444, allocations: 150 kB / 481.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1446, allocations: 0.6731 MB / 482.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.045e-06/0.1447, allocations: 0 / 482.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.1447, allocations: 11.44 kB / 482.5 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1447, allocations: 3.938 kB / 482.5 MB, free: 284 kB / 350.1 MB Notification: Performance of Templates: time 0.006232/0.1509, allocations: 3.377 MB / 485.9 MB, free: 12.89 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches