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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 110.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4437, allocations: 60.83 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004453/0.4482, allocations: 2.319 MB / 0.5212 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4505, allocations: 1.276 MB / 0.5225 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.4507, allocations: 7.5 kB / 0.5225 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.4514, allocations: 285.8 kB / 0.5228 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.452, allocations: 269 kB / 0.523 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.453, allocations: 372.6 kB / 0.5234 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.4538, allocations: 0.5123 MB / 0.5239 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4539, allocations: 47.58 kB / 0.5239 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.4542, allocations: 238.6 kB / 0.5241 GB, free: 416 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.4546, allocations: 263.8 kB / 0.5244 GB, free: 324 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.4546, allocations: 17.84 kB / 0.5244 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.4548, allocations: 56.61 kB / 0.5245 GB, free: 312 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.4549, allocations: 105.8 kB / 0.5246 GB, free: 264 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.4551, allocations: 175.6 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.4557, allocations: 399.2 kB / 0.5251 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4557, allocations: 1.922 kB / 0.5251 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4557, allocations: 4 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4557, allocations: 0 / 0.5251 GB, free: 15.95 MB / 398.1 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.001238/0.457, allocations: 0.7554 MB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.457, allocations: 9.594 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.4571, allocations: 52.31 kB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.4577, allocations: 416.7 kB / 0.5263 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4577, allocations: 11.22 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.4578, allocations: 16.56 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.4582, allocations: 200.5 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4582, allocations: 3.906 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4582, allocations: 10.69 kB / 0.5266 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4583, allocations: 2.844 kB / 0.5266 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.4585, allocations: 104.6 kB / 0.5267 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.4594, allocations: 0.8539 MB / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.46, allocations: 284.1 kB / 0.5278 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4602, allocations: 97.38 kB / 0.5279 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4602, allocations: 9.5 kB / 0.5279 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.4606, allocations: 227.2 kB / 0.5281 GB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.4606, allocations: 0 / 0.5281 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001979/0.4626, allocations: 0.9848 MB / 0.529 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.4627, allocations: 158.8 kB / 0.5292 GB, free: 12.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.4634, allocations: 0.6143 MB / 0.5298 GB, free: 12.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.4634, allocations: 41.7 kB / 0.5298 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4636, allocations: 226.6 kB / 0.53 GB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4637, allocations: 120.5 kB / 0.5302 GB, free: 12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4638, allocations: 70.94 kB / 0.5302 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.464, allocations: 369.5 kB / 0.5306 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.4642, allocations: 98.45 kB / 0.5307 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.4645, allocations: 187.6 kB / 0.5309 GB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.4651, allocations: 302.5 kB / 0.5311 GB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4651, allocations: 0 / 0.5311 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007661/0.4659, allocations: 405.1 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4659, allocations: 5.844 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4659, allocations: 3.062 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.4659, allocations: 4.125 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4662, allocations: 87.94 kB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.4663, allocations: 8.484 kB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4665, allocations: 20.58 kB / 0.5317 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.4665, allocations: 17.97 kB / 0.5317 GB, free: 10.96 MB / 398.1 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.000245/0.4667, allocations: 214.6 kB / 0.5319 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.4668, allocations: 58.44 kB / 0.5319 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.467, allocations: 65.44 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.467, allocations: 5.844 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.467, allocations: 1.094 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.467, allocations: 5.141 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.4687, allocations: 1.256 MB / 0.5332 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4687, allocations: 2.406 kB / 0.5332 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4688, allocations: 50.14 kB / 0.5333 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.4689, allocations: 3.75 kB / 0.5333 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.4689, allocations: 23.98 kB / 0.5333 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.4689, allocations: 8.062 kB / 0.5333 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4689, allocations: 2.312 kB / 0.5333 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.4698, allocations: 0.8044 MB / 0.5341 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4699, allocations: 122.6 kB / 0.5342 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.47, allocations: 14.56 kB / 0.5342 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.4703, allocations: 20.55 kB / 0.5343 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.4704, allocations: 40.42 kB / 0.5343 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4705, allocations: 20.52 kB / 0.5343 GB, free: 8.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.471, allocations: 456.1 kB / 0.5347 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.471, allocations: 0 / 0.5347 GB, free: 8.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000542/0.4716, allocations: 80.5 kB / 0.5348 GB, free: 8.598 MB / 398.1 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.001123/0.4727, allocations: 0.4888 MB / 0.5353 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.4733, allocations: 300.6 kB / 0.5356 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4734, allocations: 1.156 kB / 0.5356 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.4737, allocations: 142.6 kB / 0.5357 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4747, allocations: 142.1 kB / 0.5359 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4762, allocations: 0.8535 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.4766, allocations: 0.8516 MB / 0.5375 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4769, allocations: 91.62 kB / 0.5376 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.477, allocations: 55.02 kB / 0.5377 GB, free: 6.703 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.477, allocations: 0 / 0.5377 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Templates: time 0.012/0.489, allocations: 5.852 MB / 0.5434 GB, free: 2.664 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches