Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00204/0.00204, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001074/0.001074, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.376e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/0.632, allocations: 87.73 MB / 0.5585 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.6324, allocations: 81.02 kB / 0.5585 GB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03319/0.6656, allocations: 7.673 MB / 0.566 GB, free: 9.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6656, allocations: 0 / 0.566 GB, free: 9.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.6657, allocations: 4 kB / 0.566 GB, free: 9.344 MB / 378.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.0007906/0.6665, allocations: 493.6 kB / 0.5665 GB, free: 8.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6665, allocations: 8.031 kB / 0.5665 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.6666, allocations: 31.67 kB / 0.5666 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.6673, allocations: 288.6 kB / 0.5668 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6673, allocations: 11.98 kB / 0.5668 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.6674, allocations: 7.375 kB / 0.5668 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.6676, allocations: 94.06 kB / 0.5669 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.6677, allocations: 0 / 0.5669 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.6677, allocations: 3.312 kB / 0.5669 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6677, allocations: 4 kB / 0.5669 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.6679, allocations: 39.17 kB / 0.567 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.6687, allocations: 476 kB / 0.5674 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.6689, allocations: 106.1 kB / 0.5675 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.6691, allocations: 44.02 kB / 0.5676 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.6691, allocations: 0 / 0.5676 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.6694, allocations: 116.5 kB / 0.5677 GB, free: 7.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.6694, allocations: 0 / 0.5677 GB, free: 7.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00104/0.6705, allocations: 331.7 kB / 0.568 GB, free: 7.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.6705, allocations: 81.11 kB / 0.5681 GB, free: 7.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/0.6712, allocations: 394 kB / 0.5685 GB, free: 6.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6713, allocations: 29.27 kB / 0.5685 GB, free: 6.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.6714, allocations: 192.7 kB / 0.5687 GB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.6715, allocations: 54.22 kB / 0.5687 GB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6715, allocations: 3.188 kB / 0.5687 GB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6717, allocations: 322.3 kB / 0.569 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.6718, allocations: 40.69 kB / 0.5691 GB, free: 6.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.6719, allocations: 73.47 kB / 0.5691 GB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.6721, allocations: 41.06 kB / 0.5692 GB, free: 6.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6721, allocations: 4 kB / 0.5692 GB, free: 6.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003928/0.6725, allocations: 155 kB / 0.5693 GB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6725, allocations: 8 kB / 0.5693 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6725, allocations: 0 / 0.5693 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6726, allocations: 4.062 kB / 0.5693 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.6729, allocations: 36.3 kB / 0.5694 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6729, allocations: 8.062 kB / 0.5694 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.6731, allocations: 11.23 kB / 0.5694 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.6731, allocations: 8 kB / 0.5694 GB, free: 6.051 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 0.0001212/0.6733, allocations: 122.9 kB / 0.5695 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.6733, allocations: 23.72 kB / 0.5695 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.674, allocations: 222.3 kB / 0.5698 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.674, allocations: 4 kB / 0.5698 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.674, allocations: 3.984 kB / 0.5698 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.674, allocations: 0 / 0.5698 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.6752, allocations: 0.674 MB / 0.5704 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6752, allocations: 0 / 0.5704 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.6754, allocations: 16 kB / 0.5704 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6754, allocations: 8.062 kB / 0.5704 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6754, allocations: 14.8 kB / 0.5705 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6754, allocations: 0 / 0.5705 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6754, allocations: 0 / 0.5705 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.676, allocations: 424 kB / 0.5709 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.6762, allocations: 120.2 kB / 0.571 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.6763, allocations: 11.14 kB / 0.571 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6765, allocations: 15.55 kB / 0.571 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.6766, allocations: 7.984 kB / 0.571 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.6766, allocations: 11.56 kB / 0.571 GB, free: 4.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005391/0.6772, allocations: 318.4 kB / 0.5713 GB, free: 4.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6772, allocations: 0 / 0.5713 GB, free: 4.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.6777, allocations: 59.8 kB / 0.5714 GB, free: 4.156 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.001262/0.6789, allocations: 434.6 kB / 0.5718 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.6794, allocations: 116.7 kB / 0.5719 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6794, allocations: 0 / 0.5719 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.6796, allocations: 65.48 kB / 0.572 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.6802, allocations: 46.25 kB / 0.572 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.6814, allocations: 450.8 kB / 0.5724 GB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.6818, allocations: 0.7704 MB / 0.5732 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.682, allocations: 27.42 kB / 0.5732 GB, free: 2.375 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.682, allocations: 0 / 0.5732 GB, free: 2.375 MB / 378.7 MB Notification: Performance of Templates: time 0.009026/0.691, allocations: 3.451 MB / 0.5766 GB, free: 14.96 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:der(d_t_new.u),d_t_new.u,d_t_new.y,der(d_t_new_2.u),d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time