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.00142/0.00142, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 79.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4068, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003796/0.4107, allocations: 2.035 MB / 0.5337 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.4125, allocations: 1.113 MB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.4126, allocations: 1.375 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.413, allocations: 54.62 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.4133, allocations: 108.3 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.4136, allocations: 115 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.4139, allocations: 201.9 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.414, allocations: 28.8 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.4141, allocations: 93.27 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4143, allocations: 72.53 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.4143, allocations: 12.12 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4144, allocations: 60.16 kB / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.4145, allocations: 40.62 kB / 0.5355 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.4146, allocations: 72.06 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.4149, allocations: 195 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4149, allocations: 5.297 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.415, allocations: 0 / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.415, allocations: 0 / 0.5358 GB, free: 10.46 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.0009316/0.4159, allocations: 0.559 MB / 0.5363 GB, free: 9.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4159, allocations: 12.78 kB / 0.5364 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.416, allocations: 18.06 kB / 0.5364 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.4164, allocations: 256.3 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4164, allocations: 9.062 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4164, allocations: 9.688 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.4169, allocations: 160.2 kB / 0.5368 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4169, allocations: 0 / 0.5368 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4169, allocations: 5.062 kB / 0.5368 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4169, allocations: 2.312 kB / 0.5368 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.4174, allocations: 108 kB / 0.5369 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.418, allocations: 0.5501 MB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.4187, allocations: 163.7 kB / 0.5376 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.419, allocations: 69.73 kB / 0.5377 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.419, allocations: 5.141 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.4194, allocations: 141.1 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 4.629e-06/0.4194, allocations: 0 / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008558/0.4203, allocations: 253.5 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4203, allocations: 65.56 kB / 0.5381 GB, free: 8.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.4206, allocations: 229.5 kB / 0.5383 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.4206, allocations: 31.73 kB / 0.5384 GB, free: 8.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.4207, allocations: 129.5 kB / 0.5385 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4208, allocations: 39.98 kB / 0.5385 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.4208, allocations: 30.34 kB / 0.5385 GB, free: 8.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.421, allocations: 331.3 kB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.4212, allocations: 72.5 kB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.4215, allocations: 102.4 kB / 0.539 GB, free: 7.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.422, allocations: 197.4 kB / 0.5392 GB, free: 7.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.422, allocations: 5.094 kB / 0.5392 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006263/0.4226, allocations: 253.2 kB / 0.5395 GB, free: 7.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.4227, allocations: 40.16 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4227, allocations: 1.375 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4227, allocations: 2.344 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.4229, allocations: 40.44 kB / 0.5395 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4229, allocations: 2.375 kB / 0.5395 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4231, allocations: 33.38 kB / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.4231, allocations: 5.406 kB / 0.5396 GB, free: 7.281 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.0001332/0.4232, allocations: 137.8 kB / 0.5397 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.4233, allocations: 20.44 kB / 0.5397 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.4233, allocations: 23.33 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4234, allocations: 6.469 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4234, allocations: 3.938 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4234, allocations: 4 kB / 0.5398 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4236, allocations: 236.9 kB / 0.54 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4236, allocations: 0 / 0.54 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.4238, allocations: 20.67 kB / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4238, allocations: 3.984 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4238, allocations: 1.562 kB / 0.54 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4238, allocations: 9.344 kB / 0.54 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4238, allocations: 0 / 0.54 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.4246, allocations: 305.9 kB / 0.5403 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.4247, allocations: 93.05 kB / 0.5404 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4247, allocations: 1.5 kB / 0.5404 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4249, allocations: 31.91 kB / 0.5404 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.425, allocations: 22.59 kB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.425, allocations: 3.875 kB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.4252, allocations: 171.2 kB / 0.5406 GB, free: 6.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4252, allocations: 1.219 kB / 0.5406 GB, free: 6.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4254, allocations: 36.25 kB / 0.5407 GB, free: 6.387 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.0009946/0.4264, allocations: 410.7 kB / 0.5411 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.4271, allocations: 220.6 kB / 0.5413 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4271, allocations: 1.188 kB / 0.5413 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.4274, allocations: 74.84 kB / 0.5413 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.4277, allocations: 56.31 kB / 0.5414 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/0.4284, allocations: 340.4 kB / 0.5417 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4287, allocations: 0.7255 MB / 0.5424 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4288, allocations: 22.69 kB / 0.5424 GB, free: 4.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4288, allocations: 1.469 kB / 0.5425 GB, free: 4.992 MB / 398.1 MB Notification: Performance of Templates: time 0.005547/0.4344, allocations: 2.861 MB / 0.5452 GB, free: 3.5 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)