Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01239/0.01239, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00245/0.00245, allocations: 193.3 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.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3965/0.3965, allocations: 38 MB / 307.9 MB, free: 10.1 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.001679/0.001679, allocations: 72.55 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3569, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002915/0.3599, allocations: 1.676 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.362, allocations: 1.412 MB / 492.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.3621, allocations: 5 kB / 492.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.3624, allocations: 27.95 kB / 492.6 MB, free: 17.76 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.0002476/0.3627, allocations: 62.67 kB / 492.7 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3629, allocations: 96.17 kB / 492.8 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3631, allocations: 96.16 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3633, allocations: 15.23 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3634, allocations: 42.67 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3635, allocations: 39.67 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3636, allocations: 3.844 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3637, allocations: 59.44 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.3638, allocations: 22.61 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3639, allocations: 29.92 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3641, allocations: 125.3 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3642, allocations: 0 / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3642, allocations: 1.172 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3642, allocations: 1.344 kB / 493.2 MB, free: 17.47 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.0005634/0.3647, allocations: 401.7 kB / 493.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3648, allocations: 13.92 kB / 493.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.3649, allocations: 9.141 kB / 493.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3651, allocations: 214.1 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3651, allocations: 14.61 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3652, allocations: 6.219 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3653, allocations: 70.02 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3654, allocations: 3.938 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3654, allocations: 1.156 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3654, allocations: 1.344 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.3655, allocations: 21.58 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3658, allocations: 283.4 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.366, allocations: 52.14 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.3661, allocations: 24.88 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3661, allocations: 5.094 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3663, allocations: 69.95 kB / 494.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3663, allocations: 0 / 494.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.3668, allocations: 168.4 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3669, allocations: 82.11 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.367, allocations: 158.9 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3671, allocations: 31.77 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3671, allocations: 93.73 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3671, allocations: 26.25 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.3672, allocations: 25.5 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.3672, allocations: 324.7 kB / 495.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.3673, allocations: 21.67 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.3674, allocations: 45.08 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3675, allocations: 57.78 kB / 495.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3675, allocations: 5.094 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.3677, allocations: 96.34 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3677, allocations: 6.344 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3677, allocations: 0 / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3677, allocations: 1.031 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3678, allocations: 16.03 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3679, allocations: 1.703 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3679, allocations: 10.17 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3679, allocations: 3.609 kB / 495.5 MB, free: 15.42 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 9.176e-05/0.368, allocations: 121.4 kB / 495.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3681, allocations: 13.69 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.3681, allocations: 11.86 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3681, allocations: 2.172 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3681, allocations: 1.062 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3681, allocations: 8.625 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3686, allocations: 387.9 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3686, allocations: 5.656 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3687, allocations: 8.938 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3687, allocations: 1.031 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3687, allocations: 11.22 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3687, allocations: 0.9062 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3687, allocations: 0 / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.3689, allocations: 196.6 kB / 496.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.369, allocations: 93.33 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.369, allocations: 6.328 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.3691, allocations: 11.66 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3692, allocations: 5.344 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3692, allocations: 2.844 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.3693, allocations: 119 kB / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 0 / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3696, allocations: 35.3 kB / 496.5 MB, free: 14.54 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.001207/0.3708, allocations: 0.4961 MB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.371, allocations: 59.47 kB / 497.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.371, allocations: 5.031 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.3711, allocations: 28.83 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3715, allocations: 30.69 kB / 497.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.3719, allocations: 198 kB / 497.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3721, allocations: 0.6995 MB / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.3722, allocations: 18.27 kB / 498.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3722, allocations: 22.58 kB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3722, allocations: 0 / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.006404/0.3786, allocations: 1.975 MB / 0.4883 GB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)