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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3338/0.3338, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
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=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations")
translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.89 kB / 497.7 MB, free: 1.027 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3673, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002032/0.3694, allocations: 0.4888 MB / 0.5493 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003826/0.3732, allocations: 2.019 MB / 0.5513 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-06/0.3732, allocations: 3.938 kB / 0.5513 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.578e-06/0.3732, allocations: 0 / 0.5513 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.623e-06/0.3732, allocations: 0 / 0.5513 GB, free: 11.2 MB / 398.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.002069/0.3753, allocations: 0.5647 MB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 1.373e-05/0.3753, allocations: 1.125 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.3753, allocations: 5.078 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.454e-06/0.3753, allocations: 0 / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.556e-06/0.3753, allocations: 1.156 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.827e-06/0.3753, allocations: 4 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3772, allocations: 1.102 MB / 0.5529 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.645e-06/0.3772, allocations: 0 / 0.5529 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.3772, allocations: 0 / 0.5529 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001416/0.3786, allocations: 0.8184 MB / 0.5537 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3787, allocations: 1.406 kB / 0.5537 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.3787, allocations: 0 / 0.5537 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.833e-06/0.3787, allocations: 0 / 0.5537 GB, free: 9.773 MB / 398.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.0005364/0.3792, allocations: 307.7 kB / 0.554 GB, free: 9.461 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3792, allocations: 10.11 kB / 0.554 GB, free: 9.461 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.3793, allocations: 84.16 kB / 0.5541 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3794, allocations: 179 kB / 0.5542 GB, free: 9.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.3795, allocations: 152 kB / 0.5544 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.3796, allocations: 154.9 kB / 0.5545 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.3797, allocations: 110.4 kB / 0.5546 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/0.3797, allocations: 75.28 kB / 0.5547 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.3798, allocations: 151.6 kB / 0.5549 GB, free: 8.543 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.3799, allocations: 150.6 kB / 0.555 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.3799, allocations: 155.8 kB / 0.5552 GB, free: 8.242 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.3803, allocations: 426.5 kB / 0.5556 GB, free: 7.785 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3804, allocations: 170.2 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.3804, allocations: 80.14 kB / 0.5558 GB, free: 7.527 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.3804, allocations: 75.28 kB / 0.5559 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.3805, allocations: 115.1 kB / 0.556 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3805, allocations: 4 kB / 0.556 GB, free: 7.328 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0): time 8.087e-05/0.3806, allocations: 30.98 kB / 0.556 GB, free: 7.293 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3807, allocations: 153.7 kB / 0.5562 GB, free: 7.125 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.54e-05/0.3807, allocations: 89.86 kB / 0.5562 GB, free: 7.027 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3808, allocations: 25.7 kB / 0.5563 GB, free: 6.996 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3808, allocations: 81.2 kB / 0.5563 GB, free: 6.914 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3808, allocations: 0 / 0.5563 GB, free: 6.914 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.3808, allocations: 11.75 kB / 0.5564 GB, free: 6.898 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001552/0.381, allocations: 326.8 kB / 0.5567 GB, free: 6.57 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.381, allocations: 1.156 kB / 0.5567 GB, free: 6.57 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.381, allocations: 0 / 0.5567 GB, free: 6.57 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.381, allocations: 80.38 kB / 0.5568 GB, free: 6.492 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-05/0.3811, allocations: 75.28 kB / 0.5568 GB, free: 6.418 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.824e-05/0.3811, allocations: 31.86 kB / 0.5569 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.3812, allocations: 85.09 kB / 0.5569 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.3812, allocations: 75.28 kB / 0.557 GB, free: 6.23 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/0.3813, allocations: 159.5 kB / 0.5572 GB, free: 6.074 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.3814, allocations: 76.58 kB / 0.5572 GB, free: 6 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.517e-05/0.3814, allocations: 159.7 kB / 0.5574 GB, free: 5.844 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.3815, allocations: 80.41 kB / 0.5575 GB, free: 5.766 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3815, allocations: 76.5 kB / 0.5575 GB, free: 5.691 MB / 398.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.0001495/0.3817, allocations: 269.7 kB / 0.5578 GB, free: 5.418 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.3818, allocations: 110.2 kB / 0.5579 GB, free: 5.305 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.3818, allocations: 105.2 kB / 0.558 GB, free: 5.191 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-05/0.3819, allocations: 181.3 kB / 0.5582 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.857e-05/0.382, allocations: 180.2 kB / 0.5583 GB, free: 4.824 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/0.3821, allocations: 181.4 kB / 0.5585 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3823, allocations: 374.4 kB / 0.5589 GB, free: 4.227 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.359e-05/0.3824, allocations: 105.9 kB / 0.559 GB, free: 4.117 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.3825, allocations: 102.2 kB / 0.5591 GB, free: 4.012 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.3826, allocations: 189.2 kB / 0.5592 GB, free: 3.82 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.3826, allocations: 181.5 kB / 0.5594 GB, free: 3.637 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.573e-05/0.3827, allocations: 184.2 kB / 0.5596 GB, free: 3.449 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.178e-05/0.3828, allocations: 182.2 kB / 0.5598 GB, free: 3.266 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.383, allocations: 303.2 kB / 0.5601 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.383, allocations: 102 kB / 0.5602 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.3831, allocations: 189.1 kB / 0.5603 GB, free: 2.652 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.3832, allocations: 107.2 kB / 0.5604 GB, free: 2.543 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.3833, allocations: 180.2 kB / 0.5606 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.3834, allocations: 110.5 kB / 0.5607 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.854e-05/0.3834, allocations: 75.28 kB / 0.5608 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3834, allocations: 0 / 0.5608 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0007231/0.3841, allocations: 150.1 kB / 0.5609 GB, free: 2.137 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.0009001/0.385, allocations: 338.2 kB / 0.5613 GB, free: 1.891 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 4.585e-05/0.3851, allocations: 1.125 kB / 0.5613 GB, free: 1.891 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3851, allocations: 5.469 kB / 0.5613 GB, free: 1.887 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.3851, allocations: 3.938 kB / 0.5613 GB, free: 1.883 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3855, allocations: 464.8 kB / 0.5617 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.3856, allocations: 147.2 kB / 0.5618 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.386, allocations: 0.6739 MB / 0.5625 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 9.628e-06/0.386, allocations: 1.469 kB / 0.5625 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.386, allocations: 11.44 kB / 0.5625 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.386, allocations: 0 / 0.5625 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of Templates: time 0.008124/0.3941, allocations: 3.394 MB / 0.5658 GB, free: 13.52 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.580234901979566]