Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009055/0.009055, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3528/0.3528, allocations: 38 MB / 307.9 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002532, allocations: 71.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3583, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003052/0.3614, allocations: 1.669 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3627, allocations: 0.8149 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.3628, allocations: 0 / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.3632, allocations: 79.81 kB / 492.1 MB, free: 18.2 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.3635, allocations: 73.66 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3637, allocations: 79.72 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3639, allocations: 113.5 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.364, allocations: 11.72 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.3641, allocations: 55.31 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3642, allocations: 57.19 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3642, allocations: 4.219 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3644, allocations: 42.36 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.3644, allocations: 25.22 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.3645, allocations: 33.38 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3647, allocations: 118.1 kB / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3647, allocations: 0 / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3647, allocations: 0 / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3647, allocations: 4.844 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005098/0.3652, allocations: 420.7 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3653, allocations: 13.36 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3653, allocations: 9.812 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3656, allocations: 215.7 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3656, allocations: 10.05 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.3656, allocations: 6.375 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3658, allocations: 53.97 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3658, allocations: 0.6094 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.3658, allocations: 1.219 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3659, allocations: 1 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.3659, allocations: 21.58 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3663, allocations: 289.3 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3665, allocations: 55.58 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.3665, allocations: 20 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3666, allocations: 1.734 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3667, allocations: 71.08 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.624e-06/0.3667, allocations: 4 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.3673, allocations: 181.1 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3673, allocations: 52.5 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3676, allocations: 219.2 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3676, allocations: 30.25 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.3677, allocations: 105.2 kB / 494.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3677, allocations: 22.55 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3677, allocations: 21.05 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.3678, allocations: 335.7 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.3679, allocations: 16.59 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.3679, allocations: 35.86 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3681, allocations: 61.5 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3681, allocations: 1.188 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.3682, allocations: 97.73 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3683, allocations: 6.125 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3683, allocations: 7.938 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3683, allocations: 1.281 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.3684, allocations: 19.53 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3684, allocations: 1.719 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.3685, allocations: 6.969 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3685, allocations: 3.156 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.964e-05/0.3686, allocations: 128.2 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.3686, allocations: 21.42 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.3687, allocations: 16.03 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3687, allocations: 1.219 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.3687, allocations: 2.406 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3687, allocations: 7.875 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.3691, allocations: 396.4 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3691, allocations: 0 / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.3691, allocations: 13.73 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3692, allocations: 5.562 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3692, allocations: 5.953 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3692, allocations: 1.344 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3692, allocations: 0 / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3694, allocations: 205.8 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.3695, allocations: 85.08 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3695, allocations: 6.641 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.3696, allocations: 15.31 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3696, allocations: 5.312 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3697, allocations: 4.078 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.3699, allocations: 156.2 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3699, allocations: 3.938 kB / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.3702, allocations: 26.89 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001246/0.3714, allocations: 470.2 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3717, allocations: 55.77 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3717, allocations: 1.031 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.3718, allocations: 28.41 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3722, allocations: 38.59 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.3729, allocations: 250.5 kB / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3732, allocations: 0.7085 MB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.3733, allocations: 16.97 kB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3734, allocations: 25.02 kB / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3734, allocations: 0 / 497.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of Templates: time 0.005875/0.3792, allocations: 1.705 MB / 499.4 MB, free: 13.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)