Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001354/0.001354, allocations: 108.5 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.002304/0.002304, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.513/1.513, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2342/0.2342, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 180]
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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator")
translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.88 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.399, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001824/0.4008, allocations: 491.7 kB / 0.5493 GB, free: 12.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00356/0.4044, allocations: 2.044 MB / 0.5513 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.4044, allocations: 0 / 0.5513 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.4044, allocations: 0 / 0.5513 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.4045, allocations: 3.938 kB / 0.5513 GB, free: 11.17 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4058, allocations: 382.3 kB / 0.5516 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.4058, allocations: 10.81 kB / 0.5516 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.4059, allocations: 3.984 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.4059, allocations: 2.688 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.02112/0.427, allocations: 3.378 MB / 0.555 GB, free: 9.617 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.427, allocations: 4 kB / 0.555 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4271, allocations: 4.094 kB / 0.555 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.4272, allocations: 12.91 kB / 0.555 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.4272, allocations: 4.875 kB / 0.555 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.4274, allocations: 5 kB / 0.555 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4274, allocations: 3.938 kB / 0.555 GB, free: 9.594 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.773e-06/0.4274, allocations: 0 / 0.555 GB, free: 9.594 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.814e-06/0.4274, allocations: 1.062 kB / 0.555 GB, free: 9.594 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.0003731/0.4277, allocations: 247.8 kB / 0.5552 GB, free: 9.328 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4278, allocations: 9.391 kB / 0.5552 GB, free: 9.328 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.428, allocations: 87.09 kB / 0.5553 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.4282, allocations: 183 kB / 0.5555 GB, free: 9.047 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.4282, allocations: 150.9 kB / 0.5556 GB, free: 8.898 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.4283, allocations: 156 kB / 0.5558 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.4284, allocations: 101 kB / 0.5559 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.4284, allocations: 84.62 kB / 0.556 GB, free: 8.559 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.4285, allocations: 154.6 kB / 0.5561 GB, free: 8.406 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/0.4286, allocations: 150.6 kB / 0.5562 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.4287, allocations: 159.8 kB / 0.5564 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.429, allocations: 410.2 kB / 0.5568 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4291, allocations: 174.2 kB / 0.557 GB, free: 7.48 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.4291, allocations: 85.42 kB / 0.557 GB, free: 7.395 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.4292, allocations: 75.28 kB / 0.5571 GB, free: 7.32 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.4292, allocations: 115 kB / 0.5572 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.4292, allocations: 0 / 0.5572 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0): time 9.53e-05/0.4293, allocations: 30.92 kB / 0.5573 GB, free: 7.164 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.4294, allocations: 179.5 kB / 0.5574 GB, free: 6.965 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4296, allocations: 95.23 kB / 0.5575 GB, free: 6.863 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4296, allocations: 25.7 kB / 0.5575 GB, free: 6.832 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.4296, allocations: 85.2 kB / 0.5576 GB, free: 6.746 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.4296, allocations: 0 / 0.5576 GB, free: 6.746 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.4296, allocations: 12.41 kB / 0.5576 GB, free: 6.73 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001509/0.4298, allocations: 320.4 kB / 0.5579 GB, free: 6.41 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.4298, allocations: 0 / 0.5579 GB, free: 6.41 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.4298, allocations: 11.06 kB / 0.5579 GB, free: 6.395 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.4299, allocations: 80.47 kB / 0.558 GB, free: 6.316 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.4299, allocations: 75.28 kB / 0.5581 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.234e-05/0.43, allocations: 32.2 kB / 0.5581 GB, free: 6.207 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.43, allocations: 85.62 kB / 0.5582 GB, free: 6.129 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.43, allocations: 75.28 kB / 0.5583 GB, free: 6.055 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-05/0.4301, allocations: 164 kB / 0.5584 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/0.4302, allocations: 76.69 kB / 0.5585 GB, free: 5.82 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-05/0.4302, allocations: 158.5 kB / 0.5587 GB, free: 5.664 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.4303, allocations: 76.69 kB / 0.5587 GB, free: 5.59 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.4304, allocations: 76.5 kB / 0.5588 GB, free: 5.516 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.0001581/0.4305, allocations: 270.7 kB / 0.5591 GB, free: 5.242 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.4306, allocations: 110 kB / 0.5592 GB, free: 5.129 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.4307, allocations: 105.2 kB / 0.5593 GB, free: 5.016 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/0.4307, allocations: 185.5 kB / 0.5594 GB, free: 4.828 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-05/0.4308, allocations: 181.6 kB / 0.5596 GB, free: 4.645 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-05/0.4309, allocations: 181.5 kB / 0.5598 GB, free: 4.461 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.4312, allocations: 385.4 kB / 0.5602 GB, free: 4.035 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/0.4312, allocations: 102.2 kB / 0.5603 GB, free: 3.93 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.4313, allocations: 106.2 kB / 0.5604 GB, free: 3.82 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.525e-05/0.4314, allocations: 177.7 kB / 0.5605 GB, free: 3.641 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.4315, allocations: 180.3 kB / 0.5607 GB, free: 3.457 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.613e-05/0.4315, allocations: 185.7 kB / 0.5609 GB, free: 3.27 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.414e-05/0.4316, allocations: 185.7 kB / 0.5611 GB, free: 3.082 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.4318, allocations: 306.6 kB / 0.5613 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.4318, allocations: 103.3 kB / 0.5614 GB, free: 2.656 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.432, allocations: 189.6 kB / 0.5616 GB, free: 2.465 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4321, allocations: 103.4 kB / 0.5617 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.4321, allocations: 181.7 kB / 0.5619 GB, free: 2.176 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.4322, allocations: 101 kB / 0.562 GB, free: 2.07 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.853e-05/0.4322, allocations: 80.69 kB / 0.5621 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 3.938 kB / 0.5621 GB, free: 1.988 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002561/0.4325, allocations: 2.938 kB / 0.5621 GB, free: 1.988 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.0001504/0.4327, allocations: 173 kB / 0.5622 GB, free: 1.816 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 6.293e-05/0.4327, allocations: 13 kB / 0.5623 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4327, allocations: 1.125 kB / 0.5623 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4327, allocations: 0 / 0.5623 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.4331, allocations: 458.7 kB / 0.5627 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.4334, allocations: 153 kB / 0.5628 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4337, allocations: 0.6739 MB / 0.5635 GB, free: 496 kB / 398.1 MB
Notification: Performance of simCode: alias equations: time 2.263e-05/0.4337, allocations: 1.125 kB / 0.5635 GB, free: 496 kB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.4337, allocations: 7.438 kB / 0.5635 GB, free: 488 kB / 398.1 MB
Notification: Performance of SimCode: time 6.91e-07/0.4337, allocations: 1.062 kB / 0.5635 GB, free: 488 kB / 398.1 MB
Notification: Performance of Templates: time 0.002731/0.4365, allocations: 311.5 kB / 0.5638 GB, free: 204 kB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.411555634811521]