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.001624/0.001624, allocations: 117.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002069/0.002069, allocations: 204.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, 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.2523/0.2523, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 481.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4088, 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.004292/0.4132, allocations: 2.042 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.4153, allocations: 1.1 MB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.4154, allocations: 6 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.4158, allocations: 49.7 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.4162, allocations: 112.6 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.4165, allocations: 107.5 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.4168, allocations: 205.1 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4169, allocations: 43.89 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.4171, allocations: 78.58 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.4173, allocations: 80.08 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.4173, allocations: 12.31 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.4175, allocations: 55.58 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.4176, allocations: 36.09 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.4177, allocations: 72.08 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.4181, allocations: 195.7 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4181, allocations: 1.375 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4181, allocations: 7.938 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4181, allocations: 0 / 0.5351 GB, free: 10.45 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.001171/0.4193, allocations: 0.563 MB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4193, allocations: 8.25 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.4194, allocations: 19.41 kB / 0.5357 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.42, allocations: 256 kB / 0.536 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.42, allocations: 12.44 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.42, allocations: 13.52 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.4205, allocations: 145.7 kB / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4205, allocations: 0 / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.4206, allocations: 6.094 kB / 0.5361 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4206, allocations: 6.094 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.4211, allocations: 107.5 kB / 0.5362 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.4219, allocations: 0.5471 MB / 0.5368 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.4227, allocations: 159.3 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.4231, allocations: 72.83 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.4231, allocations: 2.469 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.4237, allocations: 140.3 kB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 4.458e-06/0.4237, allocations: 0 / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001081/0.4248, allocations: 257.2 kB / 0.5374 GB, free: 8.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.4248, allocations: 61.66 kB / 0.5374 GB, free: 8.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.4252, allocations: 230 kB / 0.5377 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4252, allocations: 31.7 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4253, allocations: 129.4 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.4254, allocations: 44.16 kB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4255, allocations: 33.73 kB / 0.5379 GB, free: 8.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4257, allocations: 327.5 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.426, allocations: 68.5 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.4263, allocations: 111.9 kB / 0.5384 GB, free: 7.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.4269, allocations: 195.6 kB / 0.5386 GB, free: 7.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4269, allocations: 0 / 0.5386 GB, free: 7.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007702/0.4277, allocations: 268.9 kB / 0.5388 GB, free: 7.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.4277, allocations: 34.73 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4277, allocations: 1.094 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4278, allocations: 2.25 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.428, allocations: 36.56 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.428, allocations: 2.25 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.4282, allocations: 30.28 kB / 0.5389 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4282, allocations: 4.75 kB / 0.5389 GB, free: 7.273 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.0001679/0.4284, allocations: 145.8 kB / 0.5391 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.4285, allocations: 21.28 kB / 0.5391 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.4285, allocations: 27.08 kB / 0.5391 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4285, allocations: 5.156 kB / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4286, allocations: 0 / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4286, allocations: 1.125 kB / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.4288, allocations: 229 kB / 0.5393 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4288, allocations: 4 kB / 0.5393 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.429, allocations: 28.25 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.429, allocations: 1.156 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.429, allocations: 4.906 kB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.4291, allocations: 4.938 kB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4291, allocations: 0 / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.43, allocations: 306.3 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.4301, allocations: 93.17 kB / 0.5397 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.4301, allocations: 10.17 kB / 0.5398 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4303, allocations: 24.19 kB / 0.5398 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.4304, allocations: 13.83 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4304, allocations: 4.344 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.4306, allocations: 174.3 kB / 0.54 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4306, allocations: 1.562 kB / 0.54 GB, free: 6.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.4309, allocations: 44.42 kB / 0.54 GB, free: 6.371 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.001146/0.4321, allocations: 403.5 kB / 0.5404 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.4328, allocations: 223.5 kB / 0.5406 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4328, allocations: 1.469 kB / 0.5406 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.4331, allocations: 75.78 kB / 0.5407 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4335, allocations: 52.56 kB / 0.5407 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.4343, allocations: 315.7 kB / 0.541 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4347, allocations: 0.7238 MB / 0.5417 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.4348, allocations: 28.67 kB / 0.5418 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.4349, allocations: 26.3 kB / 0.5418 GB, free: 4.984 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4349, allocations: 0 / 0.5418 GB, free: 4.984 MB / 398.1 MB Notification: Performance of Templates: time 0.008535/0.4434, allocations: 2.92 MB / 0.5446 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)