Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001518/0.001518, allocations: 109 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.001752/0.001752, allocations: 213.6 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.521/1.521, allocations: 230.3 MB / 258 MB, free: 8.207 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.2389/0.2389, allocations: 46.94 MB / 361.4 MB, free: 4.41 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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") [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.003443/0.003443, allocations: 75.88 kB / 0.4972 GB, free: 7.457 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4264, allocations: 66.04 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003383/0.4298, allocations: 1.947 MB / 0.5636 GB, free: 2.543 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00203/0.4319, allocations: 1.15 MB / 0.5648 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.432, allocations: 7.938 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.4324, allocations: 219.4 kB / 0.565 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.4329, allocations: 215.2 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.4332, allocations: 127.5 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003541/0.4336, allocations: 251.3 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4337, allocations: 29.59 kB / 0.5656 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.4339, allocations: 127.5 kB / 0.5657 GB, free: 440 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.4342, allocations: 171.4 kB / 0.5658 GB, free: 268 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.4342, allocations: 12 kB / 0.5659 GB, free: 256 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.4343, allocations: 63.97 kB / 0.5659 GB, free: 192 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.4344, allocations: 63.7 kB / 0.566 GB, free: 128 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.4345, allocations: 95.28 kB / 0.5661 GB, free: 32 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.4349, allocations: 237.8 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4349, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.142e-06/0.4349, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 5.661e-06/0.4349, allocations: 0 / 0.5663 GB, free: 15.8 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007913/0.4357, allocations: 0.508 MB / 0.5668 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4357, allocations: 8.031 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.4358, allocations: 28.75 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.4362, allocations: 238.5 kB / 0.5671 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4362, allocations: 384 / 0.5671 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.4363, allocations: 16.31 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4365, allocations: 107.7 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4366, allocations: 4 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.4366, allocations: 4 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4366, allocations: 4 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.4367, allocations: 39.97 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.4373, allocations: 451.8 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.4378, allocations: 121.2 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4379, allocations: 41.81 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4379, allocations: 4 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.4382, allocations: 125 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4382, allocations: 3.938 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001417/0.4396, allocations: 0.5015 MB / 0.5684 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.4396, allocations: 81.11 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.4402, allocations: 452.5 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.4402, allocations: 29.7 kB / 0.569 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4403, allocations: 156.5 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.4404, allocations: 79.41 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.4405, allocations: 41.7 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001883/0.4407, allocations: 346.8 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4408, allocations: 51.98 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.441, allocations: 104.2 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.4413, allocations: 163.4 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4413, allocations: 0 / 0.5699 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004664/0.4418, allocations: 229.3 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4418, allocations: 14.09 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4418, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4418, allocations: 11.92 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.442, allocations: 39.92 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.442, allocations: 4 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.4421, allocations: 15.94 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4421, allocations: 4 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * 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.000185/0.4423, allocations: 174.3 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.4423, allocations: 31.81 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.4429, allocations: 272.4 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4429, allocations: 0 / 0.5706 GB, free: 11.1 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4429, allocations: 4 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4429, allocations: 3.984 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4439, allocations: 0.699 MB / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4439, allocations: 0 / 0.5713 GB, free: 10.33 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.444, allocations: 31.92 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.444, allocations: 4.188 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.4441, allocations: 12 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4441, allocations: 3.938 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4441, allocations: 4 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.4446, allocations: 433.4 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.4447, allocations: 31.77 kB / 0.5718 GB, free: 9.797 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.4447, allocations: 7.984 kB / 0.5718 GB, free: 9.789 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4449, allocations: 8 kB / 0.5718 GB, free: 9.781 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.4449, allocations: 27.91 kB / 0.5719 GB, free: 9.754 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4449, allocations: 8 kB / 0.5719 GB, free: 9.746 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003923/0.4453, allocations: 342.9 kB / 0.5722 GB, free: 9.41 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4453, allocations: 0 / 0.5722 GB, free: 9.41 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003679/0.4457, allocations: 47.92 kB / 0.5722 GB, free: 9.363 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001985/0.4477, allocations: 0.4989 MB / 0.5727 GB, free: 9.043 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004355/0.4481, allocations: 147.8 kB / 0.5729 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4481, allocations: 0 / 0.5729 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.4483, allocations: 83.72 kB / 0.5729 GB, free: 8.816 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.4489, allocations: 69 kB / 0.573 GB, free: 8.75 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4499, allocations: 0.5552 MB / 0.5736 GB, free: 8.156 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.4504, allocations: 0.7753 MB / 0.5743 GB, free: 7.352 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001157/0.4505, allocations: 41.92 kB / 0.5744 GB, free: 7.309 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.4506, allocations: 27.44 kB / 0.5744 GB, free: 7.281 MB / 414.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.4506, allocations: 0 / 0.5744 GB, free: 7.281 MB / 414.1 MB
Notification: Performance of Templates: time 0.00848/0.4591, allocations: 3.279 MB / 0.5776 GB, free: 4.02 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.531869935803115]