Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009509/0.009509, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.002043/0.002044, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.3123/0.3123, allocations: 37.99 MB / 307.9 MB, free: 9.984 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.002446/0.002446, allocations: 75.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3273, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002466/0.3298, allocations: 1.627 MB / 491.1 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3309, allocations: 0.7988 MB / 491.9 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.331, allocations: 1.656 kB / 491.9 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3312, allocations: 54.98 kB / 492 MB, free: 18.29 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.0002002/0.3315, allocations: 53.66 kB / 492.1 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3317, allocations: 78.41 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3318, allocations: 96.16 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3319, allocations: 10.28 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.332, allocations: 36.81 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.3321, allocations: 25.16 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3321, allocations: 6.906 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.3322, allocations: 38.62 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.3322, allocations: 26.86 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.3323, allocations: 34.45 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3324, allocations: 117 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3325, allocations: 4 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3325, allocations: 0 / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3325, allocations: 1.219 kB / 492.5 MB, free: 18.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004284/0.3329, allocations: 427.4 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.333, allocations: 16.39 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.333, allocations: 15.73 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3332, allocations: 222 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3332, allocations: 1.406 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3332, allocations: 6.125 kB / 493.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3334, allocations: 45.81 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3334, allocations: 0.5156 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3334, allocations: 5.312 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3334, allocations: 0 / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.3335, allocations: 15.56 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3336, allocations: 198 kB / 493.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3338, allocations: 52.47 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.3338, allocations: 24 kB / 493.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3339, allocations: 5.016 kB / 493.5 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.334, allocations: 69 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.334, allocations: 0 / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000259/0.3343, allocations: 100.9 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3343, allocations: 53.67 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3345, allocations: 257.5 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3345, allocations: 30.95 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.3346, allocations: 110.4 kB / 494.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3346, allocations: 7.531 kB / 494.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3347, allocations: 24.81 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.3347, allocations: 327.4 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.3348, allocations: 14.11 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.3348, allocations: 26.2 kB / 494.5 MB, free: 16.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.3349, allocations: 47.5 kB / 494.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3349, allocations: 0 / 494.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001535/0.3351, allocations: 89.05 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3351, allocations: 6.078 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3351, allocations: 12.97 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3351, allocations: 1.031 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.3352, allocations: 10.77 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3352, allocations: 1.125 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.3353, allocations: 2.844 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3353, allocations: 6.75 kB / 494.7 MB, free: 16.12 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 (7): * Single equations (assignments): 7 * 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.97e-05/0.3354, allocations: 140.5 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3354, allocations: 14.09 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.3354, allocations: 18.95 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3354, allocations: 0 / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3355, allocations: 1.344 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3355, allocations: 0.5156 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3356, allocations: 205.5 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3356, allocations: 0 / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.3356, allocations: 4.438 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3356, allocations: 0 / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3356, allocations: 2.812 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3357, allocations: 7.938 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3357, allocations: 0.6094 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3358, allocations: 114.7 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.3359, allocations: 88.23 kB / 495.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.3359, allocations: 6.062 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.3359, allocations: 2.703 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.336, allocations: 3.719 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.336, allocations: 6.906 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.3361, allocations: 195.8 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3362, allocations: 0 / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.3364, allocations: 23.38 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008352/0.3372, allocations: 405.4 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3374, allocations: 40.84 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3374, allocations: 0 / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.3374, allocations: 30.73 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3377, allocations: 37.03 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3381, allocations: 262.4 kB / 496.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3383, allocations: 0.7081 MB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.3383, allocations: 11.44 kB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3383, allocations: 17.98 kB / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 1.125 kB / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.004606/0.343, allocations: 1.501 MB / 498.5 MB, free: 14.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)