Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009208/0.009207, allocations: 168.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.377/1.377, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 103.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3025/0.3025, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4726, allocations: 75.87 MB / 487.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4729, allocations: 67.09 kB / 487.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009729/0.4827, allocations: 4.024 MB / 491.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4827, allocations: 0 / 491.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4827, allocations: 7.812 kB / 491.6 MB, free: 8.496 MB / 330.7 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.0003584/0.4831, allocations: 425.6 kB / 492 MB, free: 8.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4831, allocations: 12.03 kB / 492 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.4832, allocations: 7.906 kB / 492 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4834, allocations: 197.6 kB / 492.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4834, allocations: 0 / 492.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4834, allocations: 7.75 kB / 492.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.4835, allocations: 49.48 kB / 492.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4835, allocations: 0 / 492.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4835, allocations: 4 kB / 492.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4836, allocations: 1.031 kB / 492.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.4836, allocations: 15.8 kB / 492.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.4839, allocations: 288.1 kB / 492.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.4841, allocations: 50.19 kB / 492.6 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.4841, allocations: 0 / 492.6 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.788e-05/0.4842, allocations: 55.11 kB / 492.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4842, allocations: 0 / 492.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003305/0.4846, allocations: 123.4 kB / 492.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.4846, allocations: 63.36 kB / 492.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4847, allocations: 156.5 kB / 493 MB, free: 6.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4847, allocations: 33.2 kB / 493 MB, free: 6.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.4848, allocations: 91.02 kB / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.4848, allocations: 19.23 kB / 493.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.4848, allocations: 3.938 kB / 493.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.4848, allocations: 321.8 kB / 493.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.4849, allocations: 23.36 kB / 493.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.4849, allocations: 25.39 kB / 493.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.485, allocations: 57.17 kB / 493.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.485, allocations: 0 / 493.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000138/0.4851, allocations: 131.5 kB / 493.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4852, allocations: 33.7 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4852, allocations: 0 / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4852, allocations: 0 / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.4852, allocations: 12.67 kB / 493.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4852, allocations: 0 / 493.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.4853, allocations: 11.2 kB / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4853, allocations: 4 kB / 493.7 MB, free: 6.242 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,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): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.4854, allocations: 130.4 kB / 493.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4854, allocations: 7.906 kB / 493.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.4856, allocations: 90.3 kB / 493.9 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4856, allocations: 0 / 493.9 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4856, allocations: 4 kB / 494 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4856, allocations: 288 / 494 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.4858, allocations: 358.5 kB / 494.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4858, allocations: 4 kB / 494.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.4859, allocations: 15.61 kB / 494.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4859, allocations: 3.984 kB / 494.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4859, allocations: 0 / 494.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4859, allocations: 0 / 494.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4859, allocations: 7.953 kB / 494.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.486, allocations: 173.3 kB / 494.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.4861, allocations: 89.02 kB / 494.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4861, allocations: 4 kB / 494.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.4862, allocations: 3.562 kB / 494.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.4862, allocations: 11.94 kB / 494.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4862, allocations: 4 kB / 494.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.4863, allocations: 127.6 kB / 494.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4863, allocations: 0 / 494.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.4865, allocations: 39.3 kB / 494.8 MB, free: 5.172 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006764/0.4872, allocations: 357.7 kB / 495.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4874, allocations: 119.2 kB / 495.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4874, allocations: 3.938 kB / 495.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.4874, allocations: 15.38 kB / 495.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4876, allocations: 15.23 kB / 495.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.488, allocations: 202.2 kB / 495.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.4881, allocations: 0.6992 MB / 496.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.4882, allocations: 20.11 kB / 496.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.4882, allocations: 11.44 kB / 496.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4882, allocations: 4 kB / 496.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of Templates: time 0.003534/0.4917, allocations: 1.509 MB / 497.7 MB, free: 2.312 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)