Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 186.1 kB / 17.41 MB, free: 4.285 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.245/1.245, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008043/0.0008043, allocations: 82.42 kB / 271.9 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.3014/0.3014, allocations: 43.55 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 16 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.09924, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.3546, allocations: 87.73 MB / 0.5656 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.3549, allocations: 71.95 kB / 0.5657 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.3685, allocations: 5.282 MB / 0.5708 GB, free: 9.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3685, allocations: 0 / 0.5708 GB, free: 9.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3685, allocations: 0.6562 kB / 0.5708 GB, free: 9.363 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.0004322/0.369, allocations: 422 kB / 0.5712 GB, free: 8.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.369, allocations: 12.03 kB / 0.5712 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.369, allocations: 10.72 kB / 0.5713 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3693, allocations: 215.1 kB / 0.5715 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3693, allocations: 384 / 0.5715 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3694, allocations: 12.31 kB / 0.5715 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3695, allocations: 54.23 kB / 0.5715 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3695, allocations: 192 / 0.5715 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3695, allocations: 3.938 kB / 0.5715 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3695, allocations: 11.92 kB / 0.5715 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.3696, allocations: 19.98 kB / 0.5716 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3699, allocations: 288.9 kB / 0.5718 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3701, allocations: 74.53 kB / 0.5719 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.3702, allocations: 20.84 kB / 0.5719 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3702, allocations: 0 / 0.5719 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.3703, allocations: 75.38 kB / 0.572 GB, free: 8.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3703, allocations: 0 / 0.572 GB, free: 8.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.3708, allocations: 173.2 kB / 0.5722 GB, free: 7.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3709, allocations: 55.41 kB / 0.5722 GB, free: 7.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3711, allocations: 182.2 kB / 0.5724 GB, free: 7.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3711, allocations: 29.7 kB / 0.5724 GB, free: 7.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3711, allocations: 104.1 kB / 0.5725 GB, free: 7.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3712, allocations: 25.91 kB / 0.5725 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.3712, allocations: 0 / 0.5725 GB, free: 7.414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3713, allocations: 326.8 kB / 0.5729 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.3714, allocations: 27.92 kB / 0.5729 GB, free: 7.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.3714, allocations: 33.7 kB / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3715, allocations: 65.7 kB / 0.573 GB, free: 6.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3716, allocations: 0 / 0.573 GB, free: 6.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.3717, allocations: 105.4 kB / 0.5731 GB, free: 6.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3718, allocations: 8 kB / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3718, allocations: 0 / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.3718, allocations: 0 / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.3719, allocations: 12 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3719, allocations: 7.984 kB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.3719, allocations: 4 kB / 0.5731 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3719, allocations: 4 kB / 0.5731 GB, free: 6.805 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 9.17e-05/0.372, allocations: 133.7 kB / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3721, allocations: 15.89 kB / 0.5733 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3723, allocations: 126.4 kB / 0.5734 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3723, allocations: 0 / 0.5734 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3723, allocations: 0 / 0.5734 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3723, allocations: 0 / 0.5734 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3728, allocations: 411.2 kB / 0.5738 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3728, allocations: 0 / 0.5738 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.3729, allocations: 19.92 kB / 0.5738 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3729, allocations: 4 kB / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.3729, allocations: 0 / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3729, allocations: 0 / 0.5738 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3729, allocations: 7.938 kB / 0.5738 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3731, allocations: 212.2 kB / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3732, allocations: 93 kB / 0.5741 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3732, allocations: 384 / 0.5741 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3733, allocations: 4 kB / 0.5741 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.3733, allocations: 15.92 kB / 0.5741 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3734, allocations: 8 kB / 0.5741 GB, free: 5.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3735, allocations: 136.8 kB / 0.5742 GB, free: 5.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3735, allocations: 4 kB / 0.5742 GB, free: 5.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.3737, allocations: 39.94 kB / 0.5743 GB, free: 5.484 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.0008914/0.3746, allocations: 482.7 kB / 0.5747 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3748, allocations: 63.92 kB / 0.5748 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3748, allocations: 0 / 0.5748 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/0.3749, allocations: 27.98 kB / 0.5748 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3752, allocations: 29 kB / 0.5749 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.3756, allocations: 278.6 kB / 0.5751 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3759, allocations: 0.7082 MB / 0.5758 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3759, allocations: 15.44 kB / 0.5758 GB, free: 3.938 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3759, allocations: 0 / 0.5758 GB, free: 3.938 MB / 394.7 MB Notification: Performance of Templates: time 0.003076/0.379, allocations: 1.917 MB / 0.5777 GB, free: 2.031 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches