Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008124/0.008124, allocations: 101 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.001607/0.001607, allocations: 194.9 kB / 16.68 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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3541/0.3541, allocations: 38 MB / 307.9 MB, free: 10.2 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.001553/0.001553, allocations: 75.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003558/0.3291, allocations: 1.668 MB / 491.2 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3315, allocations: 1.417 MB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3316, allocations: 5 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.332, allocations: 33.14 kB / 492.6 MB, free: 17.81 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.0002547/0.3323, allocations: 57.27 kB / 492.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3325, allocations: 85.73 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3327, allocations: 98.91 kB / 492.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3328, allocations: 11.64 kB / 492.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.3329, allocations: 42.27 kB / 492.9 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3331, allocations: 43.36 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3331, allocations: 4.531 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3333, allocations: 59.03 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.3333, allocations: 18.61 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.3334, allocations: 33.55 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.3336, allocations: 120.9 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3337, allocations: 0 / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3337, allocations: 1 kB / 493.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3337, allocations: 0 / 493.2 MB, free: 17.54 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.0005319/0.3342, allocations: 407.2 kB / 493.6 MB, free: 17.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3343, allocations: 13.7 kB / 493.6 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.3343, allocations: 13.28 kB / 493.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.3346, allocations: 209.2 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3346, allocations: 9.719 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3347, allocations: 7.391 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3349, allocations: 65.64 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3349, allocations: 0.9375 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3349, allocations: 1.219 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3349, allocations: 1.094 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.335, allocations: 22.42 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3354, allocations: 287.8 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3356, allocations: 56.22 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.3356, allocations: 19.95 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3357, allocations: 0.9688 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.3358, allocations: 78.34 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3358, allocations: 0 / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.3365, allocations: 163.9 kB / 494.5 MB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3366, allocations: 82.95 kB / 494.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3368, allocations: 162.4 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3368, allocations: 26.95 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.3368, allocations: 94.3 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3369, allocations: 21.83 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.3369, allocations: 30.33 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.337, allocations: 325.3 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.3371, allocations: 16.91 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.3371, allocations: 41.61 kB / 495.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3373, allocations: 66.36 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3373, allocations: 4.031 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.3375, allocations: 95.84 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3375, allocations: 5.984 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3375, allocations: 1.156 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3375, allocations: 1.531 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3377, allocations: 22.61 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3377, allocations: 2.266 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.3377, allocations: 6.406 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3378, allocations: 3.469 kB / 495.5 MB, free: 15.49 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 0.0001062/0.3379, allocations: 122.4 kB / 495.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3379, allocations: 12.8 kB / 495.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.338, allocations: 17.33 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.338, allocations: 1.531 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.338, allocations: 0 / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.338, allocations: 4.547 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.3384, allocations: 384.5 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3384, allocations: 5.688 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.3385, allocations: 12.48 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3385, allocations: 1.562 kB / 496.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3385, allocations: 10.48 kB / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3385, allocations: 0.5625 kB / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3385, allocations: 5.719 kB / 496.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3387, allocations: 195.3 kB / 496.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.3388, allocations: 92.8 kB / 496.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3388, allocations: 10.62 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3389, allocations: 4.188 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3389, allocations: 6.438 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.339, allocations: 7.438 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.3391, allocations: 118.2 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3391, allocations: 0 / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3394, allocations: 39.36 kB / 496.5 MB, free: 14.61 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.001147/0.3405, allocations: 0.491 MB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3408, allocations: 64.06 kB / 497.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3408, allocations: 5.281 kB / 497.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.3409, allocations: 24.61 kB / 497.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3412, allocations: 38.78 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3417, allocations: 193.7 kB / 497.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3418, allocations: 0.6991 MB / 498.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.3419, allocations: 18.64 kB / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.3419, allocations: 18.22 kB / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3419, allocations: 0 / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of Templates: time 0.005575/0.3475, allocations: 1.946 MB / 0.4883 GB, free: 13.08 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)