Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007902/0.007902, allocations: 100.6 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.001971/0.001971, allocations: 190.6 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.632/1.632, 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.3673/0.3673, allocations: 38 MB / 307.9 MB, free: 10.09 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.001519/0.001519, allocations: 71.89 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3622, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003103/0.3654, allocations: 1.675 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3666, allocations: 0.8069 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.3667, allocations: 1.094 kB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3671, allocations: 54.2 kB / 492 MB, free: 18.21 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.000251/0.3673, allocations: 49.08 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3676, allocations: 88.91 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3678, allocations: 94.52 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3679, allocations: 19.95 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.368, allocations: 45.28 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.3681, allocations: 26.08 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3681, allocations: 7.953 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3683, allocations: 43.59 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.3684, allocations: 19.84 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.3685, allocations: 39.23 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3687, allocations: 123.4 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3687, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3688, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3688, allocations: 1.219 kB / 492.6 MB, free: 17.95 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.0005612/0.3693, allocations: 430.6 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3694, allocations: 12.58 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.3694, allocations: 14.19 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3697, allocations: 208.2 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3698, allocations: 2.906 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3698, allocations: 6.156 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.37, allocations: 58.8 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.37, allocations: 3.938 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.37, allocations: 5.031 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.37, allocations: 0 / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.3701, allocations: 18.8 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3705, allocations: 291.1 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3707, allocations: 59.94 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.3707, allocations: 23.69 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3708, allocations: 5.156 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3709, allocations: 65.55 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3709, allocations: 0 / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006081/0.3716, allocations: 182.1 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3716, allocations: 53.3 kB / 494 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3718, allocations: 222.7 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3719, allocations: 26.55 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3719, allocations: 109.6 kB / 494.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.372, allocations: 22.97 kB / 494.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.372, allocations: 24.81 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.3721, allocations: 328.4 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.3721, allocations: 20.53 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.3722, allocations: 43.69 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3723, allocations: 54 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3723, allocations: 0 / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.3725, allocations: 109.7 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3726, allocations: 6.438 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3726, allocations: 1.375 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3726, allocations: 1.062 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3727, allocations: 15.16 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3727, allocations: 5.156 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3728, allocations: 10.67 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3728, allocations: 3.141 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.872e-05/0.3729, allocations: 137.4 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3729, allocations: 13.62 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.373, allocations: 17.53 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.373, allocations: 1.375 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.373, allocations: 0 / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.373, allocations: 5.984 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3735, allocations: 400.9 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3735, allocations: 0.5625 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.3735, allocations: 9.922 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3735, allocations: 1.156 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3735, allocations: 5.453 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3735, allocations: 2.219 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3736, allocations: 0 / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3738, allocations: 217.7 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.3738, allocations: 85.27 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3739, allocations: 15.39 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3739, allocations: 2.812 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.374, allocations: 8.906 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.374, allocations: 4.281 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3742, allocations: 176.1 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3742, allocations: 0 / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3744, allocations: 25.27 kB / 496.1 MB, free: 14.99 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.001067/0.3755, allocations: 463.7 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3757, allocations: 60.97 kB / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3757, allocations: 0 / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3758, allocations: 24.27 kB / 496.6 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.0003634/0.3762, allocations: 35.45 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.0005297/0.3767, allocations: 259.1 kB / 496.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.377, allocations: 0.7111 MB / 497.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.377, allocations: 20.8 kB / 497.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3771, allocations: 16.17 kB / 497.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3771, allocations: 0 / 497.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005834/0.3829, allocations: 1.729 MB / 499.4 MB, free: 13.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)