Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0079/0.0079, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.00147/0.00147, allocations: 203.8 kB / 16.68 MB, free: 5.969 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.772/1.772, 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.3333/0.3333, allocations: 37.99 MB / 307.9 MB, free: 10.13 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.00153/0.00153, allocations: 75.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3454, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002908/0.3483, allocations: 1.671 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3495, allocations: 0.8148 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.3496, allocations: 1.156 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.35, allocations: 47.66 kB / 492 MB, free: 18.23 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.0002086/0.3502, allocations: 45.69 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3505, allocations: 89.69 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3506, allocations: 90.53 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.3508, allocations: 15.53 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.3509, allocations: 45.45 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.3509, allocations: 29.58 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.351, allocations: 3.344 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3511, allocations: 43.56 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.3511, allocations: 22.48 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3512, allocations: 33.41 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3514, allocations: 116.6 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3514, allocations: 2.359 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3514, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3515, allocations: 0 / 492.6 MB, free: 17.98 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.0004677/0.3519, allocations: 417.6 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.352, allocations: 13.3 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.352, allocations: 15.08 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3523, allocations: 215.5 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3523, allocations: 5.469 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3523, allocations: 6.438 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3525, allocations: 54.08 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3525, allocations: 0.875 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3525, allocations: 1.672 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3525, allocations: 7.922 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.3526, allocations: 22.83 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.3529, allocations: 284.3 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3531, allocations: 59.38 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.3532, allocations: 19.69 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3532, allocations: 1.188 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3534, allocations: 73.72 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3534, allocations: 4 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.3539, allocations: 169.9 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.354, allocations: 56.5 kB / 494 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3541, allocations: 195.1 kB / 494.2 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3542, allocations: 26.8 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.3542, allocations: 103.4 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3543, allocations: 26.2 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3543, allocations: 22.12 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.3544, allocations: 334.7 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.3544, allocations: 17.61 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-05/0.3545, allocations: 35.19 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3546, allocations: 69.77 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3546, allocations: 1.406 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.3548, allocations: 97.08 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3548, allocations: 5.375 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3548, allocations: 5.781 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3549, allocations: 0 / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.355, allocations: 19.36 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.355, allocations: 1 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.355, allocations: 7.188 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.355, allocations: 3.875 kB / 494.9 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 7.825e-05/0.3551, allocations: 126.4 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3552, allocations: 17.75 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.3552, allocations: 19.5 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3552, allocations: 1.312 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3552, allocations: 0 / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3552, allocations: 5.891 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.3556, allocations: 391 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3556, allocations: 0 / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.3557, allocations: 13.88 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3557, allocations: 5.156 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3557, allocations: 9.547 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3557, allocations: 1.734 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3557, allocations: 1.156 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.3559, allocations: 200.4 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.356, allocations: 85.05 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.356, allocations: 6.984 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.3561, allocations: 6.219 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3561, allocations: 9.672 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3562, allocations: 4.125 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3563, allocations: 155.9 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3563, allocations: 3.938 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3566, allocations: 19.66 kB / 496 MB, free: 15.07 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.00107/0.3576, allocations: 481 kB / 496.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3579, allocations: 55.86 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3579, allocations: 1.125 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.358, allocations: 32.53 kB / 496.5 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.0003752/0.3583, allocations: 35.41 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.3589, allocations: 232.4 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3591, allocations: 0.7033 MB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.595e-05/0.3592, allocations: 21.56 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3593, allocations: 23.22 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3593, allocations: 0 / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Templates: time 0.005871/0.3651, allocations: 1.703 MB / 499.2 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)