Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001753/0.001753, 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.002015/0.002015, 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.418/1.418, allocations: 230.3 MB / 258 MB, free: 8.219 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.2334/0.2334, allocations: 46.9 MB / 361.3 MB, free: 4.523 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 83.86 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3593, allocations: 66.03 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00328/0.3626, allocations: 1.745 MB / 0.5633 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001764/0.3644, allocations: 1.049 MB / 0.5643 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.3644, allocations: 0 / 0.5643 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3647, allocations: 35.78 kB / 0.5644 GB, free: 1.73 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000302/0.365, allocations: 99.55 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3652, allocations: 83.66 kB / 0.5645 GB, free: 1.551 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3654, allocations: 103.7 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.3655, allocations: 4 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3656, allocations: 55.7 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.3657, allocations: 27.86 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3657, allocations: 4 kB / 0.5647 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.954e-05/0.3658, allocations: 39.98 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.3658, allocations: 27.84 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.3659, allocations: 31.75 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3661, allocations: 122 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3661, allocations: 0 / 0.5649 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of FrontEnd: time 6.21e-07/0.3661, allocations: 0 / 0.5649 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.252e-06/0.3661, allocations: 0 / 0.5649 GB, free: 1.148 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.0005816/0.3667, allocations: 333.7 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3667, allocations: 8.031 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.3668, allocations: 12.89 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3671, allocations: 150.3 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3671, allocations: 12.38 kB / 0.5654 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3671, allocations: 384 / 0.5654 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3673, allocations: 57.98 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3673, allocations: 0 / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3673, allocations: 4 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3673, allocations: 3.984 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3674, allocations: 15.98 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3678, allocations: 263.9 kB / 0.5658 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3679, allocations: 62.61 kB / 0.5658 GB, free: 136 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.368, allocations: 20.84 kB / 0.5658 GB, free: 112 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.368, allocations: 0 / 0.5658 GB, free: 112 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.3682, allocations: 67.39 kB / 0.5659 GB, free: 32 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3682, allocations: 3.938 kB / 0.5659 GB, free: 28 kB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005628/0.3687, allocations: 169.4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3688, allocations: 55.39 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.369, allocations: 171.3 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.369, allocations: 29.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.3691, allocations: 104.1 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3691, allocations: 27.78 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3691, allocations: 29.64 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001422/0.3693, allocations: 326.7 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.3693, allocations: 23.98 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3694, allocations: 37.7 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.3695, allocations: 53.7 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3695, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.3697, allocations: 101.5 kB / 0.567 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3697, allocations: 12.03 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3697, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3697, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3698, allocations: 19.98 kB / 0.567 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3698, allocations: 3.938 kB / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.3699, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3699, allocations: 8.375 kB / 0.567 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.0001055/0.37, allocations: 128 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.37, allocations: 7.953 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3703, allocations: 126.5 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3703, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3703, allocations: 4 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3703, allocations: 4 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3707, allocations: 354.4 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3707, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.3707, allocations: 15.94 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3707, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3708, allocations: 12.02 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3708, allocations: 3.938 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3708, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.371, allocations: 200.3 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.371, allocations: 15.91 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.371, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.3711, allocations: 11.94 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.3711, allocations: 7.984 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3712, allocations: 7.938 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001134/0.3713, allocations: 131.2 kB / 0.568 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3713, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002674/0.3715, allocations: 23.94 kB / 0.568 GB, free: 13.68 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.001669/0.3732, allocations: 450.3 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001844/0.3734, allocations: 55.91 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3734, allocations: 0 / 0.5685 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.3735, allocations: 23.98 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3738, allocations: 35.31 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.3743, allocations: 223.1 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3746, allocations: 0.7002 MB / 0.5695 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.141e-05/0.3747, allocations: 20.94 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.3747, allocations: 19.44 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of SimCode: time 2.7e-07/0.3747, allocations: 0 / 0.5695 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of Templates: time 0.004948/0.3796, allocations: 1.765 MB / 0.5712 GB, free: 10.53 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.042903503403068]