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.001514/0.001514, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001095/0.001095, allocations: 95.22 kB / 270.9 MB, free: 8.375 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.5125/0.5125, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 24 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1439, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5954, allocations: 87.82 MB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5957, allocations: 71.97 kB / 0.5646 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03489/0.6306, allocations: 7.706 MB / 0.5721 GB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6307, allocations: 0 / 0.5721 GB, free: 7.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.073e-05/0.6308, allocations: 4 kB / 0.5721 GB, free: 7.152 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.001068/0.6318, allocations: 0.5307 MB / 0.5726 GB, free: 6.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6319, allocations: 12.56 kB / 0.5726 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.632, allocations: 35.61 kB / 0.5727 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.6327, allocations: 290.9 kB / 0.5729 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.6327, allocations: 4 kB / 0.5729 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.6328, allocations: 11.92 kB / 0.573 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.6331, allocations: 99.36 kB / 0.573 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6331, allocations: 1.031 kB / 0.573 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.6332, allocations: 8 kB / 0.5731 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6332, allocations: 0 / 0.5731 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.6334, allocations: 47.86 kB / 0.5731 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.6342, allocations: 469 kB / 0.5735 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.6347, allocations: 117.4 kB / 0.5737 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.6347, allocations: 4 kB / 0.5737 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.6351, allocations: 121.7 kB / 0.5738 GB, free: 5.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.6351, allocations: 0 / 0.5738 GB, free: 5.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0015/0.6366, allocations: 375.8 kB / 0.5741 GB, free: 4.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.6367, allocations: 85.11 kB / 0.5742 GB, free: 4.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.6375, allocations: 379.7 kB / 0.5746 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.6375, allocations: 37.7 kB / 0.5746 GB, free: 4.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.6377, allocations: 198.7 kB / 0.5748 GB, free: 4.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.6378, allocations: 51.3 kB / 0.5749 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.6378, allocations: 4 kB / 0.5749 GB, free: 4.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.638, allocations: 318.8 kB / 0.5752 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.6382, allocations: 39.97 kB / 0.5752 GB, free: 3.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.6384, allocations: 72.78 kB / 0.5753 GB, free: 3.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.6386, allocations: 55.92 kB / 0.5753 GB, free: 3.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6386, allocations: 7.891 kB / 0.5753 GB, free: 3.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005626/0.6392, allocations: 158.3 kB / 0.5755 GB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6392, allocations: 8 kB / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6392, allocations: 0 / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6393, allocations: 0 / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.6395, allocations: 39.98 kB / 0.5755 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6396, allocations: 0 / 0.5755 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.6398, allocations: 15.98 kB / 0.5755 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.6398, allocations: 4 kB / 0.5755 GB, free: 3.363 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.0002547/0.6401, allocations: 173.7 kB / 0.5757 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.6401, allocations: 31.58 kB / 0.5757 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.6409, allocations: 228.3 kB / 0.576 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6409, allocations: 4.75 kB / 0.576 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6409, allocations: 0 / 0.576 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6409, allocations: 3.984 kB / 0.576 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.6423, allocations: 0.6789 MB / 0.5766 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6424, allocations: 3.984 kB / 0.5766 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.6425, allocations: 32 kB / 0.5767 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.6425, allocations: 0 / 0.5767 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.6426, allocations: 7.984 kB / 0.5767 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.6426, allocations: 4 kB / 0.5767 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6426, allocations: 0 / 0.5767 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.6434, allocations: 419.9 kB / 0.5771 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6435, allocations: 124.7 kB / 0.5772 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.6436, allocations: 11.94 kB / 0.5772 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.6439, allocations: 8 kB / 0.5772 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.6439, allocations: 11.98 kB / 0.5772 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.644, allocations: 19.98 kB / 0.5772 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.6446, allocations: 311 kB / 0.5775 GB, free: 1.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6446, allocations: 0 / 0.5775 GB, free: 1.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005138/0.6451, allocations: 59.92 kB / 0.5776 GB, free: 1.125 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.001413/0.6465, allocations: 488.1 kB / 0.5781 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.6471, allocations: 119.9 kB / 0.5782 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6472, allocations: 0 / 0.5782 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.6474, allocations: 68.36 kB / 0.5782 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.6481, allocations: 53.75 kB / 0.5783 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.6495, allocations: 0.5997 MB / 0.5789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.6499, allocations: 0.7713 MB / 0.5796 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6501, allocations: 31.44 kB / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6501, allocations: 0 / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of Templates: time 0.009173/0.6593, allocations: 3.429 MB / 0.583 GB, free: 11.63 MB / 410.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