Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005172/0.005172, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001275/0.001275, allocations: 190.5 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.4193/0.4193, allocations: 38 MB / 307.9 MB, free: 10 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.00239/0.00239, allocations: 71.91 kB / 433 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4646, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004025/0.4687, allocations: 1.665 MB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4705, allocations: 0.8049 MB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4706, allocations: 5 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.471, allocations: 37.7 kB / 492 MB, free: 18.16 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.0002591/0.4713, allocations: 52.81 kB / 492.1 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.4716, allocations: 84.72 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.4718, allocations: 94.66 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4719, allocations: 16.55 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.472, allocations: 44.64 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.4721, allocations: 26.03 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4722, allocations: 4.438 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.4723, allocations: 45.61 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.4724, allocations: 21.55 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.4724, allocations: 29.05 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.4727, allocations: 113.7 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4727, allocations: 0 / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4727, allocations: 4 kB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4727, allocations: 1.219 kB / 492.6 MB, free: 17.9 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.0006024/0.4733, allocations: 402.9 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4734, allocations: 13.86 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.4734, allocations: 9.766 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4737, allocations: 221 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4738, allocations: 1.719 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.4738, allocations: 7.625 kB / 493.2 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.474, allocations: 57.92 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.474, allocations: 1.094 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.474, allocations: 0 / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.474, allocations: 1.219 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.4741, allocations: 22.16 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.4744, allocations: 281 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.4746, allocations: 64.66 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.4747, allocations: 20.06 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4747, allocations: 1.406 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.4749, allocations: 66.08 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4749, allocations: 3.938 kB / 493.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005864/0.4755, allocations: 180.5 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4755, allocations: 52.44 kB / 493.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.4758, allocations: 169.3 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.4758, allocations: 30.86 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.4758, allocations: 99.66 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.4759, allocations: 24.92 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.4759, allocations: 26.3 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.476, allocations: 325.5 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.4761, allocations: 26.34 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.4761, allocations: 34.64 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4763, allocations: 58.02 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4763, allocations: 1.156 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.4765, allocations: 103.7 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4765, allocations: 6.453 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4765, allocations: 7.969 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4765, allocations: 1.062 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4767, allocations: 16.14 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4767, allocations: 5.281 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.4767, allocations: 6.719 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4767, allocations: 7.781 kB / 494.9 MB, free: 15.89 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.998e-05/0.4768, allocations: 120.1 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4769, allocations: 7.781 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.4769, allocations: 15.27 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4769, allocations: 5.062 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4769, allocations: 1.5 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.477, allocations: 5.062 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.4775, allocations: 390.6 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4775, allocations: 2.078 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4775, allocations: 8.672 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4775, allocations: 1.375 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4776, allocations: 10.52 kB / 495.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4776, allocations: 4.969 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4776, allocations: 1.344 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.4778, allocations: 203.5 kB / 495.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.4779, allocations: 84.7 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4779, allocations: 7.828 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.478, allocations: 2.734 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.478, allocations: 16.89 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4781, allocations: 4.406 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.4782, allocations: 128.3 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4782, allocations: 1.312 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.4785, allocations: 25.08 kB / 495.9 MB, free: 15.02 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.001103/0.4796, allocations: 473.6 kB / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4798, allocations: 56.33 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4798, allocations: 0 / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.4799, allocations: 36.84 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.4803, allocations: 26.66 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.4808, allocations: 211.7 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.481, allocations: 0.6987 MB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.4811, allocations: 16.89 kB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.4811, allocations: 16.59 kB / 497.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4811, allocations: 5.219 kB / 497.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005577/0.4867, allocations: 1.692 MB / 499.1 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)