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.001009/0.001009, allocations: 80.34 kB / 22.21 MB, free: 2.277 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.001125/0.001125, allocations: 165.6 kB / 25.61 MB, free: 8.898 MB / 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 0.9583/0.9583, allocations: 177 MB / 205.9 MB, free: 4.449 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.1497/0.1497, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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 1.533e-06/1.533e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.715e-05, allocations: 2.312 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002566/0.002583, allocations: 2.042 MB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003842, allocations: 1.067 MB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.003941, allocations: 7.938 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.004226, allocations: 51.62 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.004505, allocations: 119.3 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.004712, allocations: 111.6 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.004932, allocations: 215.3 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.00503, allocations: 25.78 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.00516, allocations: 111.7 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.005255, allocations: 59.8 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.005277, allocations: 12 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.005362, allocations: 59.91 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.005416, allocations: 39.84 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.00547, allocations: 43.84 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005691, allocations: 167.4 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005693, allocations: 0 / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005694, allocations: 4 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005697, allocations: 0 / 384.2 MB, free: 18.53 MB / 314.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.0005587/0.006256, allocations: 0.5769 MB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.006291, allocations: 12.03 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.006347, allocations: 32.8 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006545, allocations: 188.2 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006563, allocations: 8.375 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.006586, allocations: 4.375 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.006803, allocations: 165.5 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006812, allocations: 192 / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.006824, allocations: 8.375 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.006832, allocations: 3.938 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.017e-05/0.006892, allocations: 35.86 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.007257, allocations: 0.5683 MB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.007441, allocations: 83.08 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.00748, allocations: 27.66 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.007494, allocations: 4 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.007619, allocations: 122.6 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.00762, allocations: 3.938 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002251/0.007845, allocations: 133.5 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.007867, allocations: 59.34 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.007985, allocations: 266.8 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.008, allocations: 33.7 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.008056, allocations: 179 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.008081, allocations: 35.72 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.008132, allocations: 43.34 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.008186, allocations: 0.504 MB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.008225, allocations: 41.69 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.008284, allocations: 105.4 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.061e-05/0.008354, allocations: 127.4 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008356, allocations: 3.938 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001476/0.008504, allocations: 184.9 kB / 387.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.008523, allocations: 37.69 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008527, allocations: 0 / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.008537, allocations: 4.125 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.008618, allocations: 35.92 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.008621, allocations: 3.984 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.008685, allocations: 27.88 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.008694, allocations: 4 kB / 387.8 MB, free: 14.57 MB / 314.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 5.39e-05/0.008748, allocations: 173.5 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.008768, allocations: 27.86 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.008894, allocations: 127 kB / 388.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.008896, allocations: 0 / 388.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008897, allocations: 4 kB / 388.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008901, allocations: 7.984 kB / 388.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.008981, allocations: 137.2 kB / 388.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008982, allocations: 0 / 388.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.009036, allocations: 15.98 kB / 388.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.009039, allocations: 3.938 kB / 388.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.009049, allocations: 15.98 kB / 388.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009049, allocations: 0 / 388.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00905, allocations: 0 / 388.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.009202, allocations: 191.8 kB / 388.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.009217, allocations: 23.81 kB / 388.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.009235, allocations: 4 kB / 388.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.009286, allocations: 15.98 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.009325, allocations: 15.97 kB / 388.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.009335, allocations: 4 kB / 388.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.009384, allocations: 181.7 kB / 388.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009384, allocations: 0 / 388.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.00954, allocations: 39.95 kB / 388.8 MB, free: 13.54 MB / 314.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.0007775/0.01032, allocations: 395.5 kB / 389.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.01045, allocations: 164.6 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.01045, allocations: 0 / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.0105, allocations: 35.92 kB / 389.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.01068, allocations: 56.69 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.01099, allocations: 304.4 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.01102, allocations: 83.78 kB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.01107, allocations: 17.47 kB / 389.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.01115, allocations: 118.2 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01115, allocations: 0 / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of Templates: time 0.003974/0.01513, allocations: 3.425 MB / 393.4 MB, free: 9.098 MB / 314.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.1838360242545605]