Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001037/0.001037, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001041/0.001041, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 158.6 MB / 186.7 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1554/0.1554, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.426e-05, allocations: 4.281 kB / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002502/0.002527, allocations: 2.019 MB / 351 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003626, allocations: 0.8699 MB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.003738, allocations: 3.938 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.004094, allocations: 55.58 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.004337, allocations: 67.62 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.004617, allocations: 135.5 kB / 352.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.004841, allocations: 195.3 kB / 352.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.004966, allocations: 21.8 kB / 352.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.005138, allocations: 115.6 kB / 352.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005248, allocations: 55.81 kB / 352.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.005274, allocations: 12 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.005374, allocations: 55.91 kB / 352.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.005437, allocations: 35.84 kB / 352.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.005495, allocations: 43.84 kB / 352.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.005747, allocations: 167.4 kB / 352.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005751, allocations: 4 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005752, allocations: 0 / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.005759, allocations: 0 / 352.8 MB, free: 5.246 MB / 282.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.0006009/0.00636, allocations: 0.5729 MB / 353.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.006398, allocations: 8.031 kB / 353.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.006452, allocations: 32.78 kB / 353.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.006633, allocations: 185.2 kB / 353.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.006654, allocations: 8.375 kB / 353.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.006677, allocations: 12.38 kB / 353.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.006904, allocations: 167.5 kB / 353.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006914, allocations: 3.938 kB / 353.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006928, allocations: 4 kB / 353.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006936, allocations: 4 kB / 353.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.006987, allocations: 27.91 kB / 353.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.007408, allocations: 0.5761 MB / 354.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.007624, allocations: 87.06 kB / 354.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.00766, allocations: 27.67 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.007679, allocations: 4 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.007831, allocations: 118.7 kB / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.007834, allocations: 0 / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002428/0.008076, allocations: 133.4 kB / 354.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.008105, allocations: 59.41 kB / 354.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.008215, allocations: 254.9 kB / 355.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008229, allocations: 29.7 kB / 355.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.008286, allocations: 179 kB / 355.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.00831, allocations: 39.67 kB / 355.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.008353, allocations: 39.36 kB / 355.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.00841, allocations: 0.5078 MB / 355.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.008452, allocations: 45.69 kB / 355.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.008507, allocations: 100.1 kB / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.008597, allocations: 120 kB / 356.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0086, allocations: 4 kB / 356.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001863/0.008786, allocations: 188.9 kB / 356.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.008816, allocations: 35.88 kB / 356.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008822, allocations: 0 / 356.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.008839, allocations: 4 kB / 356.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.008955, allocations: 39.86 kB / 356.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.008961, allocations: 4 kB / 356.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.009036, allocations: 19.88 kB / 356.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.009051, allocations: 12.12 kB / 356.4 MB, free: 1.305 MB / 282.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 9.212e-05/0.009143, allocations: 176.4 kB / 356.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.009169, allocations: 19.86 kB / 356.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.009357, allocations: 129.1 kB / 356.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009359, allocations: 0 / 356.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009361, allocations: 0 / 356.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.009366, allocations: 0 / 356.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.009469, allocations: 145.1 kB / 356.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009471, allocations: 0 / 356.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.009546, allocations: 23.98 kB / 356.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009549, allocations: 4 kB / 356.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.009561, allocations: 0 / 356.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.009565, allocations: 7.938 kB / 356.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009566, allocations: 0 / 356.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.009788, allocations: 180.2 kB / 357.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.009808, allocations: 23.83 kB / 357.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.00983, allocations: 7.984 kB / 357.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.009887, allocations: 11.98 kB / 357.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.009942, allocations: 15.97 kB / 357.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.009955, allocations: 4 kB / 357.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.01002, allocations: 183.5 kB / 357.3 MB, free: 332 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 357.3 MB, free: 332 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.0102, allocations: 35.98 kB / 357.4 MB, free: 296 kB / 282.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.0008022/0.01101, allocations: 404.3 kB / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.01119, allocations: 155.8 kB / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01119, allocations: 0 / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.01125, allocations: 47.84 kB / 358 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.0115, allocations: 63.2 kB / 358 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.01198, allocations: 305.7 kB / 358.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.01202, allocations: 75.98 kB / 358.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.01207, allocations: 13.48 kB / 358.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01219, allocations: 114.2 kB / 358.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01219, allocations: 0 / 358.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005658/0.01785, allocations: 3.391 MB / 361.9 MB, free: 11.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.318832606077194]