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.01216/0.01216, allocations: 102 kB / 15.73 MB, free: 6.438 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.002273/0.002273, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3891/0.3891, allocations: 37.99 MB / 307.9 MB, free: 10.18 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.002294/0.002294, allocations: 71.91 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3575, allocations: 56.46 MB / 489.5 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003528/0.3611, allocations: 1.679 MB / 491.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3632, allocations: 1.416 MB / 492.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.3634, allocations: 4.688 kB / 492.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3638, allocations: 32.62 kB / 492.6 MB, free: 17.68 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.0002592/0.364, allocations: 62.14 kB / 492.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.3643, allocations: 76.33 kB / 492.8 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3645, allocations: 100.3 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3646, allocations: 18.66 kB / 492.9 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.3647, allocations: 42.42 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3649, allocations: 42.97 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3649, allocations: 4.562 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3651, allocations: 58.61 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.3652, allocations: 18.98 kB / 493.1 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3652, allocations: 30.02 kB / 493.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3655, allocations: 121.1 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3655, allocations: 0 / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3655, allocations: 1.406 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3655, allocations: 0 / 493.2 MB, free: 17.4 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.0005444/0.3661, allocations: 410.5 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3661, allocations: 13.88 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.3662, allocations: 9.656 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3665, allocations: 208 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3665, allocations: 6.625 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3666, allocations: 6.531 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3668, allocations: 70.38 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3668, allocations: 1.062 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3668, allocations: 4.688 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3668, allocations: 1.094 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.3669, allocations: 18.72 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.3672, allocations: 279.6 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3674, allocations: 60.17 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.3675, allocations: 24.97 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3675, allocations: 1.188 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.3677, allocations: 68.98 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3677, allocations: 0 / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005512/0.3682, allocations: 165 kB / 494.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3683, allocations: 90.02 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3684, allocations: 162.9 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3685, allocations: 26.67 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.3685, allocations: 94.06 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3685, allocations: 26.06 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3686, allocations: 27.33 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.3686, allocations: 324 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.3687, allocations: 17.95 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.3688, allocations: 44.53 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3689, allocations: 62.22 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3689, allocations: 0 / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.3691, allocations: 96.44 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3691, allocations: 5.953 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3691, allocations: 1.656 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3692, allocations: 5.406 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.3692, allocations: 19.25 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3693, allocations: 1.094 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.3693, allocations: 10.84 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3693, allocations: 3.875 kB / 495.5 MB, free: 15.36 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.414e-05/0.3694, allocations: 124.6 kB / 495.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3694, allocations: 10.17 kB / 495.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.3695, allocations: 16.36 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3695, allocations: 5.312 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3695, allocations: 0.5156 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3695, allocations: 9.719 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.3699, allocations: 384 kB / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3699, allocations: 0 / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.37, allocations: 9.578 kB / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.37, allocations: 1.469 kB / 496.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.37, allocations: 10.05 kB / 496.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.37, allocations: 1.031 kB / 496.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.37, allocations: 4.781 kB / 496.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3702, allocations: 196.5 kB / 496.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.3703, allocations: 87.94 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3703, allocations: 10.95 kB / 496.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.3704, allocations: 3.266 kB / 496.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3704, allocations: 10.14 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3705, allocations: 7.188 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.804e-05/0.3706, allocations: 127 kB / 496.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3706, allocations: 0 / 496.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3709, allocations: 35.94 kB / 496.5 MB, free: 14.46 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.00116/0.372, allocations: 498.3 kB / 497 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3723, allocations: 60.38 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3723, allocations: 3.938 kB / 497.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.3724, allocations: 29.03 kB / 497.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3727, allocations: 34.75 kB / 497.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3732, allocations: 194.7 kB / 497.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3734, allocations: 0.6949 MB / 498 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.3734, allocations: 22.64 kB / 498.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3735, allocations: 18.48 kB / 498.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3735, allocations: 0 / 498.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.006635/0.3801, allocations: 1.941 MB / 0.4883 GB, free: 12.95 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)