Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 230.7 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 104.2 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2038/0.2038, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.122e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5409, allocations: 88.85 MB / 0.5815 GB, free: 7.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5413, allocations: 71.97 kB / 0.5815 GB, free: 7.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.5724, allocations: 11.34 MB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5724, allocations: 0 / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/0.5725, allocations: 8 kB / 0.5926 GB, free: 12.23 MB / 410.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.0009328/0.5734, allocations: 0.6356 MB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5735, allocations: 15.98 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.875e-05/0.5736, allocations: 51.34 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.5744, allocations: 423.1 kB / 0.5937 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5744, allocations: 7.953 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.5745, allocations: 8 kB / 0.5937 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001966/0.5747, allocations: 96.33 kB / 0.5938 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.575, allocations: 191.1 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.575, allocations: 4 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.575, allocations: 0 / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.575, allocations: 4 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009578/0.576, allocations: 0.8609 MB / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.5763, allocations: 257.8 kB / 0.5951 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.5765, allocations: 88.34 kB / 0.5952 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5765, allocations: 4 kB / 0.5952 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.5769, allocations: 211.5 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.5769, allocations: 0 / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001529/0.5784, allocations: 0.8504 MB / 0.5962 GB, free: 8.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.5785, allocations: 158.2 kB / 0.5963 GB, free: 8.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.5792, allocations: 0.5216 MB / 0.5969 GB, free: 7.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.5792, allocations: 37.69 kB / 0.5969 GB, free: 7.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.5794, allocations: 220.7 kB / 0.5971 GB, free: 7.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.5795, allocations: 110.5 kB / 0.5972 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.5795, allocations: 8 kB / 0.5972 GB, free: 7.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5797, allocations: 371.5 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.5798, allocations: 88.81 kB / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.58, allocations: 160.1 kB / 0.5978 GB, free: 6.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5802, allocations: 108.3 kB / 0.5979 GB, free: 6.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5802, allocations: 4 kB / 0.5979 GB, free: 6.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005365/0.5808, allocations: 348.7 kB / 0.5982 GB, free: 6.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5808, allocations: 9.406 kB / 0.5983 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5808, allocations: 4.156 kB / 0.5983 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5808, allocations: 8 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.5812, allocations: 87.78 kB / 0.5984 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5812, allocations: 4.938 kB / 0.5984 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5814, allocations: 15.98 kB / 0.5984 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.5814, allocations: 19.98 kB / 0.5984 GB, free: 5.934 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 () * 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.0001153/0.5816, allocations: 128 kB / 0.5985 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.5816, allocations: 67.19 kB / 0.5986 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.5824, allocations: 433.6 kB / 0.599 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5824, allocations: 4 kB / 0.599 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5824, allocations: 11.89 kB / 0.599 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5824, allocations: 0 / 0.599 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.5839, allocations: 1.285 MB / 0.6003 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5839, allocations: 4 kB / 0.6003 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.5841, allocations: 56.06 kB / 0.6003 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5841, allocations: 8 kB / 0.6003 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.5841, allocations: 8 kB / 0.6003 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.5841, allocations: 4 kB / 0.6003 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5841, allocations: 7.984 kB / 0.6003 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.5849, allocations: 0.9058 MB / 0.6012 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5851, allocations: 160.3 kB / 0.6014 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.5852, allocations: 12 kB / 0.6014 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.5855, allocations: 15.98 kB / 0.6014 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.5856, allocations: 47.84 kB / 0.6015 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.5857, allocations: 23.92 kB / 0.6015 GB, free: 2.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.5862, allocations: 426.9 kB / 0.6019 GB, free: 2.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5862, allocations: 0 / 0.6019 GB, free: 2.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.5868, allocations: 88 kB / 0.602 GB, free: 2.078 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) * 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.0009906/0.5878, allocations: 413.9 kB / 0.6024 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.5882, allocations: 259.6 kB / 0.6026 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5882, allocations: 0 / 0.6026 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.5884, allocations: 147.8 kB / 0.6028 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.5892, allocations: 121 kB / 0.6029 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5904, allocations: 0.7021 MB / 0.6036 GB, free: 492 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5908, allocations: 0.8665 MB / 0.6044 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.5911, allocations: 87.3 kB / 0.6045 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.5912, allocations: 55.41 kB / 0.6045 GB, free: 15.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5912, allocations: 0 / 0.6045 GB, free: 15.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01018/0.6014, allocations: 5.414 MB / 0.6098 GB, free: 10.09 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches