Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001316/0.001316, allocations: 105.1 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.001624/0.001624, 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.427/1.427, allocations: 230.3 MB / 258 MB, free: 8.258 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.2367/0.2367, allocations: 46.88 MB / 361.3 MB, free: 4.469 MB / 286.1 MB
"
[Timeout remaining time 179]
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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 75.88 kB / 0.4971 GB, free: 7.551 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.361, allocations: 66.03 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003739/0.3648, allocations: 1.755 MB / 0.5633 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002172/0.3669, allocations: 1.037 MB / 0.5643 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.367, allocations: 7.938 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.3674, allocations: 63.67 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.3678, allocations: 103.5 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.368, allocations: 79.66 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002607/0.3683, allocations: 95.77 kB / 0.5647 GB, free: 1.453 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3684, allocations: 11.98 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3685, allocations: 51.67 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.3686, allocations: 39.83 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3687, allocations: 0 / 0.5648 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3688, allocations: 36 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.3689, allocations: 39.83 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.3689, allocations: 39.69 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3692, allocations: 141.9 kB / 0.565 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3692, allocations: 0 / 0.565 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.134e-06/0.3692, allocations: 0 / 0.565 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.2e-05/0.3693, allocations: 0 / 0.565 GB, free: 1.105 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.0007162/0.37, allocations: 389.2 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.37, allocations: 8.031 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.3701, allocations: 16.84 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.3704, allocations: 155.3 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3704, allocations: 4.375 kB / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3705, allocations: 384 / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3706, allocations: 61.92 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3707, allocations: 0 / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3707, allocations: 4 kB / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3707, allocations: 4 kB / 0.5656 GB, free: 424 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.3707, allocations: 15.98 kB / 0.5656 GB, free: 408 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.3712, allocations: 275.8 kB / 0.5659 GB, free: 88 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3714, allocations: 62.61 kB / 0.566 GB, free: 16 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.3715, allocations: 16.91 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3715, allocations: 4 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3717, allocations: 67.34 kB / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3717, allocations: 0 / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007254/0.3724, allocations: 185.3 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.3725, allocations: 55.41 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3728, allocations: 274.8 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3728, allocations: 29.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3729, allocations: 120.1 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.373, allocations: 19.8 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.373, allocations: 29.7 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001871/0.3732, allocations: 330.8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.3733, allocations: 19.98 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.3734, allocations: 41.58 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3735, allocations: 57.72 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3735, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3737, allocations: 113.5 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3737, allocations: 8 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3737, allocations: 3.938 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3737, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.3738, allocations: 15.98 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3738, allocations: 7.984 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.3739, allocations: 8.031 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3739, allocations: 4 kB / 0.5673 GB, free: 14.54 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.000139/0.374, allocations: 143 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3741, allocations: 11.91 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3743, allocations: 119.2 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3743, allocations: 4 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3743, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3743, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.3748, allocations: 382.3 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3748, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.3749, allocations: 8 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3749, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3749, allocations: 3.984 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3749, allocations: 3.938 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3749, allocations: 3.938 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3751, allocations: 208.3 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3752, allocations: 11.91 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3752, allocations: 384 / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.3753, allocations: 7.938 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3753, allocations: 11.98 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3754, allocations: 8 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.00019/0.3755, allocations: 200.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3755, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002917/0.3758, allocations: 27.94 kB / 0.5684 GB, free: 13.31 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.001681/0.3775, allocations: 460.7 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001874/0.3777, allocations: 59.97 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3777, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.3778, allocations: 27.92 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3781, allocations: 23.98 kB / 0.569 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.3787, allocations: 287.9 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3792, allocations: 0.7276 MB / 0.5699 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.036e-05/0.3793, allocations: 12.97 kB / 0.57 GB, free: 11.83 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.3793, allocations: 23.36 kB / 0.57 GB, free: 11.81 MB / 414.1 MB
Notification: Performance of SimCode: time 2.7e-07/0.3793, allocations: 0 / 0.57 GB, free: 11.81 MB / 414.1 MB
Notification: Performance of Templates: time 0.005108/0.3844, allocations: 1.805 MB / 0.5717 GB, free: 10.02 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.109366411343217]