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.001057/0.001057, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 109 kB / 291.9 MB, free: 10.94 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.3726/0.3726, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4458, allocations: 60.8 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00429/0.4501, allocations: 2.351 MB / 0.5087 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4521, allocations: 1.269 MB / 0.5099 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.4523, allocations: 6.75 kB / 0.5099 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.4529, allocations: 274 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.4533, allocations: 242.3 kB / 0.5104 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.454, allocations: 348.5 kB / 0.5108 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.4545, allocations: 0.4951 MB / 0.5112 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.4547, allocations: 55.22 kB / 0.5113 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.455, allocations: 222 kB / 0.5115 GB, free: 35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.4552, allocations: 251.5 kB / 0.5118 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.4553, allocations: 14.41 kB / 0.5118 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.4554, allocations: 52.12 kB / 0.5118 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.4556, allocations: 107.7 kB / 0.5119 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4557, allocations: 170.6 kB / 0.5121 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.4561, allocations: 378 kB / 0.5124 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4561, allocations: 3.938 kB / 0.5124 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4561, allocations: 0 / 0.5124 GB, free: 34.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4561, allocations: 0 / 0.5124 GB, free: 34.57 MB / 378.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.001091/0.4572, allocations: 0.759 MB / 0.5132 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4573, allocations: 8.875 kB / 0.5132 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.4574, allocations: 52.78 kB / 0.5132 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.4579, allocations: 402.8 kB / 0.5136 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4579, allocations: 12.19 kB / 0.5136 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.458, allocations: 19.55 kB / 0.5137 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.4583, allocations: 209.4 kB / 0.5139 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4584, allocations: 0 / 0.5139 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4584, allocations: 2.781 kB / 0.5139 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4584, allocations: 3.031 kB / 0.5139 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.4587, allocations: 100.3 kB / 0.514 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.4595, allocations: 0.8555 MB / 0.5148 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.46, allocations: 291.9 kB / 0.5151 GB, free: 32.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4602, allocations: 93.98 kB / 0.5152 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.4603, allocations: 6.375 kB / 0.5152 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.4607, allocations: 236.6 kB / 0.5154 GB, free: 32.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.4608, allocations: 0 / 0.5154 GB, free: 32.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001847/0.4626, allocations: 0.9755 MB / 0.5163 GB, free: 31.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4627, allocations: 163 kB / 0.5165 GB, free: 31.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.4634, allocations: 0.6071 MB / 0.5171 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.4634, allocations: 38.95 kB / 0.5171 GB, free: 31.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4636, allocations: 223.4 kB / 0.5173 GB, free: 31.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4637, allocations: 128.6 kB / 0.5175 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4639, allocations: 75.31 kB / 0.5175 GB, free: 31.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.464, allocations: 371.6 kB / 0.5179 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.4643, allocations: 99.61 kB / 0.518 GB, free: 30.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4645, allocations: 177.7 kB / 0.5182 GB, free: 30.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.4651, allocations: 304.8 kB / 0.5185 GB, free: 30.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4651, allocations: 192 / 0.5185 GB, free: 30.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006848/0.4658, allocations: 407.7 kB / 0.5188 GB, free: 30.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4658, allocations: 9.75 kB / 0.5189 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.4658, allocations: 2.969 kB / 0.5189 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4658, allocations: 5.844 kB / 0.5189 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4661, allocations: 80.7 kB / 0.5189 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4662, allocations: 5.531 kB / 0.5189 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4663, allocations: 21.83 kB / 0.519 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.4664, allocations: 18.97 kB / 0.519 GB, free: 30.18 MB / 378.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 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.4666, allocations: 206 kB / 0.5192 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.4667, allocations: 61 kB / 0.5192 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.4668, allocations: 71.53 kB / 0.5193 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4668, allocations: 5.656 kB / 0.5193 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4668, allocations: 6.5 kB / 0.5193 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4669, allocations: 3.281 kB / 0.5193 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4682, allocations: 1.265 MB / 0.5206 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4683, allocations: 2.75 kB / 0.5206 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.4684, allocations: 46.84 kB / 0.5206 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4684, allocations: 5.562 kB / 0.5206 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.4684, allocations: 17.31 kB / 0.5206 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4684, allocations: 5.875 kB / 0.5206 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4684, allocations: 2.875 kB / 0.5206 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4697, allocations: 1.562 MB / 0.5222 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.4698, allocations: 126.4 kB / 0.5223 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.4699, allocations: 9.312 kB / 0.5223 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.4702, allocations: 23.23 kB / 0.5223 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.4703, allocations: 45.05 kB / 0.5224 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4703, allocations: 17.81 kB / 0.5224 GB, free: 27.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004276/0.4708, allocations: 457 kB / 0.5228 GB, free: 27.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4708, allocations: 3.938 kB / 0.5228 GB, free: 27.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.4714, allocations: 81.81 kB / 0.5229 GB, free: 27.45 MB / 378.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.4725, allocations: 487.9 kB / 0.5234 GB, free: 27.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.473, allocations: 290.6 kB / 0.5236 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.473, allocations: 2.812 kB / 0.5236 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.4733, allocations: 149.3 kB / 0.5238 GB, free: 27.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009646/0.4743, allocations: 138.7 kB / 0.5239 GB, free: 27.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4756, allocations: 1.228 MB / 0.5251 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4759, allocations: 0.8523 MB / 0.5259 GB, free: 25.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4761, allocations: 87.34 kB / 0.526 GB, free: 25.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4763, allocations: 52.27 kB / 0.5261 GB, free: 25.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4763, allocations: 0 / 0.5261 GB, free: 25.46 MB / 378.7 MB Notification: Performance of Templates: time 0.009324/0.4856, allocations: 5.525 MB / 0.5315 GB, free: 24.97 MB / 378.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@2/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