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.001164/0.001164, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001427/0.001427, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.948/0.948, allocations: 158.6 MB / 186 MB, free: 2.91 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.2583/0.2583, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.725e-06/2.725e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.557e-05/4.829e-05, allocations: 8.281 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003731/0.003779, allocations: 2.027 MB / 349.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005305, allocations: 0.8738 MB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.005481, allocations: 7.938 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.005917, allocations: 51.62 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.006257, allocations: 67.56 kB / 350.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.006652, allocations: 135.6 kB / 350.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.006995, allocations: 203.3 kB / 351.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.007151, allocations: 21.8 kB / 351.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.007349, allocations: 107.7 kB / 351.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.007471, allocations: 55.81 kB / 351.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.007502, allocations: 12 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.007626, allocations: 55.91 kB / 351.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.007706, allocations: 35.84 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.007809, allocations: 43.84 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.008153, allocations: 171.3 kB / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.00816, allocations: 0 / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.008162, allocations: 4 kB / 351.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.008173, allocations: 4 kB / 351.6 MB, free: 5.824 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.0007878/0.008961, allocations: 0.5613 MB / 352.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.009009, allocations: 12.03 kB / 352.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.0091, allocations: 28.8 kB / 352.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.009367, allocations: 189.1 kB / 352.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.009396, allocations: 8.375 kB / 352.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.009426, allocations: 4.375 kB / 352.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.009729, allocations: 175.6 kB / 352.6 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.00974, allocations: 3.938 kB / 352.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.009756, allocations: 0 / 352.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.009767, allocations: 4 kB / 352.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.00986, allocations: 43.84 kB / 352.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.01041, allocations: 0.6067 MB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.01071, allocations: 83.16 kB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.01077, allocations: 43.55 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.01079, allocations: 3.984 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.01098, allocations: 122.7 kB / 353.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.01098, allocations: 0 / 353.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003212/0.0113, allocations: 141.5 kB / 353.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.01135, allocations: 59.34 kB / 353.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01152, allocations: 263 kB / 353.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01154, allocations: 33.7 kB / 354 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.01163, allocations: 167.1 kB / 354.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.01166, allocations: 43.69 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.01171, allocations: 43.36 kB / 354.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.01178, allocations: 0.504 MB / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.01185, allocations: 45.69 kB / 354.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.01191, allocations: 104.1 kB / 354.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.01202, allocations: 124.1 kB / 355 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01202, allocations: 0 / 355 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002165/0.01224, allocations: 207.5 kB / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.01227, allocations: 36.05 kB / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01228, allocations: 0 / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.0123, allocations: 4 kB / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01242, allocations: 35.92 kB / 355.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01242, allocations: 0 / 355.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.0125, allocations: 23.88 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01252, allocations: 8 kB / 355.3 MB, free: 1.801 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.652e-05/0.01262, allocations: 172.6 kB / 355.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.01264, allocations: 23.86 kB / 355.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01287, allocations: 135 kB / 355.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.01287, allocations: 4 kB / 355.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01288, allocations: 4 kB / 355.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01289, allocations: 3.984 kB / 355.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.01301, allocations: 172.5 kB / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01301, allocations: 0 / 355.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.0131, allocations: 19.98 kB / 355.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.0131, allocations: 0 / 355.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.01312, allocations: 7.984 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01312, allocations: 0 / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01312, allocations: 4 kB / 355.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.01337, allocations: 200.1 kB / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.0134, allocations: 23.83 kB / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01343, allocations: 4 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.01349, allocations: 11.98 kB / 356.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.01357, allocations: 19.97 kB / 356.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01358, allocations: 4 kB / 356.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.231e-05/0.01367, allocations: 187.4 kB / 356.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01367, allocations: 8.031 kB / 356.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01389, allocations: 32 kB / 356.3 MB, free: 0.707 MB / 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.0009428/0.01483, allocations: 395.5 kB / 356.7 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.01511, allocations: 175.7 kB / 356.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01511, allocations: 0 / 356.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.01518, allocations: 43.66 kB / 356.9 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.01556, allocations: 51.02 kB / 356.9 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.01633, allocations: 313.4 kB / 357.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.0164, allocations: 76.23 kB / 357.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.733e-05/0.01649, allocations: 21.48 kB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.01656, allocations: 24.5 kB / 357.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01656, allocations: 0 / 357.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of Templates: time 0.006477/0.02304, allocations: 3.068 MB / 360.4 MB, free: 12.61 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.6292322820518166]