Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001443/0.001443, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0017/0.0017, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3148/0.3148, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 0 / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.476e-05/4.851e-05, allocations: 14.25 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005685/0.005733, allocations: 2.028 MB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.008473, allocations: 1.075 MB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.008677, allocations: 7.938 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.00914, allocations: 51.56 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.00958, allocations: 115.3 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.01001, allocations: 115.5 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.01038, allocations: 215.3 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.01055, allocations: 25.78 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.01079, allocations: 107.7 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.01095, allocations: 59.8 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.01098, allocations: 12 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.01112, allocations: 59.84 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01123, allocations: 39.84 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.01131, allocations: 43.84 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.01163, allocations: 167.4 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01164, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01164, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01164, allocations: 4 kB / 382.7 MB, free: 14.17 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.0009141/0.01256, allocations: 0.5846 MB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.01263, allocations: 12.03 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.01271, allocations: 32.8 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.01301, allocations: 184.2 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01304, allocations: 8.375 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.01307, allocations: 4.375 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.01337, allocations: 177.6 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01339, allocations: 3.938 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.0134, allocations: 8 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.01341, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.01348, allocations: 35.14 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.01417, allocations: 0.5683 MB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.01448, allocations: 83.08 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.01454, allocations: 27.67 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.01457, allocations: 7.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.01481, allocations: 126.6 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/0.01481, allocations: 0 / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003321/0.01514, allocations: 125.5 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.01521, allocations: 59.41 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.01545, allocations: 266.6 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.01548, allocations: 33.7 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01563, allocations: 175 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01566, allocations: 43.81 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.01573, allocations: 43.34 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.01594, allocations: 0.5039 MB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.01603, allocations: 41.69 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.01612, allocations: 106.6 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.01624, allocations: 118.7 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01624, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002551/0.0165, allocations: 196.8 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.01655, allocations: 29.7 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01656, allocations: 0 / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01658, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.0167, allocations: 31.97 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01671, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.0168, allocations: 27.81 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01681, allocations: 4.125 kB / 386.3 MB, free: 10.21 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.0001415/0.01695, allocations: 181 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.01699, allocations: 27.86 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.01724, allocations: 127.1 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01724, allocations: 4 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01724, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01725, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.0174, allocations: 153 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.01741, allocations: 0 / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01751, allocations: 15.98 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.01752, allocations: 8 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01754, allocations: 8 kB / 386.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01754, allocations: 0 / 386.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01754, allocations: 0 / 386.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.01783, allocations: 191.4 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.01786, allocations: 23.83 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01788, allocations: 4 kB / 387 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.01796, allocations: 15.98 kB / 387.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.01801, allocations: 19.91 kB / 387.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.01803, allocations: 4 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01814, allocations: 185.8 kB / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01814, allocations: 0 / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.01836, allocations: 39.94 kB / 387.3 MB, free: 9.164 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.001047/0.01941, allocations: 388.5 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01968, allocations: 164.7 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01968, allocations: 0 / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.01974, allocations: 39.61 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.02005, allocations: 51.81 kB / 387.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.0207, allocations: 318.8 kB / 388.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.02076, allocations: 71.98 kB / 388.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.02083, allocations: 17.48 kB / 388.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.02098, allocations: 110.2 kB / 388.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.02098, allocations: 0 / 388.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of Templates: time 0.006907/0.02789, allocations: 3.371 MB / 391.8 MB, free: 4.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5596437747590244]