Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.001501, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 79.81 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3384, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003691/0.3421, allocations: 2.276 MB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3445, allocations: 1.318 MB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3447, allocations: 7.719 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.3452, allocations: 132.9 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.3457, allocations: 267.7 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3462, allocations: 183.5 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.3467, allocations: 464.5 kB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3469, allocations: 63.25 kB / 0.5363 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.3473, allocations: 328.8 kB / 0.5367 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3476, allocations: 172.6 kB / 0.5368 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.3476, allocations: 16.75 kB / 0.5368 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3478, allocations: 70.92 kB / 0.5369 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.348, allocations: 145.6 kB / 0.537 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.3482, allocations: 209.3 kB / 0.5372 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.3487, allocations: 483.2 kB / 0.5377 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3487, allocations: 1.25 kB / 0.5377 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3488, allocations: 0 / 0.5377 GB, free: 9.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3488, allocations: 0 / 0.5377 GB, free: 9.219 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00122/0.35, allocations: 0.8943 MB / 0.5386 GB, free: 8.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.3501, allocations: 10.62 kB / 0.5386 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3502, allocations: 71.53 kB / 0.5387 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.3508, allocations: 438 kB / 0.5391 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3508, allocations: 15.22 kB / 0.5391 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.3508, allocations: 21.22 kB / 0.5391 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.3512, allocations: 193 kB / 0.5393 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3513, allocations: 5 kB / 0.5393 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3513, allocations: 6.375 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3513, allocations: 3.156 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.3515, allocations: 93.3 kB / 0.5394 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.3525, allocations: 0.8333 MB / 0.5402 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3532, allocations: 251.8 kB / 0.5404 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3533, allocations: 82.34 kB / 0.5405 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3534, allocations: 11.14 kB / 0.5405 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.3538, allocations: 202.8 kB / 0.5407 GB, free: 6.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.3538, allocations: 0 / 0.5407 GB, free: 6.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002612/0.3564, allocations: 1.171 MB / 0.5419 GB, free: 5.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3566, allocations: 138.3 kB / 0.542 GB, free: 5.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3577, allocations: 0.9567 MB / 0.5429 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3578, allocations: 42.06 kB / 0.543 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.358, allocations: 269.9 kB / 0.5432 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3581, allocations: 142.6 kB / 0.5434 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3583, allocations: 79.77 kB / 0.5434 GB, free: 4.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3584, allocations: 325.5 kB / 0.5438 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3587, allocations: 112.2 kB / 0.5439 GB, free: 4.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.359, allocations: 190.5 kB / 0.544 GB, free: 4.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.3596, allocations: 317.3 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3596, allocations: 1.281 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007447/0.3603, allocations: 440.4 kB / 0.5448 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3604, allocations: 8.891 kB / 0.5448 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3604, allocations: 1.969 kB / 0.5448 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.429e-05/0.3605, allocations: 12.25 kB / 0.5448 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3608, allocations: 90.84 kB / 0.5449 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3608, allocations: 12.11 kB / 0.5449 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3609, allocations: 19.88 kB / 0.5449 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.361, allocations: 16 kB / 0.5449 GB, free: 3.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002642/0.3613, allocations: 251.9 kB / 0.5452 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3614, allocations: 79.05 kB / 0.5452 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.3616, allocations: 93.73 kB / 0.5453 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3616, allocations: 4 kB / 0.5453 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3616, allocations: 0 / 0.5453 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3616, allocations: 7.938 kB / 0.5453 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3634, allocations: 1.326 MB / 0.5466 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.3634, allocations: 4 kB / 0.5466 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3636, allocations: 63.91 kB / 0.5467 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3636, allocations: 4 kB / 0.5467 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.3636, allocations: 19.98 kB / 0.5467 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3637, allocations: 7.938 kB / 0.5467 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3637, allocations: 4 kB / 0.5467 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.3646, allocations: 0.8046 MB / 0.5475 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.3648, allocations: 172.2 kB / 0.5477 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.3649, allocations: 15.98 kB / 0.5477 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.3652, allocations: 19.98 kB / 0.5477 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.3653, allocations: 47.83 kB / 0.5478 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.3654, allocations: 20 kB / 0.5478 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007911/0.3662, allocations: 0.706 MB / 0.5485 GB, free: 52 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3662, allocations: 0 / 0.5485 GB, free: 52 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.3667, allocations: 87.98 kB / 0.5486 GB, free: 15.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001323/0.3681, allocations: 0.5371 MB / 0.5491 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006723/0.3688, allocations: 315.6 kB / 0.5494 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3688, allocations: 0 / 0.5494 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.3691, allocations: 167.6 kB / 0.5495 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3702, allocations: 136.9 kB / 0.5497 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3721, allocations: 1.236 MB / 0.5509 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.3727, allocations: 0.9172 MB / 0.5518 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3728, allocations: 55.42 kB / 0.5518 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3728, allocations: 0 / 0.5518 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Templates: time 0.01133/0.3841, allocations: 6.834 MB / 0.5585 GB, free: 5.898 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches