Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001907/0.001907, 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.001469/0.001469, allocations: 213.9 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.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.242 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.2687/0.2687, allocations: 46.9 MB / 361.3 MB, free: 4.465 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 87.86 kB / 0.4971 GB, free: 7.559 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3518, allocations: 66.03 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003074/0.3548, allocations: 1.743 MB / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001747/0.3566, allocations: 1.049 MB / 0.5643 GB, free: 1.801 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.3567, allocations: 3.938 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.357, allocations: 51.75 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3573, allocations: 103.5 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3575, allocations: 79.72 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3577, allocations: 103.7 kB / 0.5647 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3578, allocations: 7.984 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3579, allocations: 43.73 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.358, allocations: 39.83 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.358, allocations: 8 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3581, allocations: 39.98 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.3582, allocations: 31.78 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.3582, allocations: 43.69 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3585, allocations: 138 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3585, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.182e-06/0.3585, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.492e-06/0.3585, allocations: 0 / 0.565 GB, free: 1.125 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.0006227/0.3591, allocations: 381.2 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3592, allocations: 12.03 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.3592, allocations: 20.84 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3595, allocations: 163.2 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3595, allocations: 384 / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3596, allocations: 4.375 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3597, allocations: 57.98 kB / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3597, allocations: 0 / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3597, allocations: 7.984 kB / 0.5656 GB, free: 440 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3597, allocations: 0 / 0.5656 GB, free: 440 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.3598, allocations: 23.98 kB / 0.5656 GB, free: 416 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3602, allocations: 271.8 kB / 0.5659 GB, free: 100 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3604, allocations: 54.67 kB / 0.5659 GB, free: 36 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.3605, allocations: 16.86 kB / 0.566 GB, free: 16 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3605, allocations: 0 / 0.566 GB, free: 16 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.3607, allocations: 71.38 kB / 0.566 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3607, allocations: 4 kB / 0.566 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005703/0.3612, allocations: 177.3 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3613, allocations: 63.34 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3616, allocations: 278.7 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3616, allocations: 25.7 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3617, allocations: 120.1 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3617, allocations: 23.8 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3618, allocations: 25.7 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001799/0.362, allocations: 330.8 kB / 0.567 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.362, allocations: 23.98 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.3621, allocations: 33.7 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3622, allocations: 53.72 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3622, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.3624, allocations: 113.5 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3625, allocations: 14.12 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3625, allocations: 0 / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3625, allocations: 0 / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.3626, allocations: 23.92 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3626, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.3626, allocations: 384 / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3626, allocations: 12.02 kB / 0.5673 GB, free: 14.56 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.0001268/0.3628, allocations: 137.8 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3628, allocations: 15.91 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3631, allocations: 119 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3631, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3631, allocations: 4 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3631, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3636, allocations: 382.6 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3636, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.3636, allocations: 11.98 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3636, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3636, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3636, allocations: 4.016 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3636, allocations: 7.984 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3639, allocations: 204.3 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.3639, allocations: 11.91 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3639, allocations: 8 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.364, allocations: 7.922 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.364, allocations: 8.125 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3641, allocations: 7.984 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001878/0.3642, allocations: 204.5 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002712/0.3645, allocations: 27.94 kB / 0.5684 GB, free: 13.32 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.00177/0.3663, allocations: 449.2 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002026/0.3665, allocations: 55.91 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3665, allocations: 8 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3666, allocations: 27.98 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3669, allocations: 31.47 kB / 0.569 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3675, allocations: 295.6 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3679, allocations: 0.7236 MB / 0.5699 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.511e-05/0.3679, allocations: 17.27 kB / 0.57 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.368, allocations: 15.44 kB / 0.57 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.368, allocations: 0 / 0.57 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of Templates: time 0.005295/0.3733, allocations: 1.799 MB / 0.5717 GB, free: 10.04 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.46268376801163]