Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.00121/0.00121, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.236/0.236, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4507, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003505/0.4542, allocations: 2.016 MB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4559, allocations: 0.9655 MB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.4561, allocations: 2.844 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.4564, allocations: 47.7 kB / 0.5219 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.4568, allocations: 82.12 kB / 0.522 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.4572, allocations: 138.6 kB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.4575, allocations: 196.6 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4576, allocations: 29.73 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.4578, allocations: 82.17 kB / 0.5224 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.4579, allocations: 77.81 kB / 0.5225 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.4579, allocations: 11.38 kB / 0.5225 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4581, allocations: 50.09 kB / 0.5226 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.4582, allocations: 40.55 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.4583, allocations: 67.27 kB / 0.5227 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.4586, allocations: 195.2 kB / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4586, allocations: 2.172 kB / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4586, allocations: 0 / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4586, allocations: 4 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008932/0.4595, allocations: 0.5562 MB / 0.5234 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4596, allocations: 9.688 kB / 0.5234 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.4596, allocations: 19.17 kB / 0.5234 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4599, allocations: 250.2 kB / 0.5237 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.46, allocations: 9.578 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.46, allocations: 13.81 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.4604, allocations: 145.7 kB / 0.5238 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.4604, allocations: 3.938 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.4604, allocations: 3.984 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4605, allocations: 7.922 kB / 0.5238 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.4609, allocations: 113.2 kB / 0.5239 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.4616, allocations: 0.5366 MB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.4624, allocations: 162 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.4626, allocations: 82.2 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4627, allocations: 2.266 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.4631, allocations: 133.3 kB / 0.5248 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.4631, allocations: 0 / 0.5248 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009246/0.464, allocations: 262 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4641, allocations: 58.77 kB / 0.5251 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.4643, allocations: 224.6 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4644, allocations: 31.2 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.4645, allocations: 127.3 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.4645, allocations: 44.02 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.4646, allocations: 37.62 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4648, allocations: 328.4 kB / 0.5259 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.4651, allocations: 65.25 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.4654, allocations: 111.3 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.4661, allocations: 194.5 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4661, allocations: 1.375 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007664/0.4669, allocations: 247.8 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.4669, allocations: 39.66 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.467, allocations: 1.375 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.467, allocations: 2.031 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.4672, allocations: 42.5 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4673, allocations: 5.312 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4675, allocations: 28.95 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.4675, allocations: 6.156 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.4677, allocations: 135.2 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.4678, allocations: 18.47 kB / 0.5268 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.4678, allocations: 25 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4679, allocations: 9.25 kB / 0.5268 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4679, allocations: 0 / 0.5268 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4679, allocations: 4.453 kB / 0.5268 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.4682, allocations: 233.1 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4682, allocations: 0 / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4683, allocations: 27.03 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4683, allocations: 1.375 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4684, allocations: 13.31 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4684, allocations: 5.312 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4684, allocations: 0 / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.4693, allocations: 297.3 kB / 0.5273 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.4694, allocations: 89.11 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.4694, allocations: 14.7 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4696, allocations: 22.28 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.4697, allocations: 15.77 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.4697, allocations: 3.875 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4699, allocations: 164.7 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.47, allocations: 4.062 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.4702, allocations: 45.03 kB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001002/0.4712, allocations: 419.2 kB / 0.5281 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.4719, allocations: 213.3 kB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4719, allocations: 5.219 kB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.4722, allocations: 80.72 kB / 0.5284 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4726, allocations: 40.53 kB / 0.5284 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008358/0.4735, allocations: 310.1 kB / 0.5287 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4738, allocations: 0.7336 MB / 0.5294 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.4739, allocations: 20.52 kB / 0.5294 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.474, allocations: 22.44 kB / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.474, allocations: 1 kB / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Templates: time 0.006651/0.4807, allocations: 2.916 MB / 0.5323 GB, free: 10.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)