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.001495/0.001495, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001682/0.001683, allocations: 183 kB / 18.71 MB, free: 4.34 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.494/1.494, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2254/0.2254, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4658, allocations: 60.81 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00364/0.4695, allocations: 2.023 MB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.4713, allocations: 0.9688 MB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4714, allocations: 2.188 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.4718, allocations: 49.28 kB / 0.5219 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.4721, allocations: 77.41 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.4725, allocations: 138.2 kB / 0.5221 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.4728, allocations: 196 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4729, allocations: 31.22 kB / 0.5223 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.4731, allocations: 82.92 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.4733, allocations: 76.7 kB / 0.5225 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.4733, allocations: 10.78 kB / 0.5225 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4735, allocations: 50.88 kB / 0.5226 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.4735, allocations: 36.61 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.4737, allocations: 75.08 kB / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.474, allocations: 196.5 kB / 0.5229 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.474, allocations: 0 / 0.5229 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.474, allocations: 0 / 0.5229 GB, free: 1.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.4741, allocations: 0 / 0.5229 GB, free: 1.047 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.001023/0.4751, allocations: 0.5598 MB / 0.5234 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4751, allocations: 9.609 kB / 0.5234 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.4752, allocations: 22.84 kB / 0.5234 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.4756, allocations: 246.5 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4756, allocations: 4.406 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.4757, allocations: 19.38 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.4761, allocations: 147.2 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4762, allocations: 5.75 kB / 0.5238 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4762, allocations: 0.6562 kB / 0.5238 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4762, allocations: 7.547 kB / 0.5238 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.4767, allocations: 112 kB / 0.5239 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.4775, allocations: 0.5465 MB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.4782, allocations: 160.6 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.4785, allocations: 77.19 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4786, allocations: 1.797 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.479, allocations: 137.5 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.4791, allocations: 0 / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009997/0.4801, allocations: 254.1 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4801, allocations: 62.83 kB / 0.5251 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.4804, allocations: 228.7 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4804, allocations: 31.86 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4806, allocations: 124.9 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.4806, allocations: 41.06 kB / 0.5255 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.4807, allocations: 36.77 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4809, allocations: 329.2 kB / 0.5259 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.4811, allocations: 68.78 kB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.4815, allocations: 105.2 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.482, allocations: 194.2 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.482, allocations: 1.375 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006986/0.4827, allocations: 251.7 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.4828, allocations: 33.84 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4828, allocations: 1.375 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4828, allocations: 1.375 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.483, allocations: 41.36 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4831, allocations: 7.203 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4833, allocations: 38.38 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4833, allocations: 9.5 kB / 0.5266 GB, free: 14.31 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.000138/0.4834, allocations: 126.2 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.4835, allocations: 20.05 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.4835, allocations: 18.91 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4836, allocations: 9.25 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4836, allocations: 1.375 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4836, allocations: 0 / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4839, allocations: 231.7 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4839, allocations: 4 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.4841, allocations: 32.34 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4841, allocations: 1.375 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4842, allocations: 5.375 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4842, allocations: 3.938 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4842, allocations: 1.375 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008912/0.4851, allocations: 296.9 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.4851, allocations: 89.05 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.4852, allocations: 14.67 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4854, allocations: 22.91 kB / 0.5275 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.4854, allocations: 18.92 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4855, allocations: 4.125 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4856, allocations: 164.3 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4857, allocations: 0 / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.4859, allocations: 41.25 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.001206/0.4871, allocations: 425.4 kB / 0.5281 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.4879, allocations: 224.4 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4879, allocations: 1.375 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.4882, allocations: 75.38 kB / 0.5284 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.4886, allocations: 49.16 kB / 0.5284 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4897, allocations: 307.8 kB / 0.5287 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.4903, allocations: 0.725 MB / 0.5294 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.4904, allocations: 25.47 kB / 0.5294 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.4904, allocations: 18.84 kB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4904, allocations: 0 / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.008388/0.4988, allocations: 2.837 MB / 0.5322 GB, free: 10.64 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)