Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.271/1.271, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007638/0.0007638, allocations: 89.36 kB / 271.9 MB, free: 8.266 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.2915/0.2915, allocations: 43.55 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.0972, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.3508, allocations: 87.86 MB / 0.5657 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3511, allocations: 83.94 kB / 0.5658 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02063/0.3717, allocations: 7.529 MB / 0.5732 GB, free: 6.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3718, allocations: 3.938 kB / 0.5732 GB, free: 6.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.3718, allocations: 4 kB / 0.5732 GB, free: 6.988 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007882/0.3726, allocations: 0.5091 MB / 0.5737 GB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3727, allocations: 8.031 kB / 0.5737 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.3727, allocations: 24.66 kB / 0.5737 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.3731, allocations: 283.6 kB / 0.574 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3732, allocations: 4.375 kB / 0.574 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3732, allocations: 16.22 kB / 0.574 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3734, allocations: 99.91 kB / 0.5741 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3734, allocations: 8.172 kB / 0.5741 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3735, allocations: 3.938 kB / 0.5741 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.3735, allocations: 0 / 0.5741 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3736, allocations: 47.91 kB / 0.5741 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.3741, allocations: 449 kB / 0.5746 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3744, allocations: 125.2 kB / 0.5747 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.3745, allocations: 41.7 kB / 0.5747 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3745, allocations: 7.984 kB / 0.5747 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3747, allocations: 117.7 kB / 0.5749 GB, free: 5.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3748, allocations: 0 / 0.5749 GB, free: 5.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009032/0.3757, allocations: 360 kB / 0.5752 GB, free: 4.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3757, allocations: 81.11 kB / 0.5753 GB, free: 4.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.3761, allocations: 355 kB / 0.5756 GB, free: 4.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3761, allocations: 29.7 kB / 0.5756 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.3762, allocations: 140.4 kB / 0.5758 GB, free: 4.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3763, allocations: 51.34 kB / 0.5758 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/0.3763, allocations: 4 kB / 0.5758 GB, free: 4.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3764, allocations: 338.8 kB / 0.5762 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3766, allocations: 39.98 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3767, allocations: 82.27 kB / 0.5763 GB, free: 3.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3769, allocations: 127.4 kB / 0.5764 GB, free: 3.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3769, allocations: 0 / 0.5764 GB, free: 3.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003169/0.3772, allocations: 185.2 kB / 0.5766 GB, free: 3.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3773, allocations: 8 kB / 0.5766 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3773, allocations: 4.062 kB / 0.5766 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3773, allocations: 7.984 kB / 0.5766 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3774, allocations: 27.98 kB / 0.5766 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3775, allocations: 4 kB / 0.5766 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.563e-05/0.3776, allocations: 12.66 kB / 0.5766 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3776, allocations: 4 kB / 0.5766 GB, free: 3.176 MB / 394.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 () * Number of clocked 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 0.0001394/0.3777, allocations: 166.1 kB / 0.5768 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.3778, allocations: 23.72 kB / 0.5768 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.3782, allocations: 219.3 kB / 0.577 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3782, allocations: 0 / 0.577 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3782, allocations: 4 kB / 0.577 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3782, allocations: 7.984 kB / 0.577 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.3791, allocations: 0.667 MB / 0.5777 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3791, allocations: 0 / 0.5777 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.3792, allocations: 23.98 kB / 0.5777 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3792, allocations: 0 / 0.5777 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3792, allocations: 11.94 kB / 0.5777 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3792, allocations: 4 kB / 0.5777 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3792, allocations: 3.938 kB / 0.5777 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.3796, allocations: 368.2 kB / 0.5781 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.3797, allocations: 116.8 kB / 0.5782 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3798, allocations: 11.94 kB / 0.5782 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3799, allocations: 8 kB / 0.5782 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.38, allocations: 19.95 kB / 0.5782 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.38, allocations: 8 kB / 0.5782 GB, free: 1.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.3803, allocations: 261.9 kB / 0.5785 GB, free: 1.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3803, allocations: 0 / 0.5785 GB, free: 1.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.3806, allocations: 59.98 kB / 0.5785 GB, free: 1.102 MB / 394.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) * Number of clocked states: 0 () * 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.001065/0.3817, allocations: 484 kB / 0.579 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.382, allocations: 119.9 kB / 0.5791 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.382, allocations: 0 / 0.5791 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3822, allocations: 67.86 kB / 0.5792 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.3827, allocations: 54.55 kB / 0.5792 GB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008745/0.3836, allocations: 0.5288 MB / 0.5798 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.384, allocations: 0.7557 MB / 0.5805 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.3841, allocations: 27.42 kB / 0.5805 GB, free: 15.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3841, allocations: 0 / 0.5805 GB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.005236/0.3893, allocations: 3.219 MB / 0.5837 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches