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.001599/0.001606, allocations: 114.9 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 214.8 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 79.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3585, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003523/0.3621, allocations: 2.04 MB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.364, allocations: 1.104 MB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.3642, allocations: 6.125 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3645, allocations: 50.06 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.3649, allocations: 108.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3652, allocations: 111.1 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3655, allocations: 206 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3657, allocations: 35.41 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3658, allocations: 85.88 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.366, allocations: 77.61 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3661, allocations: 11 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3662, allocations: 57.05 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.3663, allocations: 40.09 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.3664, allocations: 76.08 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.3667, allocations: 191.7 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3667, allocations: 0 / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3667, allocations: 3.938 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3667, allocations: 1.375 kB / 0.5358 GB, free: 10.43 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.001001/0.3678, allocations: 0.5656 MB / 0.5364 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3678, allocations: 12.75 kB / 0.5364 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.3679, allocations: 22.41 kB / 0.5364 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3683, allocations: 252.6 kB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3683, allocations: 7.812 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.3684, allocations: 13.41 kB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3688, allocations: 150.1 kB / 0.5368 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3688, allocations: 3.984 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3688, allocations: 2.594 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3689, allocations: 1.156 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.3693, allocations: 112.3 kB / 0.5369 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.37, allocations: 0.5425 MB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.3707, allocations: 159.5 kB / 0.5376 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.3709, allocations: 73.55 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3709, allocations: 1.094 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.3713, allocations: 149.4 kB / 0.5378 GB, free: 8.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/0.3714, allocations: 0 / 0.5378 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008681/0.3722, allocations: 253.4 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3723, allocations: 65.09 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3725, allocations: 230.2 kB / 0.5383 GB, free: 8.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3726, allocations: 26.77 kB / 0.5384 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.3727, allocations: 133.4 kB / 0.5385 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.3727, allocations: 41.41 kB / 0.5385 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.3728, allocations: 33.62 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3729, allocations: 330.9 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3732, allocations: 68.81 kB / 0.5389 GB, free: 7.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.3735, allocations: 112.2 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.374, allocations: 197.2 kB / 0.5392 GB, free: 7.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.374, allocations: 1.156 kB / 0.5392 GB, free: 7.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006798/0.3747, allocations: 249.3 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.3747, allocations: 40.75 kB / 0.5395 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3747, allocations: 0.9375 kB / 0.5395 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3748, allocations: 2.094 kB / 0.5395 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.375, allocations: 36.72 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.375, allocations: 6.5 kB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3752, allocations: 29.41 kB / 0.5396 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3752, allocations: 8.969 kB / 0.5396 GB, free: 7.246 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.0001279/0.3754, allocations: 146.2 kB / 0.5397 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3754, allocations: 20.75 kB / 0.5397 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3755, allocations: 18.91 kB / 0.5398 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3755, allocations: 5.078 kB / 0.5398 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3755, allocations: 3.938 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.3756, allocations: 96.92 kB / 0.5399 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3756, allocations: 6 kB / 0.5399 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3758, allocations: 20.03 kB / 0.5399 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.3758, allocations: 18.56 kB / 0.5399 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007065/0.3766, allocations: 290.8 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008873/0.3775, allocations: 451.8 kB / 0.5406 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002478/0.3777, allocations: 79.61 kB / 0.5407 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3779, allocations: 171 kB / 0.5409 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3779, allocations: 0 / 0.5409 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3796, allocations: 0.5828 MB / 0.5414 GB, free: 5.945 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009944/0.3806, allocations: 0.7843 MB / 0.5422 GB, free: 5.223 MB / 398.1 MB Notification: Performance of Templates: time 0.009832/0.3905, allocations: 3.305 MB / 0.5454 GB, free: 3.461 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)