Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001427, allocations: 196.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.6 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000832/0.0008319, allocations: 89.56 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3401/0.3401, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003139, allocations: 12 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.472, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.6485, allocations: 90.93 MB / 0.6072 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.6488, allocations: 83.94 kB / 0.6073 GB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03589/0.6847, allocations: 12.75 MB / 0.6198 GB, free: 1.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6848, allocations: 0 / 0.6198 GB, free: 1.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.299e-05/0.6849, allocations: 16 kB / 0.6198 GB, free: 1.516 MB / 426.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.001902/0.6868, allocations: 0.7753 MB / 0.6205 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6869, allocations: 12.03 kB / 0.6206 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.6871, allocations: 64.17 kB / 0.6206 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.6881, allocations: 487.6 kB / 0.6211 GB, free: 104 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.6882, allocations: 8.375 kB / 0.6211 GB, free: 96 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.6882, allocations: 16.38 kB / 0.6211 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.6886, allocations: 212.1 kB / 0.6213 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6887, allocations: 192 / 0.6213 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.6887, allocations: 7.938 kB / 0.6213 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6887, allocations: 7.938 kB / 0.6213 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.689, allocations: 115.8 kB / 0.6214 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.6901, allocations: 0.8994 MB / 0.6223 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.6907, allocations: 297.2 kB / 0.6226 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.6909, allocations: 104.2 kB / 0.6227 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.691, allocations: 4 kB / 0.6227 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.6914, allocations: 247.4 kB / 0.6229 GB, free: 14.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.6914, allocations: 0 / 0.6229 GB, free: 14.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.002153/0.6935, allocations: 1.027 MB / 0.6239 GB, free: 12.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6937, allocations: 170.2 kB / 0.6241 GB, free: 12.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.6945, allocations: 0.6591 MB / 0.6247 GB, free: 12.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.6946, allocations: 41.7 kB / 0.6248 GB, free: 12.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.6948, allocations: 229.1 kB / 0.625 GB, free: 11.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6949, allocations: 130.3 kB / 0.6251 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.6949, allocations: 8 kB / 0.6251 GB, free: 11.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6951, allocations: 370.8 kB / 0.6255 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6953, allocations: 104.8 kB / 0.6256 GB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.6956, allocations: 188.8 kB / 0.6258 GB, free: 11.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.6962, allocations: 304.8 kB / 0.6261 GB, free: 10.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6962, allocations: 0 / 0.6261 GB, free: 10.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008003/0.697, allocations: 416.9 kB / 0.6265 GB, free: 10.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.697, allocations: 8 kB / 0.6265 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.697, allocations: 3.938 kB / 0.6265 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.6971, allocations: 8 kB / 0.6265 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.6974, allocations: 87.83 kB / 0.6266 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.6974, allocations: 4 kB / 0.6266 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.6977, allocations: 28.14 kB / 0.6266 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.6977, allocations: 12 kB / 0.6266 GB, free: 10.13 MB / 442.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.0002891/0.698, allocations: 208.3 kB / 0.6268 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6981, allocations: 63.25 kB / 0.6269 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/0.699, allocations: 0.4899 MB / 0.6273 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.6991, allocations: 8 kB / 0.6273 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.6991, allocations: 0 / 0.6273 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6991, allocations: 3.984 kB / 0.6273 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7011, allocations: 1.382 MB / 0.6287 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.7011, allocations: 8 kB / 0.6287 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.7013, allocations: 51.92 kB / 0.6288 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.7013, allocations: 8.156 kB / 0.6288 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.7013, allocations: 15.98 kB / 0.6288 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7013, allocations: 4 kB / 0.6288 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.7013, allocations: 3.938 kB / 0.6288 GB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.7023, allocations: 0.8474 MB / 0.6296 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.7025, allocations: 168.3 kB / 0.6298 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.7026, allocations: 15.98 kB / 0.6298 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.703, allocations: 31.92 kB / 0.6298 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7031, allocations: 35.89 kB / 0.6298 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.7031, allocations: 23.98 kB / 0.6299 GB, free: 6.621 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006386/0.7038, allocations: 478.8 kB / 0.6303 GB, free: 6.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7038, allocations: 4 kB / 0.6303 GB, free: 6.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006769/0.7045, allocations: 107.9 kB / 0.6304 GB, free: 6.047 MB / 442.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.001176/0.7057, allocations: 0.4929 MB / 0.6309 GB, free: 5.711 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000715/0.7064, allocations: 312.1 kB / 0.6312 GB, free: 5.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7064, allocations: 0 / 0.6312 GB, free: 5.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.7067, allocations: 171.7 kB / 0.6314 GB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.708, allocations: 136.1 kB / 0.6315 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.7098, allocations: 1.032 MB / 0.6325 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.7104, allocations: 0.8745 MB / 0.6334 GB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.7107, allocations: 91.33 kB / 0.6335 GB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.7108, allocations: 59.41 kB / 0.6335 GB, free: 2.965 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7109, allocations: 0 / 0.6335 GB, free: 2.965 MB / 442.7 MB Notification: Performance of Templates: time 0.01241/0.7233, allocations: 5.835 MB / 0.6392 GB, free: 13.18 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches