Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001343/0.001343, 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.001574/0.001574, allocations: 213.2 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.448/1.448, allocations: 230.3 MB / 258 MB, free: 8.227 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.2259/0.2259, allocations: 46.89 MB / 361.3 MB, free: 4.43 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.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3627, allocations: 66.03 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00418/0.3669, allocations: 1.749 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002898/0.3698, allocations: 1.738 MB / 0.565 GB, free: 1.09 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.3699, allocations: 3.938 kB / 0.565 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.3702, allocations: 39.77 kB / 0.565 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.3706, allocations: 103.5 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3708, allocations: 79.72 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002032/0.371, allocations: 115.7 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3711, allocations: 7.938 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.3712, allocations: 55.77 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3713, allocations: 43.83 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.3714, allocations: 4 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3716, allocations: 115.9 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.3716, allocations: 23.92 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.3717, allocations: 35.75 kB / 0.5656 GB, free: 484 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.372, allocations: 185.8 kB / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.372, allocations: 4 kB / 0.5658 GB, free: 300 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.372, allocations: 0 / 0.5658 GB, free: 300 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.641e-06/0.372, allocations: 4 kB / 0.5658 GB, free: 296 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0007207/0.3728, allocations: 357.4 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3728, allocations: 16.02 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.3729, allocations: 8.891 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3732, allocations: 146.4 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3732, allocations: 12.36 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3732, allocations: 4.312 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3735, allocations: 83.69 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3735, allocations: 3.953 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3735, allocations: 0 / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3735, allocations: 0 / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3736, allocations: 31.97 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.374, allocations: 267.9 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.3743, allocations: 74.61 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.3743, allocations: 28.78 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3744, allocations: 0 / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3745, allocations: 67.39 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3745, allocations: 0 / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0006436/0.3752, allocations: 209.3 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.3752, allocations: 77.11 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3755, allocations: 179.3 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3755, allocations: 29.8 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.3756, allocations: 96.08 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.3756, allocations: 35.73 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.3757, allocations: 25.7 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001634/0.3758, allocations: 326.8 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.3759, allocations: 24 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.376, allocations: 50.55 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3761, allocations: 69.66 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3761, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.3764, allocations: 113.5 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3764, allocations: 8 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3764, allocations: 4.062 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3764, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3765, allocations: 19.98 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3765, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.3766, allocations: 8 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3766, allocations: 4 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * 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.0001214/0.3767, allocations: 128.1 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.3767, allocations: 11.95 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.3771, allocations: 134.8 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3771, allocations: 0 / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3771, allocations: 4.125 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3771, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.3776, allocations: 402.2 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3776, allocations: 0 / 0.5687 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.3777, allocations: 15.98 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3777, allocations: 0 / 0.5687 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3777, allocations: 4.031 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3777, allocations: 7.938 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3777, allocations: 0 / 0.5687 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.378, allocations: 216.3 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.378, allocations: 15.89 kB / 0.569 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.378, allocations: 0 / 0.569 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3781, allocations: 11.94 kB / 0.569 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3782, allocations: 15.98 kB / 0.569 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3782, allocations: 4 kB / 0.569 GB, free: 12.7 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001331/0.3783, allocations: 127.2 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3783, allocations: 0 / 0.5691 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003247/0.3786, allocations: 47.88 kB / 0.5692 GB, free: 12.53 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.00202/0.3807, allocations: 0.5376 MB / 0.5697 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002284/0.3809, allocations: 67.89 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3809, allocations: 0 / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.381, allocations: 36.16 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3813, allocations: 39.47 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.3819, allocations: 219.3 kB / 0.57 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3822, allocations: 0.7002 MB / 0.5707 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.052e-05/0.3823, allocations: 28.42 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.3823, allocations: 23.42 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3823, allocations: 4 kB / 0.5708 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of Templates: time 0.006259/0.3886, allocations: 2.482 MB / 0.5732 GB, free: 8.547 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.107231235131621]