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.00103/0.00103, allocations: 87.33 kB / 20.42 MB, free: 4.137 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.0009287/0.0009287, allocations: 173 kB / 23.8 MB, free: 0.7695 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 0.8893/0.8893, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.186/0.186, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.852e-05, allocations: 5.406 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00203/0.002048, allocations: 2.028 MB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.002929, allocations: 0.8855 MB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.003011, allocations: 0 / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.003304, allocations: 43.66 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.00351, allocations: 79.48 kB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.003698, allocations: 123.6 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.00387, allocations: 211.2 kB / 351.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.003959, allocations: 13.81 kB / 351.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.004064, allocations: 107.8 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.004147, allocations: 59.8 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.00417, allocations: 12 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.004244, allocations: 55.86 kB / 351.4 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.004299, allocations: 39.83 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.004347, allocations: 43.84 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.004557, allocations: 167.4 kB / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00456, allocations: 0 / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00456, allocations: 4 kB / 351.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004565, allocations: 3.938 kB / 351.6 MB, free: 5.477 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.0006293/0.005194, allocations: 0.5691 MB / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.005236, allocations: 8.031 kB / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.005311, allocations: 32.78 kB / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.005534, allocations: 181.2 kB / 352.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.005553, allocations: 4.375 kB / 352.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.005583, allocations: 16.31 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.005851, allocations: 174 kB / 352.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.005859, allocations: 3.938 kB / 352.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005875, allocations: 0 / 352.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.005884, allocations: 4 kB / 352.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.005981, allocations: 39.84 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.006396, allocations: 0.6067 MB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.006588, allocations: 79.16 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.006638, allocations: 39.61 kB / 353.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.006652, allocations: 4 kB / 353.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.006779, allocations: 126.6 kB / 353.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.00678, allocations: 0 / 353.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002377/0.007017, allocations: 141.5 kB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.007037, allocations: 55.34 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007152, allocations: 271 kB / 353.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007164, allocations: 29.7 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.007214, allocations: 171.1 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.007235, allocations: 35.69 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.007274, allocations: 47.36 kB / 354.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.007315, allocations: 0.504 MB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.007361, allocations: 53.62 kB / 354.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.007412, allocations: 96.11 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.007496, allocations: 128.1 kB / 355 MB, free: 1.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007498, allocations: 0 / 355 MB, free: 1.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001576/0.007655, allocations: 207.6 kB / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.007682, allocations: 33.7 kB / 355.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007686, allocations: 4 kB / 355.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007697, allocations: 0 / 355.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.007785, allocations: 27.98 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007791, allocations: 7.984 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.007854, allocations: 19.89 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.007865, allocations: 11.98 kB / 355.3 MB, free: 1.453 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 5.476e-05/0.00792, allocations: 176.6 kB / 355.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.007941, allocations: 27.86 kB / 355.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.0081, allocations: 131 kB / 355.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008103, allocations: 7.984 kB / 355.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.008105, allocations: 4 kB / 355.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008108, allocations: 0 / 355.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.217e-05/0.00819, allocations: 172.5 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008191, allocations: 0 / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.008252, allocations: 15.98 kB / 355.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008255, allocations: 4 kB / 355.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.008266, allocations: 11.98 kB / 355.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008267, allocations: 0 / 355.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008267, allocations: 0 / 355.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.008446, allocations: 204.1 kB / 356 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.00846, allocations: 19.84 kB / 356.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.008478, allocations: 0 / 356.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.008528, allocations: 15.98 kB / 356.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.008576, allocations: 19.97 kB / 356.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.008587, allocations: 4 kB / 356.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.008647, allocations: 187.4 kB / 356.3 MB, free: 404 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008647, allocations: 4.031 kB / 356.3 MB, free: 400 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000152/0.008799, allocations: 40 kB / 356.3 MB, free: 360 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.0007046/0.009504, allocations: 374.3 kB / 356.7 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.0097, allocations: 179.8 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009701, allocations: 0 / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.009764, allocations: 51.58 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.009976, allocations: 59.62 kB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.01041, allocations: 305.4 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.01045, allocations: 76.23 kB / 357.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.01051, allocations: 25.48 kB / 357.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.01055, allocations: 20.5 kB / 357.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01055, allocations: 0 / 357.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of Templates: time 0.005048/0.0156, allocations: 3.275 MB / 360.7 MB, free: 12.05 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.1981793441809714]