Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 166.5 kB / 25.61 MB, free: 8.492 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1514/0.1514, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.238e-05, allocations: 2.312 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00252/0.002553, allocations: 2.028 MB / 379.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003819, allocations: 1.087 MB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.00397, allocations: 0 / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.004289, allocations: 51.58 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.004617, allocations: 119.3 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.004877, allocations: 111.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.005102, allocations: 219.2 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005207, allocations: 21.8 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.005343, allocations: 103.7 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.005442, allocations: 63.8 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.005462, allocations: 12 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.005564, allocations: 55.86 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.005619, allocations: 43.83 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.00567, allocations: 51.83 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005899, allocations: 163.4 kB / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005903, allocations: 0 / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005904, allocations: 0 / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005909, allocations: 0 / 381.5 MB, free: 21.39 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.0005546/0.006463, allocations: 0.5807 MB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.00651, allocations: 15.97 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.006567, allocations: 32.8 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.006752, allocations: 180.2 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.006772, allocations: 12.36 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.006796, allocations: 8.375 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.007001, allocations: 163.6 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.007013, allocations: 3.938 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.007024, allocations: 0 / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.00703, allocations: 4 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.007084, allocations: 35.84 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.007438, allocations: 0.5723 MB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.007637, allocations: 83.06 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.007671, allocations: 27.67 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007688, allocations: 0 / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.007815, allocations: 122.5 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.007816, allocations: 3.938 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002197/0.008036, allocations: 133.5 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.008064, allocations: 55.39 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.008174, allocations: 270.8 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.008188, allocations: 25.7 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.008249, allocations: 187 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.008272, allocations: 35.72 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.008317, allocations: 39.34 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.008374, allocations: 0.5078 MB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.008421, allocations: 49.67 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.00847, allocations: 100 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.008556, allocations: 120 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008559, allocations: 3.938 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001834/0.008742, allocations: 195.2 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.008772, allocations: 37.7 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.00878, allocations: 0 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.008792, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.008893, allocations: 31.97 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.008896, allocations: 4.125 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.008972, allocations: 23.88 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.008982, allocations: 8 kB / 385.1 MB, free: 17.43 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 7.276e-05/0.009055, allocations: 169.5 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.009077, allocations: 27.84 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.009238, allocations: 127.1 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00924, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.009242, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009246, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.526e-05/0.009341, allocations: 153.1 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009343, allocations: 0 / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.009419, allocations: 23.92 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.009422, allocations: 4 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.009432, allocations: 4 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009433, allocations: 0 / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009434, allocations: 0 / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.00961, allocations: 180.2 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.00963, allocations: 23.84 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.009651, allocations: 3.984 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.009707, allocations: 20.02 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.00975, allocations: 15.97 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.009764, allocations: 11.94 kB / 385.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.377e-05/0.009818, allocations: 185.7 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009818, allocations: 0 / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.009998, allocations: 35.95 kB / 386.1 MB, free: 16.4 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.0008673/0.01087, allocations: 396.8 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.01104, allocations: 159.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01104, allocations: 0 / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.01109, allocations: 47.58 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.01134, allocations: 67.64 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01181, allocations: 296.5 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.01184, allocations: 79.84 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.01189, allocations: 13.48 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.01199, allocations: 118.2 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01199, allocations: 4 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Templates: time 0.004863/0.01686, allocations: 3.42 MB / 390.6 MB, free: 11.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.216019401792437]