Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006435/0.006435, allocations: 101.1 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.00117/0.001171, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.81/1.81, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.3622/0.3622, allocations: 37.99 MB / 307.9 MB, free: 10.35 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.001964/0.001964, allocations: 75.84 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3551, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003102/0.3583, allocations: 1.876 MB / 491.4 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3598, allocations: 0.8471 MB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.3599, allocations: 2.219 kB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.3604, allocations: 46.38 kB / 492.3 MB, free: 18 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.0002855/0.3607, allocations: 61.12 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.361, allocations: 102.4 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.3614, allocations: 137 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3615, allocations: 36.92 kB / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3617, allocations: 52.05 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3618, allocations: 56.5 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.3619, allocations: 7.031 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.362, allocations: 45.88 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.3621, allocations: 22.58 kB / 492.8 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.3622, allocations: 49.98 kB / 492.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3626, allocations: 158.6 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3626, allocations: 0 / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3626, allocations: 1.031 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3626, allocations: 0 / 493 MB, free: 17.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007043/0.3633, allocations: 468.3 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3634, allocations: 12.33 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.3634, allocations: 16.84 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3638, allocations: 240.5 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3639, allocations: 8.609 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.3639, allocations: 8.344 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3642, allocations: 105.2 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3642, allocations: 1.125 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3642, allocations: 2 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3643, allocations: 1.188 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3644, allocations: 59.23 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.365, allocations: 0.504 MB / 494.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.3654, allocations: 91.36 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3655, allocations: 36.42 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3656, allocations: 6.594 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.3658, allocations: 86 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3658, allocations: 0 / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000439/0.3662, allocations: 146.1 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3663, allocations: 57.05 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3665, allocations: 187.4 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3665, allocations: 31.69 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.3666, allocations: 112.7 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.3666, allocations: 33.42 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.3667, allocations: 27.83 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.3667, allocations: 336.4 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.3668, allocations: 28.69 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3669, allocations: 63.86 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3671, allocations: 99.42 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3672, allocations: 1.844 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002812/0.3674, allocations: 137.3 kB / 495.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3675, allocations: 5.281 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3675, allocations: 5.219 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3675, allocations: 2.875 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3676, allocations: 29.61 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3676, allocations: 2.344 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.3677, allocations: 18.39 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3677, allocations: 4.812 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.514e-05/0.3678, allocations: 125.7 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3679, allocations: 14.59 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.3679, allocations: 19.61 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3679, allocations: 5.031 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.368, allocations: 1.094 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.368, allocations: 0.75 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3682, allocations: 205.8 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3682, allocations: 0.6094 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.3682, allocations: 12.2 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3683, allocations: 3.938 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3683, allocations: 1.766 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3683, allocations: 13.22 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3683, allocations: 0.5625 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3687, allocations: 182.3 kB / 496.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.3687, allocations: 93.44 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3688, allocations: 2.938 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.3688, allocations: 8.75 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3689, allocations: 6.031 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3689, allocations: 12.12 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.369, allocations: 138 kB / 496.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.369, allocations: 1.125 kB / 496.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3693, allocations: 29.31 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009089/0.3702, allocations: 410.1 kB / 497.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3705, allocations: 81.12 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3705, allocations: 5.312 kB / 497.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.3706, allocations: 35.22 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.371, allocations: 41.86 kB / 497.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.3715, allocations: 271.4 kB / 497.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3717, allocations: 0.7146 MB / 498.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.3718, allocations: 18.94 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3719, allocations: 18.12 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3719, allocations: 0 / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006992/0.3789, allocations: 1.883 MB / 0.4885 GB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)