Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001126/0.001126, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.169/1.169, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.00157/0.00157, allocations: 99.47 kB / 223.2 MB, free: 4.109 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.1749/0.1749, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.682e-05, allocations: 7.984 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.08054, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4405, allocations: 75.77 MB / 481.5 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4408, allocations: 68.73 kB / 481.5 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4512, allocations: 3.965 MB / 485.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.4512, allocations: 0 / 485.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4512, allocations: 0 / 485.5 MB, free: 18.07 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.0004305/0.4517, allocations: 414.9 kB / 485.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4517, allocations: 7.719 kB / 485.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.4518, allocations: 7.812 kB / 485.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.452, allocations: 193.6 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.452, allocations: 0 / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.4521, allocations: 7.875 kB / 486.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4522, allocations: 49.2 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4522, allocations: 3.75 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4522, allocations: 0 / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4522, allocations: 3.984 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.4523, allocations: 13.28 kB / 486.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.4526, allocations: 287.8 kB / 486.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4528, allocations: 54.75 kB / 486.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.4529, allocations: 16.23 kB / 486.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4529, allocations: 0 / 486.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.453, allocations: 56.83 kB / 486.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.453, allocations: 0 / 486.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003489/0.4533, allocations: 108.6 kB / 486.7 MB, free: 17.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.4534, allocations: 51.41 kB / 486.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4535, allocations: 155.9 kB / 486.9 MB, free: 16.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4535, allocations: 33.42 kB / 486.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.4536, allocations: 93.33 kB / 487 MB, free: 16.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.4536, allocations: 17.14 kB / 487.1 MB, free: 16.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4536, allocations: 3.844 kB / 487.1 MB, free: 16.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.4537, allocations: 316.2 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.4537, allocations: 23.88 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.4538, allocations: 18.91 kB / 487.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.4538, allocations: 59.69 kB / 487.5 MB, free: 16.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4538, allocations: 7.938 kB / 487.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001414/0.454, allocations: 124.7 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.454, allocations: 35.42 kB / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.454, allocations: 0 / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4541, allocations: 0 / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.4541, allocations: 13.61 kB / 487.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4541, allocations: 3.953 kB / 487.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.4542, allocations: 7.625 kB / 487.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4542, allocations: 5.938 kB / 487.7 MB, free: 16.25 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 () * 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 5.183e-05/0.4542, allocations: 109.2 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.4543, allocations: 7.781 kB / 487.8 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.4544, allocations: 87.61 kB / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4545, allocations: 0 / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4545, allocations: 0 / 487.9 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4545, allocations: 9.797 kB / 487.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.4548, allocations: 348.9 kB / 488.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4548, allocations: 0 / 488.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.4548, allocations: 13.81 kB / 488.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4548, allocations: 3.938 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4548, allocations: 0 / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4548, allocations: 3.953 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4548, allocations: 0 / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.455, allocations: 181.2 kB / 488.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.455, allocations: 84.89 kB / 488.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.455, allocations: 0 / 488.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.4551, allocations: 11.2 kB / 488.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.4552, allocations: 3.953 kB / 488.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4552, allocations: 7.344 kB / 488.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.4552, allocations: 115.5 kB / 488.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4553, allocations: 3.625 kB / 488.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.4555, allocations: 31.09 kB / 488.7 MB, free: 15.46 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) * 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.0007146/0.4562, allocations: 341.3 kB / 489 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.4564, allocations: 110.1 kB / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4564, allocations: 0 / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.4564, allocations: 25.83 kB / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4567, allocations: 13.45 kB / 489.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.457, allocations: 116.5 kB / 489.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4571, allocations: 0.7047 MB / 490 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.4572, allocations: 11.95 kB / 490 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.4572, allocations: 16.62 kB / 490 MB, free: 14.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4572, allocations: 0 / 490 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.00371/0.4609, allocations: 1.487 MB / 491.5 MB, free: 14.22 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)