Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001535/0.001535, 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.001684/0.001684, 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.456/1.456, allocations: 230.3 MB / 257.9 MB, free: 8.25 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.2364/0.2364, allocations: 46.89 MB / 361.3 MB, free: 4.469 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.84 kB / 0.4971 GB, free: 7.555 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.356, allocations: 66.02 MB / 0.5616 GB, free: 4.633 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003288/0.3593, allocations: 1.753 MB / 0.5633 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001782/0.361, allocations: 1.041 MB / 0.5643 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.3611, allocations: 7.938 kB / 0.5643 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3614, allocations: 55.69 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3617, allocations: 99.59 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3619, allocations: 83.66 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3621, allocations: 95.77 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3622, allocations: 11.98 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3623, allocations: 47.67 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.3624, allocations: 39.83 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3624, allocations: 4 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.3625, allocations: 39.98 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3626, allocations: 23.91 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.3627, allocations: 43.69 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.3629, allocations: 133.9 kB / 0.565 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3629, allocations: 0 / 0.565 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.3629, allocations: 0 / 0.565 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.264e-05/0.3629, allocations: 0 / 0.565 GB, free: 1.152 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0007122/0.3636, allocations: 369.4 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3637, allocations: 8.031 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.3637, allocations: 12.89 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.3641, allocations: 155.1 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3641, allocations: 384 / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.3641, allocations: 8.375 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3643, allocations: 57.92 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3643, allocations: 3.938 kB / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3643, allocations: 11.98 kB / 0.5656 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3644, allocations: 0 / 0.5656 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.3644, allocations: 16 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3649, allocations: 263.9 kB / 0.5658 GB, free: 164 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3651, allocations: 58.62 kB / 0.5659 GB, free: 96 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.3651, allocations: 24.84 kB / 0.5659 GB, free: 68 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3652, allocations: 3.938 kB / 0.5659 GB, free: 64 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3653, allocations: 63.39 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3653, allocations: 0 / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006171/0.366, allocations: 185.5 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.366, allocations: 51.41 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3663, allocations: 243 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3663, allocations: 29.7 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3664, allocations: 112.1 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3665, allocations: 23.84 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3665, allocations: 21.72 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001589/0.3667, allocations: 330.8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3667, allocations: 20.17 kB / 0.567 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.3668, allocations: 45.64 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3669, allocations: 61.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3669, allocations: 0 / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002319/0.3672, allocations: 97.53 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3672, allocations: 8 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3672, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3672, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3673, allocations: 23.98 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3673, allocations: 4.031 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.3673, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3673, allocations: 4 kB / 0.5672 GB, free: 14.68 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 (10):
 * Single equations (assignments): 10
 * 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.0001183/0.3675, allocations: 141.4 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3675, allocations: 15.91 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3677, allocations: 119 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3677, allocations: 4 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3678, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3678, allocations: 4 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.3682, allocations: 374.5 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3682, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.3682, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3682, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3683, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3683, allocations: 7.922 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3683, allocations: 4.078 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3685, allocations: 212.4 kB / 0.568 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.3685, allocations: 11.91 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3686, allocations: 7.938 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.3686, allocations: 7.938 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3687, allocations: 7.984 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3687, allocations: 3.984 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001634/0.3689, allocations: 183.2 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3689, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002444/0.3691, allocations: 20 kB / 0.5683 GB, free: 13.48 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 (8):
 * Single equations (assignments): 6
 * 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.001626/0.3707, allocations: 464.2 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001934/0.3709, allocations: 47.98 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3709, allocations: 0 / 0.5688 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.371, allocations: 31.92 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3714, allocations: 35.3 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.3719, allocations: 267.1 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3722, allocations: 0.712 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.341e-05/0.3723, allocations: 17.27 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3723, allocations: 19.42 kB / 0.5698 GB, free: 12 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3723, allocations: 0 / 0.5698 GB, free: 12 MB / 414.1 MB
Notification: Performance of Templates: time 0.005076/0.3774, allocations: 1.787 MB / 0.5716 GB, free: 10.23 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.117883485741913]