Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001309/0.001309, 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.001556/0.001556, allocations: 213.7 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.441/1.441, allocations: 230.2 MB / 257.9 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.2343/0.2343, allocations: 46.89 MB / 361.3 MB, free: 4.527 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 79.88 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3604, allocations: 66.03 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003752/0.3641, allocations: 1.745 MB / 0.5633 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002093/0.3662, allocations: 1.049 MB / 0.5643 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3663, allocations: 7.938 kB / 0.5643 GB, free: 1.781 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.3667, allocations: 47.77 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00041/0.3671, allocations: 103.5 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3674, allocations: 83.66 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002275/0.3676, allocations: 99.75 kB / 0.5647 GB, free: 1.453 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3677, allocations: 4 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3679, allocations: 63.7 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.368, allocations: 31.8 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.368, allocations: 4 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3681, allocations: 43.97 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.3682, allocations: 27.86 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.3683, allocations: 43.67 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3685, allocations: 138 kB / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3686, allocations: 0 / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3686, allocations: 0 / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.772e-06/0.3686, allocations: 3.938 kB / 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.0006405/0.3692, allocations: 389.2 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3692, allocations: 11.97 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3693, allocations: 16.84 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3696, allocations: 151.3 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3696, allocations: 8.375 kB / 0.5655 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3697, allocations: 384 / 0.5655 GB, free: 496 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3698, allocations: 57.98 kB / 0.5656 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3699, allocations: 4 kB / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3699, allocations: 0 / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3699, allocations: 7.938 kB / 0.5656 GB, free: 420 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.37, allocations: 23.97 kB / 0.5656 GB, free: 396 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.3705, allocations: 275.8 kB / 0.5659 GB, free: 76 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3706, allocations: 50.69 kB / 0.5659 GB, free: 16 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.3707, allocations: 28.78 kB / 0.566 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3708, allocations: 0 / 0.566 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.3709, allocations: 63.39 kB / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3709, allocations: 0 / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.000601/0.3715, allocations: 185.3 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3716, allocations: 55.41 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.3719, allocations: 270.8 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3719, allocations: 29.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.372, allocations: 116.1 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.372, allocations: 27.78 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.3721, allocations: 25.72 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001431/0.3722, allocations: 330.8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.3723, allocations: 20 kB / 0.567 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3723, allocations: 33.7 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3724, allocations: 69.62 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3724, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.3726, allocations: 105.5 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3726, allocations: 10.19 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3727, allocations: 4.312 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3727, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3728, allocations: 15.98 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3728, allocations: 8 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.3728, allocations: 8.031 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3728, allocations: 4 kB / 0.5673 GB, free: 14.55 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.0001255/0.373, allocations: 139.3 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.373, allocations: 19.89 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3732, allocations: 119.1 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3732, allocations: 4 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3732, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3733, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.3737, allocations: 382.3 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3737, allocations: 4 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.3737, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3738, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3738, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.3738, allocations: 3.938 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3738, allocations: 4 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.374, allocations: 208.2 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.374, allocations: 19.89 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3741, allocations: 4 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.3741, allocations: 3.938 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3742, allocations: 7.984 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3742, allocations: 4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001822/0.3744, allocations: 200.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3744, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002603/0.3746, allocations: 31.92 kB / 0.5684 GB, free: 13.3 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.001657/0.3763, allocations: 447.3 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000192/0.3765, allocations: 59.91 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3765, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.3766, allocations: 27.94 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3769, allocations: 35.47 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.0005615/0.3775, allocations: 287.6 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3778, allocations: 0.7237 MB / 0.5699 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.026e-05/0.3779, allocations: 25.25 kB / 0.57 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3779, allocations: 15.44 kB / 0.57 GB, free: 11.81 MB / 414.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3779, allocations: 0 / 0.57 GB, free: 11.81 MB / 414.1 MB
Notification: Performance of Templates: time 0.00542/0.3834, allocations: 1.813 MB / 0.5717 GB, free: 10.02 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.170038710348308]