Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007326/0.007326, allocations: 96.28 kB / 15.73 MB, free: 5.996 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.001285/0.001285, allocations: 185.8 kB / 16.67 MB, free: 5.926 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3578/0.3578, allocations: 38.01 MB / 307.9 MB, free: 10.21 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.001491/0.001491, allocations: 67.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3416, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004184/0.3458, allocations: 1.679 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3472, allocations: 0.8014 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.3473, allocations: 1.125 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.3478, allocations: 105.6 kB / 492.1 MB, free: 18.19 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.0002878/0.3481, allocations: 91.56 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3484, allocations: 76.48 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3486, allocations: 117.5 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3487, allocations: 17 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3488, allocations: 57.7 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.349, allocations: 66.2 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.349, allocations: 3.625 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3491, allocations: 47.09 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.3492, allocations: 27.91 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.3493, allocations: 43.73 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3496, allocations: 133.3 kB / 492.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3496, allocations: 1.219 kB / 492.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3496, allocations: 0 / 492.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3496, allocations: 1.312 kB / 492.8 MB, free: 17.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007432/0.3504, allocations: 447.4 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.3504, allocations: 13.27 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.3505, allocations: 15.59 kB / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.3509, allocations: 232.6 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3509, allocations: 2.234 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3509, allocations: 11.61 kB / 493.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3511, allocations: 58.38 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3511, allocations: 0 / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3512, allocations: 1.156 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3512, allocations: 5 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3513, allocations: 33.23 kB / 493.6 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.3517, allocations: 306.8 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3519, allocations: 68.95 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.352, allocations: 30.95 kB / 494 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.352, allocations: 1.438 kB / 494 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3522, allocations: 77.5 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3522, allocations: 0 / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006459/0.3528, allocations: 203.2 kB / 494.2 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3529, allocations: 52.38 kB / 494.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3531, allocations: 245 kB / 494.5 MB, free: 16.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3532, allocations: 43.02 kB / 494.6 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.3532, allocations: 111.3 kB / 494.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3533, allocations: 30.28 kB / 494.7 MB, free: 16.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3533, allocations: 23.5 kB / 494.7 MB, free: 16.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.3534, allocations: 332.5 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.3535, allocations: 24.47 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.3536, allocations: 42.67 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3537, allocations: 74.61 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3537, allocations: 0 / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002143/0.3539, allocations: 115.6 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3539, allocations: 5.344 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.354, allocations: 1.125 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.354, allocations: 1.125 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3541, allocations: 16.83 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3541, allocations: 1.062 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3542, allocations: 19.66 kB / 495.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3542, allocations: 3.188 kB / 495.4 MB, free: 15.77 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 (11): * Single equations (assignments): 11 * 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.801e-05/0.3543, allocations: 132.1 kB / 495.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3543, allocations: 15.55 kB / 495.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.3544, allocations: 17.73 kB / 495.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3544, allocations: 1.719 kB / 495.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3544, allocations: 1.219 kB / 495.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3544, allocations: 4.5 kB / 495.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.3549, allocations: 421.2 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3549, allocations: 1.781 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.355, allocations: 10.41 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.355, allocations: 1.156 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.355, allocations: 15.36 kB / 496 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.355, allocations: 1.25 kB / 496 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.355, allocations: 3.938 kB / 496 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3553, allocations: 218.2 kB / 496.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3553, allocations: 90.55 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3554, allocations: 14.06 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.3555, allocations: 3.547 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3555, allocations: 9.797 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.3555, allocations: 4.828 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.3557, allocations: 188 kB / 496.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3557, allocations: 4 kB / 496.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.356, allocations: 28.47 kB / 496.5 MB, free: 14.85 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 (9): * Single equations (assignments): 7 * 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.001078/0.3571, allocations: 471.3 kB / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.3573, allocations: 71.31 kB / 497 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3573, allocations: 0 / 497 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.3574, allocations: 36.45 kB / 497.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3578, allocations: 38.95 kB / 497.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.3584, allocations: 283.8 kB / 497.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3587, allocations: 0.7199 MB / 498.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.3588, allocations: 20.33 kB / 498.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3589, allocations: 18.42 kB / 498.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3589, allocations: 0 / 498.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of Templates: time 0.005699/0.3646, allocations: 1.81 MB / 500 MB, free: 13.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)