Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.9 MB / 361.3 MB, free: 4.457 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations")
translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.88 kB / 0.497 GB, free: 7.629 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3422, allocations: 66.03 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001605/0.3438, allocations: 0.4915 MB / 0.562 GB, free: 4.152 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003096/0.3469, allocations: 2.07 MB / 0.564 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-06/0.3469, allocations: 0 / 0.564 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.017e-06/0.3469, allocations: 0 / 0.564 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.232e-06/0.3469, allocations: 4 kB / 0.564 GB, free: 2.059 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760: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.001727/0.3486, allocations: 0.5556 MB / 0.5646 GB, free: 1.508 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 1.8e-05/0.3486, allocations: 3.984 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.3487, allocations: 7.984 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.654e-06/0.3487, allocations: 0 / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.386e-06/0.3487, allocations: 0 / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.028e-06/0.3487, allocations: 0 / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.3504, allocations: 1.13 MB / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.3504, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.3504, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3515, allocations: 0.8443 MB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3515, allocations: 3.984 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.945e-06/0.3515, allocations: 4 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.086e-05/0.3515, allocations: 0 / 0.5665 GB, free: 15.52 MB / 414.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.0003978/0.3519, allocations: 301.7 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3519, allocations: 12.03 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.352, allocations: 76.22 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3521, allocations: 181.8 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.3522, allocations: 150.9 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.3522, allocations: 150.9 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.3523, allocations: 109.3 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.3524, allocations: 75.28 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3524, allocations: 154.6 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.3525, allocations: 154.5 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.3526, allocations: 154.6 kB / 0.568 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.3529, allocations: 413 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.353, allocations: 177.1 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.353, allocations: 80.14 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.3531, allocations: 83.27 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/0.3531, allocations: 117.7 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.3531, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0): time 7.981e-05/0.3532, allocations: 25.7 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.3533, allocations: 160.4 kB / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.171e-05/0.3534, allocations: 89.86 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3534, allocations: 25.7 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3534, allocations: 80.14 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3534, allocations: 0 / 0.5692 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.3534, allocations: 13.66 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001381/0.3536, allocations: 318.8 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.3536, allocations: 0 / 0.5695 GB, free: 12.29 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.3536, allocations: 4 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.3536, allocations: 79.31 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/0.3537, allocations: 79.22 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.292e-05/0.3537, allocations: 29.7 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.3538, allocations: 85.41 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.3538, allocations: 75.36 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 7.165e-05/0.3539, allocations: 158.5 kB / 0.57 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.3539, allocations: 79.28 kB / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.143e-05/0.354, allocations: 162.5 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.354, allocations: 79.28 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3541, allocations: 79.28 kB / 0.5703 GB, free: 11.38 MB / 414.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.0001375/0.3542, allocations: 260.4 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.3543, allocations: 108.9 kB / 0.5707 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.3543, allocations: 111.8 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.989e-05/0.3544, allocations: 188.2 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.749e-05/0.3545, allocations: 176.3 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.3546, allocations: 180.3 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.3549, allocations: 372.2 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/0.3549, allocations: 113 kB / 0.5718 GB, free: 9.801 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.355, allocations: 104.9 kB / 0.5719 GB, free: 9.691 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/0.3551, allocations: 180.2 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.3552, allocations: 184.3 kB / 0.5722 GB, free: 9.32 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-05/0.3552, allocations: 180.2 kB / 0.5724 GB, free: 9.137 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.901e-05/0.3553, allocations: 176.3 kB / 0.5726 GB, free: 8.957 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3555, allocations: 315.7 kB / 0.5729 GB, free: 8.625 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3555, allocations: 101 kB / 0.573 GB, free: 8.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.3556, allocations: 188.1 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3557, allocations: 105 kB / 0.5732 GB, free: 8.219 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.3558, allocations: 184.2 kB / 0.5734 GB, free: 8.031 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.3558, allocations: 101 kB / 0.5735 GB, free: 7.926 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.15e-05/0.3559, allocations: 79.28 kB / 0.5736 GB, free: 7.848 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3559, allocations: 0 / 0.5736 GB, free: 7.848 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0005834/0.3564, allocations: 151.6 kB / 0.5737 GB, free: 7.699 MB / 414.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.0007397/0.3572, allocations: 337.8 kB / 0.5741 GB, free: 7.359 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 5.616e-05/0.3572, allocations: 7.938 kB / 0.5741 GB, free: 7.352 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3572, allocations: 0 / 0.5741 GB, free: 7.352 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3572, allocations: 0 / 0.5741 GB, free: 7.352 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3576, allocations: 462.4 kB / 0.5745 GB, free: 6.898 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.3578, allocations: 144.3 kB / 0.5746 GB, free: 6.73 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3581, allocations: 0.6729 MB / 0.5753 GB, free: 6.031 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.187e-06/0.3581, allocations: 0 / 0.5753 GB, free: 6.031 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.3581, allocations: 7.438 kB / 0.5753 GB, free: 6.023 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3581, allocations: 0 / 0.5753 GB, free: 6.023 MB / 414.1 MB
Notification: Performance of Templates: time 0.007531/0.3656, allocations: 3.479 MB / 0.5787 GB, free: 2.551 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.969115446321666]