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.001336/0.001336, allocations: 181.3 kB / 17.41 MB, free: 4.398 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.485/1.485, allocations: 205.4 MB / 223.6 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.0007694/0.0007696, allocations: 97.02 kB / 271.9 MB, free: 8.242 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.3768/0.3768, allocations: 43.56 MB / 363.8 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 19.98 kB / 432.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.5064, allocations: 87.87 MB / 0.5657 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5067, allocations: 74.34 kB / 0.5658 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.5265, allocations: 7.696 MB / 0.5733 GB, free: 6.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5265, allocations: 0 / 0.5733 GB, free: 6.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.5266, allocations: 8 kB / 0.5733 GB, free: 6.785 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.0007364/0.5273, allocations: 0.5275 MB / 0.5739 GB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.5274, allocations: 8.031 kB / 0.5739 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.5274, allocations: 32.56 kB / 0.5739 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.5279, allocations: 308 kB / 0.5742 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5279, allocations: 7.094 kB / 0.5742 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.528, allocations: 8.375 kB / 0.5742 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.5282, allocations: 103.8 kB / 0.5743 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5282, allocations: 192 / 0.5743 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.5282, allocations: 7.938 kB / 0.5743 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5283, allocations: 7.984 kB / 0.5743 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5284, allocations: 39.91 kB / 0.5744 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.529, allocations: 473 kB / 0.5748 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.5293, allocations: 121.2 kB / 0.5749 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.5294, allocations: 45.7 kB / 0.575 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5294, allocations: 4 kB / 0.575 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.5296, allocations: 113.5 kB / 0.5751 GB, free: 4.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.5296, allocations: 4 kB / 0.5751 GB, free: 4.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008937/0.5305, allocations: 376.4 kB / 0.5754 GB, free: 4.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.5306, allocations: 81.09 kB / 0.5755 GB, free: 4.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.531, allocations: 420.5 kB / 0.5759 GB, free: 3.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5311, allocations: 33.7 kB / 0.576 GB, free: 3.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.5312, allocations: 152.3 kB / 0.5761 GB, free: 3.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.5312, allocations: 47.3 kB / 0.5761 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.5313, allocations: 8 kB / 0.5761 GB, free: 3.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5314, allocations: 346.7 kB / 0.5765 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.5315, allocations: 47.42 kB / 0.5765 GB, free: 3.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.5316, allocations: 72.78 kB / 0.5766 GB, free: 3.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.5319, allocations: 123.5 kB / 0.5767 GB, free: 3.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5319, allocations: 4 kB / 0.5767 GB, free: 3.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003209/0.5322, allocations: 185.2 kB / 0.5769 GB, free: 2.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5322, allocations: 4 kB / 0.5769 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5322, allocations: 0 / 0.5769 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5323, allocations: 4 kB / 0.5769 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5324, allocations: 40.84 kB / 0.5769 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5324, allocations: 8 kB / 0.5769 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.5325, allocations: 4 kB / 0.577 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.5325, allocations: 16.06 kB / 0.577 GB, free: 2.801 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.0001866/0.5327, allocations: 166.2 kB / 0.5771 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.5328, allocations: 31.62 kB / 0.5772 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.5332, allocations: 224 kB / 0.5774 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5332, allocations: 0 / 0.5774 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5333, allocations: 4 kB / 0.5774 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5333, allocations: 0 / 0.5774 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.5341, allocations: 0.6946 MB / 0.578 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5341, allocations: 0 / 0.578 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.5342, allocations: 19.98 kB / 0.5781 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5342, allocations: 4 kB / 0.5781 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.5342, allocations: 11.94 kB / 0.5781 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5342, allocations: 0 / 0.5781 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5343, allocations: 4.062 kB / 0.5781 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.5347, allocations: 380 kB / 0.5785 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5348, allocations: 116.8 kB / 0.5786 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.5349, allocations: 11.94 kB / 0.5786 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.535, allocations: 15.98 kB / 0.5786 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5351, allocations: 11.98 kB / 0.5786 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.5351, allocations: 8 kB / 0.5786 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.5354, allocations: 319 kB / 0.5789 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5355, allocations: 0 / 0.5789 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000365/0.5358, allocations: 59.94 kB / 0.579 GB, free: 0.625 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.001085/0.5369, allocations: 486.7 kB / 0.5794 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.5372, allocations: 119.8 kB / 0.5795 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5372, allocations: 4 kB / 0.5796 GB, free: 132 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5374, allocations: 76.02 kB / 0.5796 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.5379, allocations: 53.56 kB / 0.5797 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.5388, allocations: 0.5919 MB / 0.5803 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5392, allocations: 0.7635 MB / 0.581 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.5393, allocations: 27.44 kB / 0.581 GB, free: 14.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5393, allocations: 0 / 0.581 GB, free: 14.56 MB / 410.7 MB Notification: Performance of Templates: time 0.005587/0.5449, allocations: 3.441 MB / 0.5844 GB, free: 11.13 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:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time