Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.00158/0.00158, 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.001772/0.001772, 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.478/1.478, allocations: 230.3 MB / 258 MB, free: 8.23 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.2314/0.2314, allocations: 46.88 MB / 361.3 MB, free: 4.449 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 79.88 kB / 0.4971 GB, free: 7.543 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3742, allocations: 66.03 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003295/0.3775, allocations: 1.702 MB / 0.5633 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001804/0.3793, allocations: 1.025 MB / 0.5643 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.3794, allocations: 0 / 0.5643 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.3798, allocations: 87.7 kB / 0.5643 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3801, allocations: 115.6 kB / 0.5644 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3803, allocations: 75.66 kB / 0.5645 GB, free: 1.578 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3804, allocations: 111.7 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.3805, allocations: 4.234 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3806, allocations: 63.69 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3807, allocations: 59.75 kB / 0.5647 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3807, allocations: 0 / 0.5647 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.3808, allocations: 47.92 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.3809, allocations: 19.92 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.3809, allocations: 31.75 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3812, allocations: 114 kB / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3812, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.383e-06/0.3812, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.771e-06/0.3812, allocations: 0 / 0.565 GB, free: 1.141 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0005426/0.3817, allocations: 353.5 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3818, allocations: 8.031 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3818, allocations: 12.84 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3821, allocations: 158.8 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3821, allocations: 8.375 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.3821, allocations: 384 / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3823, allocations: 61.92 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3823, allocations: 0 / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3823, allocations: 0 / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3823, allocations: 0 / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.3824, allocations: 15.98 kB / 0.5655 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3826, allocations: 156.8 kB / 0.5657 GB, free: 288 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3828, allocations: 50.61 kB / 0.5657 GB, free: 228 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3828, allocations: 12.86 kB / 0.5658 GB, free: 212 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3828, allocations: 4 kB / 0.5658 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.383, allocations: 71.27 kB / 0.5658 GB, free: 124 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.383, allocations: 4 kB / 0.5658 GB, free: 120 kB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0003031/0.3833, allocations: 101.6 kB / 0.5659 GB, free: 12 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.3834, allocations: 51.41 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3836, allocations: 211.6 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3836, allocations: 25.7 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3837, allocations: 108.1 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3837, allocations: 11.94 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3838, allocations: 25.7 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001486/0.3839, allocations: 326.8 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.384, allocations: 19.88 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.384, allocations: 29.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.3841, allocations: 41.7 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3841, allocations: 4 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.3843, allocations: 89.47 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3843, allocations: 6.188 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3843, allocations: 4 kB / 0.5668 GB, free: 15 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3843, allocations: 0 / 0.5668 GB, free: 15 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.3844, allocations: 11.98 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3844, allocations: 0 / 0.5668 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.3844, allocations: 11.88 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3844, allocations: 320 / 0.5669 GB, free: 14.98 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 (7):
 * Single equations (assignments): 7
 * 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.0001236/0.3846, allocations: 140.6 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3846, allocations: 23.88 kB / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3848, allocations: 90.77 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3848, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3848, allocations: 3.984 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3848, allocations: 3.984 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.385, allocations: 156.7 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.385, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.385, allocations: 7.938 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.385, allocations: 0 / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.385, allocations: 3.984 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.385, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.385, allocations: 0 / 0.5673 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3852, allocations: 117 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.3852, allocations: 19.84 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3853, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.3853, allocations: 4 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3853, allocations: 7.984 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3854, allocations: 4 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001504/0.3855, allocations: 169.1 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3855, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002196/0.3857, allocations: 23.92 kB / 0.5676 GB, free: 14.14 MB / 414.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: 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 (5):
 * Single equations (assignments): 3
 * 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.001495/0.3872, allocations: 406.2 kB / 0.568 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001692/0.3874, allocations: 39.92 kB / 0.568 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3874, allocations: 0 / 0.568 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.3874, allocations: 16.06 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3877, allocations: 39.22 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.3882, allocations: 218.5 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3886, allocations: 0.7079 MB / 0.569 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.718e-05/0.3886, allocations: 20.41 kB / 0.569 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3887, allocations: 19.44 kB / 0.569 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3887, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of Templates: time 0.004751/0.3934, allocations: 1.524 MB / 0.5705 GB, free: 11.25 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.1365573592484]