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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2884/0.2884, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] 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=5004,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=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.603e-05, allocations: 7.094 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00402/0.004056, allocations: 2.042 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.00619, allocations: 1.102 MB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.006359, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.006791, allocations: 47.56 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.007282, allocations: 119.3 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.007663, allocations: 115.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.008063, allocations: 207.3 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.008217, allocations: 25.78 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.008449, allocations: 103.7 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.008598, allocations: 67.78 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.008633, allocations: 12 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.008776, allocations: 55.91 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.008868, allocations: 31.86 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.008959, allocations: 47.83 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.009358, allocations: 175.3 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.009363, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.009364, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.00937, allocations: 4 kB / 383 MB, free: 13.86 MB / 362.7 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.0009484/0.01032, allocations: 0.5769 MB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.01037, allocations: 12.03 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.01046, allocations: 28.8 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.01079, allocations: 196.2 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.01082, allocations: 8.375 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.01086, allocations: 4.375 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.01122, allocations: 171.6 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01124, allocations: 192 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.01126, allocations: 8.375 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01127, allocations: 3.938 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.01138, allocations: 27.98 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.01217, allocations: 0.6184 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.01249, allocations: 87.09 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.01256, allocations: 31.67 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01259, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.01281, allocations: 130.6 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.01281, allocations: 0 / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003861/0.0132, allocations: 145.4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.01324, allocations: 51.41 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.01349, allocations: 270.7 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.01352, allocations: 33.7 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01363, allocations: 179 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.01366, allocations: 35.86 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.01374, allocations: 43.33 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.01391, allocations: 0.5078 MB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01402, allocations: 49.69 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.01414, allocations: 104.1 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.01433, allocations: 130.3 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.01434, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003599/0.0147, allocations: 204.8 kB / 386.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.01474, allocations: 29.7 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01475, allocations: 4 kB / 386.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.01478, allocations: 0 / 386.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.01494, allocations: 31.92 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.01495, allocations: 7.984 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01508, allocations: 28.02 kB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.0151, allocations: 7.984 kB / 386.7 MB, free: 9.789 MB / 362.7 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.000121/0.01522, allocations: 169 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.01526, allocations: 27.86 kB / 386.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.01556, allocations: 138.2 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01556, allocations: 4 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01557, allocations: 0 / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01557, allocations: 0 / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01576, allocations: 176.5 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01576, allocations: 0 / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01588, allocations: 23.98 kB / 387.2 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01589, allocations: 3.984 kB / 387.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.0159, allocations: 0 / 387.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01591, allocations: 7.938 kB / 387.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01591, allocations: 0 / 387.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.01628, allocations: 196.2 kB / 387.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.01631, allocations: 15.86 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.01635, allocations: 11.98 kB / 387.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01645, allocations: 11.98 kB / 387.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.01654, allocations: 24 kB / 387.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.01656, allocations: 8 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01671, allocations: 193.8 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01671, allocations: 0 / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000325/0.01704, allocations: 35.94 kB / 387.7 MB, free: 8.699 MB / 362.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001356/0.0184, allocations: 392.1 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.01871, allocations: 164.7 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01871, allocations: 0 / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.01882, allocations: 55.09 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.01919, allocations: 54.05 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.01988, allocations: 310.8 kB / 388.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01993, allocations: 71.98 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.02002, allocations: 25.45 kB / 388.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.02009, allocations: 28.48 kB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02009, allocations: 0 / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of Templates: time 0.007028/0.02712, allocations: 3.106 MB / 391.9 MB, free: 4.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.394544182345271]