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.002698/0.002698, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003029/0.003029, allocations: 160.8 kB / 24.27 MB, free: 156 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.595/1.595, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3911/0.3911, allocations: 34.26 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.366e-05, allocations: 6.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003938/0.003972, allocations: 2.011 MB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.006279, allocations: 1.083 MB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.006409, allocations: 7.938 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.006795, allocations: 51.58 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.007226, allocations: 119.3 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.007541, allocations: 107.6 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.007883, allocations: 215.2 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.007992, allocations: 13.81 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.008203, allocations: 115.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.008338, allocations: 59.8 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.008379, allocations: 16 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.008503, allocations: 55.86 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.008589, allocations: 43.83 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.008677, allocations: 47.83 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.00904, allocations: 199.4 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.009043, allocations: 0 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.009045, allocations: 0 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.00905, allocations: 0 / 381.4 MB, free: 14.67 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.001036/0.01009, allocations: 0.5882 MB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.01013, allocations: 12.03 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.76e-05/0.01023, allocations: 32.78 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.01057, allocations: 188.2 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01059, allocations: 4.375 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.01063, allocations: 16.3 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.01103, allocations: 170.9 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01104, allocations: 192 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01106, allocations: 4.375 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.01107, allocations: 7.938 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.01139, allocations: 83.88 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.01226, allocations: 0.6263 MB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.01283, allocations: 143 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.01303, allocations: 59.64 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.01305, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.01342, allocations: 154.6 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.01342, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000985/0.0144, allocations: 221.4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.01448, allocations: 55.39 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.01483, allocations: 306.8 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.01486, allocations: 29.7 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01501, allocations: 179 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.01506, allocations: 43.73 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.01515, allocations: 43.36 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003035/0.01545, allocations: 0.5118 MB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.01567, allocations: 85.61 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.01595, allocations: 148 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.01635, allocations: 179.4 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01635, allocations: 0 / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005897/0.01694, allocations: 260.8 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.01699, allocations: 36.5 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.017, allocations: 0 / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01701, allocations: 4 kB / 385.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01717, allocations: 31.92 kB / 385.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.01718, allocations: 8.125 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01733, allocations: 23.88 kB / 385.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.01735, allocations: 8 kB / 385.6 MB, free: 10.12 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.0001755/0.01752, allocations: 180.9 kB / 385.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.01757, allocations: 27.86 kB / 385.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.01809, allocations: 179.1 kB / 386 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.0181, allocations: 4 kB / 386 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.0181, allocations: 0 / 386 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01811, allocations: 7.938 kB / 386 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01835, allocations: 192.5 kB / 386.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01835, allocations: 0 / 386.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.01847, allocations: 15.98 kB / 386.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.01848, allocations: 4 kB / 386.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.0185, allocations: 4 kB / 386.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0185, allocations: 0 / 386.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0185, allocations: 0 / 386.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.01924, allocations: 288.1 kB / 386.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.01927, allocations: 19.84 kB / 386.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.01931, allocations: 7.984 kB / 386.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01944, allocations: 19.92 kB / 386.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.01952, allocations: 19.97 kB / 386.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.01954, allocations: 4 kB / 386.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.01977, allocations: 209.8 kB / 386.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01977, allocations: 0 / 386.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.02002, allocations: 35.95 kB / 386.8 MB, free: 8.859 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.002946/0.02297, allocations: 449.1 kB / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.02354, allocations: 224.4 kB / 387.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.02354, allocations: 4 kB / 387.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.02377, allocations: 71.59 kB / 387.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.02415, allocations: 56.61 kB / 387.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.02494, allocations: 322.8 kB / 387.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.02507, allocations: 112.2 kB / 388 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.891e-05/0.02517, allocations: 21.48 kB / 388.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.02524, allocations: 20.5 kB / 388.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02524, allocations: 0 / 388.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of Templates: time 0.007975/0.03321, allocations: 3.096 MB / 391.2 MB, free: 4.617 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: 5.09915150294546]