Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001365/0.001365, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001638/0.001638, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.517/1.517, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.224/0.224, allocations: 46.93 MB / 361.4 MB, free: 4.414 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 83.86 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4273, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003584/0.4309, allocations: 1.699 MB / 0.5633 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001233/0.4322, allocations: 0.5654 MB / 0.5639 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.4322, allocations: 0 / 0.5639 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000675/0.4329, allocations: 467.1 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.4334, allocations: 295.3 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.4338, allocations: 123.2 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002728/0.4341, allocations: 183.6 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4342, allocations: 14.81 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.4343, allocations: 115.7 kB / 0.565 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.4346, allocations: 247.5 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4346, allocations: 4 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.4348, allocations: 51.97 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.4349, allocations: 87.62 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.118e-05/0.435, allocations: 103 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.4353, allocations: 278.3 kB / 0.5658 GB, free: 328 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4354, allocations: 0 / 0.5658 GB, free: 328 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.964e-06/0.4354, allocations: 0 / 0.5658 GB, free: 328 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.755e-06/0.4354, allocations: 0 / 0.5658 GB, free: 328 kB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0007996/0.4362, allocations: 0.5815 MB / 0.5663 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4362, allocations: 12.03 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.4363, allocations: 40.66 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.4366, allocations: 250.7 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4366, allocations: 4.375 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4366, allocations: 4.375 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4368, allocations: 58.23 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4368, allocations: 4.188 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4368, allocations: 7.875 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4368, allocations: 7.984 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4369, allocations: 31.91 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.4375, allocations: 363.8 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4376, allocations: 50.69 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.4377, allocations: 16.84 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4377, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4377, allocations: 34.56 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4377, allocations: 0 / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.001096/0.4388, allocations: 324.5 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.4389, allocations: 59.34 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.4398, allocations: 0.8575 MB / 0.5684 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.4399, allocations: 29.7 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.4401, allocations: 224.1 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.4401, allocations: 27.75 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.4402, allocations: 25.7 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002383/0.4404, allocations: 362.7 kB / 0.569 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.4405, allocations: 27.97 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.4406, allocations: 27.92 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4407, allocations: 64.81 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4407, allocations: 4 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002881/0.441, allocations: 129.4 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4411, allocations: 8 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4411, allocations: 0 / 0.5693 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4411, allocations: 0 / 0.5693 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4412, allocations: 19.92 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4412, allocations: 0 / 0.5693 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.4413, allocations: 11.92 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4413, allocations: 4 kB / 0.5693 GB, free: 12.5 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 (8):
 * Single equations (assignments): 8
 * 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.0002449/0.4415, allocations: 213.8 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.4416, allocations: 47.67 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.442, allocations: 161.4 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.442, allocations: 4 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.442, allocations: 0 / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.442, allocations: 3.938 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.4427, allocations: 482.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4427, allocations: 3.938 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.4428, allocations: 15.98 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.4428, allocations: 7.938 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4428, allocations: 4 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4428, allocations: 0 / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4428, allocations: 4 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.4431, allocations: 244.5 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.4432, allocations: 39.66 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.4432, allocations: 7.922 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.4433, allocations: 8 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.4433, allocations: 12.41 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4433, allocations: 4 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0006765/0.444, allocations: 0.655 MB / 0.5712 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.444, allocations: 0 / 0.5712 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002828/0.4443, allocations: 23.98 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (8):
 * Single equations (assignments): 8
 * 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.001753/0.4461, allocations: 460.4 kB / 0.5716 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002478/0.4463, allocations: 67.89 kB / 0.5717 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4463, allocations: 0 / 0.5717 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.4464, allocations: 31.97 kB / 0.5717 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.4468, allocations: 30.23 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4481, allocations: 0.8346 MB / 0.5726 GB, free: 9.207 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.4486, allocations: 0.8337 MB / 0.5734 GB, free: 8.344 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.585e-05/0.4487, allocations: 20.72 kB / 0.5734 GB, free: 8.324 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4487, allocations: 15.44 kB / 0.5734 GB, free: 8.309 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4487, allocations: 0 / 0.5734 GB, free: 8.309 MB / 414.1 MB
Notification: Performance of Templates: time 0.005993/0.4547, allocations: 1.76 MB / 0.5751 GB, free: 6.555 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.462813409045339]