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.0009288/0.0009286, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 236 MB, free: 2.977 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.000855/0.000855, allocations: 95.66 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1708/0.1708, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.075e-05, allocations: 7.938 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4647, allocations: 89.51 MB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4649, allocations: 71.97 kB / 0.5892 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.494, allocations: 11.41 MB / 0.6003 GB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.494, allocations: 0 / 0.6003 GB, free: 4.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.456e-05/0.4941, allocations: 12 kB / 0.6003 GB, free: 4.34 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.0009917/0.4951, allocations: 0.6319 MB / 0.601 GB, free: 3.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4952, allocations: 8.031 kB / 0.601 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.4953, allocations: 51.34 kB / 0.601 GB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.4961, allocations: 435 kB / 0.6014 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4961, allocations: 16.45 kB / 0.6014 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.4962, allocations: 11.98 kB / 0.6015 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.4965, allocations: 202.8 kB / 0.6017 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4966, allocations: 3.984 kB / 0.6017 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.4966, allocations: 8 kB / 0.6017 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4966, allocations: 8 kB / 0.6017 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.4968, allocations: 99.89 kB / 0.6018 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.4977, allocations: 0.8956 MB / 0.6026 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.4981, allocations: 277.7 kB / 0.6029 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4983, allocations: 88.41 kB / 0.603 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.4983, allocations: 4 kB / 0.603 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.4986, allocations: 223.5 kB / 0.6032 GB, free: 1.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.4987, allocations: 0 / 0.6032 GB, free: 1.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001455/0.5001, allocations: 0.8863 MB / 0.6041 GB, free: 244 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.5002, allocations: 178.1 kB / 0.6042 GB, free: 28 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.5009, allocations: 0.5477 MB / 0.6048 GB, free: 15.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5009, allocations: 33.7 kB / 0.6048 GB, free: 15.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5011, allocations: 228.7 kB / 0.605 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.5012, allocations: 121 kB / 0.6051 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.5012, allocations: 8 kB / 0.6051 GB, free: 15.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5013, allocations: 366.8 kB / 0.6055 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5015, allocations: 100.9 kB / 0.6056 GB, free: 14.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.5017, allocations: 172.9 kB / 0.6058 GB, free: 14.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.5019, allocations: 120.3 kB / 0.6059 GB, free: 14.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5019, allocations: 0 / 0.6059 GB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005237/0.5024, allocations: 381 kB / 0.6062 GB, free: 13.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5024, allocations: 8.938 kB / 0.6062 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.5024, allocations: 3.953 kB / 0.6062 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5025, allocations: 7.984 kB / 0.6063 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.5028, allocations: 92 kB / 0.6063 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.5028, allocations: 12 kB / 0.6064 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.503, allocations: 23.98 kB / 0.6064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.503, allocations: 19.98 kB / 0.6064 GB, free: 13.75 MB / 426.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 9.754e-05/0.5031, allocations: 139.9 kB / 0.6065 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.5032, allocations: 59.25 kB / 0.6066 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.5039, allocations: 465.2 kB / 0.607 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5039, allocations: 7.953 kB / 0.607 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5039, allocations: 0 / 0.607 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.504, allocations: 7.984 kB / 0.607 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.5053, allocations: 1.35 MB / 0.6084 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5053, allocations: 4 kB / 0.6084 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.5055, allocations: 51.91 kB / 0.6084 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5055, allocations: 4.469 kB / 0.6084 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.5055, allocations: 12.16 kB / 0.6084 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5055, allocations: 11.98 kB / 0.6084 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5055, allocations: 4 kB / 0.6085 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.5063, allocations: 0.9326 MB / 0.6094 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.5064, allocations: 164.3 kB / 0.6095 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.5065, allocations: 19.94 kB / 0.6095 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5069, allocations: 23.98 kB / 0.6096 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.5069, allocations: 43.89 kB / 0.6096 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.507, allocations: 16 kB / 0.6096 GB, free: 10.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004587/0.5074, allocations: 453.5 kB / 0.61 GB, free: 9.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5074, allocations: 0 / 0.61 GB, free: 9.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005001/0.5079, allocations: 104 kB / 0.6101 GB, free: 9.707 MB / 426.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.0009915/0.5089, allocations: 448.9 kB / 0.6106 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.5094, allocations: 283.5 kB / 0.6108 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5094, allocations: 0 / 0.6108 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.5097, allocations: 156.3 kB / 0.611 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007852/0.5105, allocations: 128.9 kB / 0.6111 GB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.5117, allocations: 0.7224 MB / 0.6118 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.5121, allocations: 0.8629 MB / 0.6127 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.5124, allocations: 91.28 kB / 0.6128 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5125, allocations: 55.41 kB / 0.6128 GB, free: 7.023 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5125, allocations: 0 / 0.6128 GB, free: 7.023 MB / 426.7 MB Notification: Performance of Templates: time 0.009479/0.522, allocations: 5.71 MB / 0.6184 GB, free: 1.363 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