Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01152/0.01152, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002361/0.002361, allocations: 186.9 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.696/1.696, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.4174/0.4174, allocations: 37.99 MB / 307.9 MB, free: 10.17 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.002601/0.002601, allocations: 75.91 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3598, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003792/0.3636, allocations: 1.668 MB / 491.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3654, allocations: 0.8075 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.3655, allocations: 1.031 kB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.366, allocations: 51.03 kB / 492 MB, free: 18.27 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.0003223/0.3664, allocations: 52.95 kB / 492.1 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3667, allocations: 80.22 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.367, allocations: 98.72 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.3671, allocations: 13.23 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3673, allocations: 44.67 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.3674, allocations: 29.17 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3674, allocations: 4.344 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.3676, allocations: 41.48 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.3677, allocations: 25.88 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.3677, allocations: 37.36 kB / 492.5 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3681, allocations: 120.1 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.3681, allocations: 4.969 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3681, allocations: 0 / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3681, allocations: 0 / 492.6 MB, free: 18.01 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.0007046/0.3688, allocations: 426 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.3689, allocations: 13.52 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.3689, allocations: 14.67 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3694, allocations: 220.5 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3694, allocations: 1.656 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3694, allocations: 10.62 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3696, allocations: 58.41 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3697, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3697, allocations: 4.688 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3697, allocations: 1.156 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3698, allocations: 21.95 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.3704, allocations: 294.2 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3706, allocations: 56.16 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.3707, allocations: 19.69 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.3708, allocations: 1.188 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.371, allocations: 70.2 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.371, allocations: 1.375 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006291/0.3716, allocations: 180.3 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3717, allocations: 53.33 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.372, allocations: 219.9 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.372, allocations: 26.36 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.3721, allocations: 118 kB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.3721, allocations: 17.5 kB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.3722, allocations: 26.64 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.3722, allocations: 331.2 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.3723, allocations: 21.75 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3724, allocations: 34.64 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3725, allocations: 57.53 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3725, allocations: 1.469 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.3727, allocations: 101.7 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3727, allocations: 9.906 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3727, allocations: 3.938 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3727, allocations: 1.062 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3729, allocations: 16.09 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3729, allocations: 1.156 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.3729, allocations: 6.984 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3729, allocations: 6.375 kB / 495 MB, free: 15.96 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.544e-05/0.373, allocations: 126.1 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3731, allocations: 18.33 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.3731, allocations: 23.97 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3731, allocations: 1.797 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3731, allocations: 5.375 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3732, allocations: 4.5 kB / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3736, allocations: 397.9 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3736, allocations: 1.062 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.3736, allocations: 13.09 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3737, allocations: 1.094 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3737, allocations: 9.859 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3737, allocations: 1.328 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3737, allocations: 1.062 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3739, allocations: 210.3 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.374, allocations: 83.97 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.374, allocations: 6.922 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.3741, allocations: 7.625 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.3742, allocations: 9.672 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.3742, allocations: 4.344 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.3744, allocations: 170.6 kB / 496.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3744, allocations: 3.938 kB / 496.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.3747, allocations: 26.28 kB / 496.1 MB, free: 15.05 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.001382/0.3761, allocations: 465 kB / 496.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3764, allocations: 64.03 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3764, allocations: 0 / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.3765, allocations: 24.88 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.377, allocations: 35.52 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.3777, allocations: 267.7 kB / 496.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.378, allocations: 0.7053 MB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.378, allocations: 21.56 kB / 497.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.3781, allocations: 21.42 kB / 497.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3781, allocations: 4 kB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005834/0.3839, allocations: 1.709 MB / 499.4 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)