Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 186.9 kB / 16.41 MB, free: 5.723 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.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001143/0.001142, allocations: 96.36 kB / 270.9 MB, free: 8.387 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.5159/0.5159, allocations: 43.54 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006883, allocations: 16 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1392, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6004, allocations: 88.02 MB / 0.5647 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6008, allocations: 75.95 kB / 0.5648 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04975/0.6505, allocations: 11.03 MB / 0.5755 GB, free: 3.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6506, allocations: 4 kB / 0.5755 GB, free: 3.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.6507, allocations: 8.188 kB / 0.5756 GB, free: 3.648 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001703/0.6524, allocations: 0.7424 MB / 0.5763 GB, free: 2.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6525, allocations: 12.03 kB / 0.5763 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.6526, allocations: 58.78 kB / 0.5764 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.654, allocations: 431 kB / 0.5768 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.6541, allocations: 8 kB / 0.5768 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.6541, allocations: 15.98 kB / 0.5768 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.6548, allocations: 217 kB / 0.577 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6548, allocations: 0 / 0.577 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.6549, allocations: 4 kB / 0.577 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6549, allocations: 5.031 kB / 0.577 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.6554, allocations: 111.8 kB / 0.5771 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.6569, allocations: 0.8916 MB / 0.578 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6581, allocations: 305.7 kB / 0.5783 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.6581, allocations: 4 kB / 0.5783 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006467/0.6588, allocations: 231.1 kB / 0.5785 GB, free: 416 kB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 5.1e-06/0.6588, allocations: 3.984 kB / 0.5785 GB, free: 412 kB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.003501/0.6623, allocations: 0.9965 MB / 0.5795 GB, free: 15.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6625, allocations: 166.1 kB / 0.5796 GB, free: 15.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.6637, allocations: 0.5605 MB / 0.5802 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.6638, allocations: 37.7 kB / 0.5802 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.664, allocations: 247.5 kB / 0.5804 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.6642, allocations: 118.4 kB / 0.5806 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.6642, allocations: 9.125 kB / 0.5806 GB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6644, allocations: 330.8 kB / 0.5809 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.6648, allocations: 96.83 kB / 0.581 GB, free: 13.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.6654, allocations: 192.9 kB / 0.5812 GB, free: 13.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.6658, allocations: 128.3 kB / 0.5813 GB, free: 13.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6659, allocations: 4 kB / 0.5813 GB, free: 13.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001212/0.6671, allocations: 365 kB / 0.5816 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6671, allocations: 4 kB / 0.5816 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6672, allocations: 4 kB / 0.5816 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6672, allocations: 4 kB / 0.5816 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.6678, allocations: 87.98 kB / 0.5817 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.6678, allocations: 7.938 kB / 0.5817 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.6683, allocations: 23.98 kB / 0.5818 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.6683, allocations: 20 kB / 0.5818 GB, free: 12.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0004155/0.6687, allocations: 204.3 kB / 0.582 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6689, allocations: 63.2 kB / 0.582 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.6706, allocations: 489.4 kB / 0.5825 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.6706, allocations: 8 kB / 0.5825 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6706, allocations: 3.984 kB / 0.5825 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6707, allocations: 4 kB / 0.5825 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.6736, allocations: 1.374 MB / 0.5839 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.6737, allocations: 4 kB / 0.5839 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.674, allocations: 51.92 kB / 0.5839 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.6741, allocations: 4.469 kB / 0.5839 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.6741, allocations: 23.92 kB / 0.5839 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.6741, allocations: 4 kB / 0.5839 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.6742, allocations: 3.953 kB / 0.5839 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.6759, allocations: 0.9482 MB / 0.5849 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.6762, allocations: 160.4 kB / 0.585 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.6763, allocations: 23.98 kB / 0.585 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.6769, allocations: 19.98 kB / 0.5851 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.677, allocations: 35.89 kB / 0.5851 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.6771, allocations: 23.98 kB / 0.5851 GB, free: 9.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009366/0.678, allocations: 458.8 kB / 0.5856 GB, free: 8.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6781, allocations: 0 / 0.5856 GB, free: 8.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008868/0.679, allocations: 107.9 kB / 0.5857 GB, free: 8.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001452/0.6804, allocations: 0.4966 MB / 0.5862 GB, free: 8.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.6817, allocations: 315.4 kB / 0.5865 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.6817, allocations: 0 / 0.5865 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.6823, allocations: 167.7 kB / 0.5866 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.6837, allocations: 118.8 kB / 0.5867 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.6862, allocations: 1.039 MB / 0.5877 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.6869, allocations: 0.8629 MB / 0.5886 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.6872, allocations: 63.41 kB / 0.5886 GB, free: 5.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6872, allocations: 0 / 0.5886 GB, free: 5.715 MB / 410.7 MB Notification: Performance of Templates: time 0.01638/0.7036, allocations: 6.445 MB / 0.5949 GB, free: 15.28 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches