Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008898/0.0008897, allocations: 175.9 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008467, allocations: 86.36 kB / 271.3 MB, free: 8.246 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.418/0.418, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003651, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5626, allocations: 87.72 MB / 0.5656 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5628, allocations: 71.97 kB / 0.5657 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.5769, allocations: 5.281 MB / 0.5709 GB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.577, allocations: 0.5469 kB / 0.5709 GB, free: 8.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.577, allocations: 0 / 0.5709 GB, free: 8.965 MB / 394.7 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.0004904/0.5775, allocations: 418.7 kB / 0.5713 GB, free: 8.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5775, allocations: 8.031 kB / 0.5713 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.5776, allocations: 16.84 kB / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.5778, allocations: 219.1 kB / 0.5715 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.5779, allocations: 18.48 kB / 0.5715 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5779, allocations: 384 / 0.5715 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.578, allocations: 58.23 kB / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.578, allocations: 192 / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.578, allocations: 3.938 kB / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5781, allocations: 0 / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.5781, allocations: 19.98 kB / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.5785, allocations: 288.9 kB / 0.5719 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.5787, allocations: 70.48 kB / 0.5719 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.5787, allocations: 20.84 kB / 0.5719 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.5788, allocations: 4 kB / 0.572 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.5789, allocations: 67.39 kB / 0.572 GB, free: 7.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5789, allocations: 0 / 0.572 GB, free: 7.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.5794, allocations: 178.1 kB / 0.5722 GB, free: 7.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.5795, allocations: 55.39 kB / 0.5722 GB, free: 7.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.5797, allocations: 178.2 kB / 0.5724 GB, free: 7.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5797, allocations: 33.69 kB / 0.5724 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.5797, allocations: 96.14 kB / 0.5725 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.5798, allocations: 35.62 kB / 0.5726 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.5798, allocations: 0 / 0.5726 GB, free: 7.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5799, allocations: 326.8 kB / 0.5729 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.58, allocations: 27.92 kB / 0.5729 GB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.58, allocations: 37.7 kB / 0.5729 GB, free: 6.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5802, allocations: 54.5 kB / 0.573 GB, free: 6.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5802, allocations: 4 kB / 0.573 GB, free: 6.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.5804, allocations: 105.4 kB / 0.5731 GB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.5804, allocations: 4.188 kB / 0.5731 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5804, allocations: 0 / 0.5731 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.5804, allocations: 3.938 kB / 0.5731 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.5805, allocations: 24.36 kB / 0.5731 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5805, allocations: 160 / 0.5731 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.5806, allocations: 4 kB / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5806, allocations: 4 kB / 0.5731 GB, free: 6.406 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.5807, allocations: 144.7 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.5807, allocations: 7.906 kB / 0.5733 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.581, allocations: 122.3 kB / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.581, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.581, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.581, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.5814, allocations: 419.2 kB / 0.5738 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5814, allocations: 4 kB / 0.5738 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.5815, allocations: 8 kB / 0.5738 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5815, allocations: 0 / 0.5738 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5815, allocations: 0 / 0.5738 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5815, allocations: 7.938 kB / 0.5738 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5815, allocations: 3.938 kB / 0.5738 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5818, allocations: 216.2 kB / 0.574 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.5818, allocations: 89.02 kB / 0.5741 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5819, allocations: 4 kB / 0.5741 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.582, allocations: 3.984 kB / 0.5741 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.582, allocations: 11.94 kB / 0.5741 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.582, allocations: 7.984 kB / 0.5741 GB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.5821, allocations: 140.8 kB / 0.5743 GB, free: 5.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5821, allocations: 0 / 0.5743 GB, free: 5.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.5824, allocations: 39.92 kB / 0.5743 GB, free: 5.09 MB / 394.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009784/0.5834, allocations: 482 kB / 0.5748 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.5835, allocations: 63.91 kB / 0.5748 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5836, allocations: 4.062 kB / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.5836, allocations: 35.97 kB / 0.5749 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.584, allocations: 19.98 kB / 0.5749 GB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.5844, allocations: 256.8 kB / 0.5751 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5847, allocations: 0.7043 MB / 0.5758 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.5847, allocations: 12.86 kB / 0.5758 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.5848, allocations: 19.42 kB / 0.5759 GB, free: 3.555 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5848, allocations: 0 / 0.5759 GB, free: 3.555 MB / 394.7 MB Notification: Performance of Templates: time 0.003852/0.5886, allocations: 1.7 MB / 0.5775 GB, free: 1.871 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches