Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 78.62 kB / 261.7 MB, free: 1.629 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.791e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5638, allocations: 87.06 MB / 0.551 GB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.564, allocations: 81.39 kB / 0.551 GB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.5807, allocations: 7.606 MB / 0.5585 GB, free: 1.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5807, allocations: 7.938 kB / 0.5585 GB, free: 1.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5807, allocations: 0 / 0.5585 GB, free: 1.816 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004956/0.5812, allocations: 494.7 kB / 0.5589 GB, free: 1.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5813, allocations: 8.031 kB / 0.559 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.5814, allocations: 35.61 kB / 0.559 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.5817, allocations: 292 kB / 0.5593 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5818, allocations: 4 kB / 0.5593 GB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5818, allocations: 4 kB / 0.5593 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.5819, allocations: 34.3 kB / 0.5593 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.582, allocations: 101.2 kB / 0.5594 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5821, allocations: 0 / 0.5594 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5821, allocations: 0 / 0.5594 GB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5821, allocations: 7.953 kB / 0.5594 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.5825, allocations: 435.3 kB / 0.5598 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5827, allocations: 106.2 kB / 0.5599 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.5827, allocations: 35.72 kB / 0.56 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5828, allocations: 3.984 kB / 0.56 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.5829, allocations: 110.7 kB / 0.5601 GB, free: 156 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.5829, allocations: 0 / 0.5601 GB, free: 156 kB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006404/0.5836, allocations: 324.3 kB / 0.5604 GB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5836, allocations: 77.11 kB / 0.5605 GB, free: 15.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.584, allocations: 371.6 kB / 0.5608 GB, free: 15.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.584, allocations: 25.7 kB / 0.5608 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.5841, allocations: 152.3 kB / 0.561 GB, free: 15.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.5842, allocations: 53.86 kB / 0.561 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5842, allocations: 0 / 0.561 GB, free: 15.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5843, allocations: 344 kB / 0.5614 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.5844, allocations: 34.12 kB / 0.5614 GB, free: 14.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.5845, allocations: 65.05 kB / 0.5615 GB, free: 14.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.5846, allocations: 39.2 kB / 0.5615 GB, free: 14.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5846, allocations: 4 kB / 0.5615 GB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000229/0.5848, allocations: 171.9 kB / 0.5617 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5848, allocations: 4 kB / 0.5617 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5848, allocations: 7.984 kB / 0.5617 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5849, allocations: 0 / 0.5617 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.585, allocations: 35.36 kB / 0.5617 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.585, allocations: 3.938 kB / 0.5617 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.5851, allocations: 4 kB / 0.5617 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.5851, allocations: 11.94 kB / 0.5617 GB, free: 14.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.2e-05/0.5852, allocations: 120.3 kB / 0.5618 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.5853, allocations: 27.67 kB / 0.5619 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.5856, allocations: 199.2 kB / 0.5621 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5856, allocations: 0 / 0.5621 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.5856, allocations: 4 kB / 0.5621 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5856, allocations: 3.984 kB / 0.5621 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.5863, allocations: 0.6354 MB / 0.5627 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5863, allocations: 0 / 0.5627 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.5864, allocations: 20.36 kB / 0.5627 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5864, allocations: 4 kB / 0.5627 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.5864, allocations: 7.938 kB / 0.5627 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5864, allocations: 7.984 kB / 0.5627 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5864, allocations: 0 / 0.5627 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.5868, allocations: 405.7 kB / 0.5631 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5869, allocations: 126.6 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.5869, allocations: 4 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.5871, allocations: 8 kB / 0.5632 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.5871, allocations: 23.42 kB / 0.5633 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5871, allocations: 4 kB / 0.5633 GB, free: 13.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.5874, allocations: 300.4 kB / 0.5636 GB, free: 12.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5874, allocations: 0 / 0.5636 GB, free: 12.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.5878, allocations: 51.5 kB / 0.5636 GB, free: 12.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008881/0.5887, allocations: 412 kB / 0.564 GB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.5889, allocations: 103.6 kB / 0.5641 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5889, allocations: 0 / 0.5641 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.589, allocations: 53.38 kB / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.5894, allocations: 52.28 kB / 0.5642 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.59, allocations: 401.7 kB / 0.5646 GB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5904, allocations: 0.7741 MB / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.399e-05/0.5905, allocations: 41.77 kB / 0.5654 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.5905, allocations: 29.94 kB / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5906, allocations: 4 kB / 0.5654 GB, free: 11.11 MB / 378.7 MB Notification: Performance of Templates: time 0.005536/0.5961, allocations: 2.768 MB / 0.5681 GB, free: 8.367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches