Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001351/0.001351, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.001582/0.001582, allocations: 214.8 kB / 24.54 MB, free: 3.922 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.434/1.434, allocations: 230.3 MB / 258 MB, free: 8.234 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.2212/0.2212, allocations: 46.89 MB / 361.3 MB, free: 4.434 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 80.14 kB / 0.4971 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3498, allocations: 66.04 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003283/0.3531, allocations: 1.737 MB / 0.5633 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001857/0.355, allocations: 1.056 MB / 0.5643 GB, free: 1.785 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.355, allocations: 0 / 0.5643 GB, free: 1.785 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.3554, allocations: 43.77 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3557, allocations: 87.59 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3559, allocations: 83.66 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3561, allocations: 107.6 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3562, allocations: 7.984 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3563, allocations: 43.8 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.3564, allocations: 35.84 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3565, allocations: 4 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3566, allocations: 39.98 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.3566, allocations: 23.91 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3567, allocations: 43.67 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.3569, allocations: 117.9 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3569, allocations: 0 / 0.5649 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.3569, allocations: 3.938 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.68e-06/0.3569, allocations: 0 / 0.5649 GB, free: 1.16 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.000526/0.3574, allocations: 345.6 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3575, allocations: 12.03 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3575, allocations: 12.84 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3578, allocations: 151.7 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3578, allocations: 384 / 0.5654 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3578, allocations: 8.312 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3579, allocations: 61.97 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.358, allocations: 0 / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.358, allocations: 0 / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.358, allocations: 4 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.358, allocations: 19.98 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3584, allocations: 252 kB / 0.5658 GB, free: 216 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3586, allocations: 62.61 kB / 0.5658 GB, free: 144 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.3586, allocations: 16.86 kB / 0.5659 GB, free: 124 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3586, allocations: 7.984 kB / 0.5659 GB, free: 116 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3588, allocations: 63.39 kB / 0.5659 GB, free: 40 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3588, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005573/0.3594, allocations: 177.4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3594, allocations: 55.39 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3596, allocations: 179.3 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3596, allocations: 29.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3597, allocations: 104.1 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3597, allocations: 23.77 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.3598, allocations: 29.7 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001605/0.3599, allocations: 322.8 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.36, allocations: 27.92 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.3601, allocations: 37.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3602, allocations: 53.72 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3602, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.3604, allocations: 105.5 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3604, allocations: 8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3604, allocations: 4.312 kB / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3604, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.3605, allocations: 16 kB / 0.567 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3605, allocations: 8.172 kB / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.3605, allocations: 4.031 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3606, allocations: 7.938 kB / 0.5671 GB, free: 14.8 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.0001085/0.3607, allocations: 129.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3607, allocations: 7.953 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3609, allocations: 123.1 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3609, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3609, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.361, allocations: 3.984 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.3614, allocations: 370.3 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3614, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.3615, allocations: 15.94 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3615, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3615, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3615, allocations: 7.938 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3615, allocations: 0 / 0.5677 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3617, allocations: 204.4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3617, allocations: 15.89 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3618, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3618, allocations: 7.938 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3619, allocations: 3.984 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3619, allocations: 8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001278/0.362, allocations: 140.9 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000256/0.3623, allocations: 23.94 kB / 0.5681 GB, free: 13.66 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.001647/0.3639, allocations: 445.4 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001961/0.3641, allocations: 59.91 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3641, allocations: 4 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3642, allocations: 23.98 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3646, allocations: 38.45 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.365, allocations: 219.3 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3653, allocations: 0.7119 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.957e-05/0.3654, allocations: 20.95 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3654, allocations: 15.44 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.3654, allocations: 0 / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of Templates: time 0.004822/0.3702, allocations: 1.778 MB / 0.5713 GB, free: 10.48 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.010982474312186]