Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 121.2 kB / 17.79 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001439, allocations: 204.6 kB / 18.73 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 79.88 kB / 481.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4873, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00412/0.4915, allocations: 2.036 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.4936, allocations: 1.109 MB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.4937, allocations: 1.375 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.4941, allocations: 50.64 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.4946, allocations: 115.4 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.4949, allocations: 108.3 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.4952, allocations: 205.6 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4954, allocations: 32.16 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.4955, allocations: 90.47 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4957, allocations: 72.66 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.4957, allocations: 15.12 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4958, allocations: 56.45 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.4959, allocations: 40.55 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.4961, allocations: 79.44 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.4965, allocations: 196.6 kB / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4966, allocations: 0 / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4966, allocations: 0 / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4966, allocations: 0 / 0.5351 GB, free: 10.44 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001024/0.4976, allocations: 0.5595 MB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4977, allocations: 12.73 kB / 0.5357 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.4977, allocations: 17.88 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.4981, allocations: 256.3 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.4982, allocations: 8.5 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.4982, allocations: 15 kB / 0.536 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.4987, allocations: 151.2 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4987, allocations: 1.094 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4988, allocations: 5.031 kB / 0.5361 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4988, allocations: 2.062 kB / 0.5361 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.4992, allocations: 111.1 kB / 0.5362 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.5, allocations: 0.5428 MB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.5007, allocations: 167.8 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.501, allocations: 73.2 kB / 0.537 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.5011, allocations: 2.406 kB / 0.537 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004727/0.5016, allocations: 136.7 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.5016, allocations: 3.938 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.5026, allocations: 257.4 kB / 0.5374 GB, free: 8.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.5027, allocations: 65.41 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.5031, allocations: 229.1 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.5032, allocations: 27.61 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5033, allocations: 129 kB / 0.5378 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.5034, allocations: 36.7 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.5035, allocations: 38.73 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5037, allocations: 327.1 kB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.504, allocations: 72.92 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.5043, allocations: 103.6 kB / 0.5384 GB, free: 7.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.5049, allocations: 198.6 kB / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.505, allocations: 0 / 0.5386 GB, free: 7.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007945/0.5058, allocations: 258.8 kB / 0.5388 GB, free: 7.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.5059, allocations: 31.77 kB / 0.5388 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5059, allocations: 1.656 kB / 0.5388 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.5059, allocations: 5.344 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5061, allocations: 40.47 kB / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5062, allocations: 10.23 kB / 0.5389 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5064, allocations: 26.08 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5064, allocations: 9.484 kB / 0.5389 GB, free: 7.262 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.0002002/0.5066, allocations: 137.5 kB / 0.539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.5066, allocations: 21.12 kB / 0.5391 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.83e-05/0.5067, allocations: 26.27 kB / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.5068, allocations: 7.156 kB / 0.5391 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5068, allocations: 7.938 kB / 0.5391 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5068, allocations: 0 / 0.5391 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.5071, allocations: 231.9 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5071, allocations: 1.281 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.5073, allocations: 27.88 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5073, allocations: 1.219 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.5073, allocations: 1.031 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.5073, allocations: 5.156 kB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5073, allocations: 0 / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5084, allocations: 302.4 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.5085, allocations: 97.34 kB / 0.5397 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.5085, allocations: 5.125 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.5087, allocations: 27.75 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5088, allocations: 19.39 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.5088, allocations: 3.312 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.5092, allocations: 174.9 kB / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5092, allocations: 0 / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.5095, allocations: 41.36 kB / 0.54 GB, free: 6.363 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.001168/0.5107, allocations: 411 kB / 0.5404 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.5114, allocations: 209.1 kB / 0.5406 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5114, allocations: 0 / 0.5406 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5118, allocations: 89.02 kB / 0.5407 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.5122, allocations: 51 kB / 0.5407 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5132, allocations: 312.4 kB / 0.541 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.5137, allocations: 0.7269 MB / 0.5417 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.5139, allocations: 25.17 kB / 0.5418 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.5139, allocations: 25.7 kB / 0.5418 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.514, allocations: 1.094 kB / 0.5418 GB, free: 4.98 MB / 398.1 MB Notification: Performance of Templates: time 0.007608/0.5216, allocations: 2.846 MB / 0.5446 GB, free: 3.551 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)