Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 169.9 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.356/1.356, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.002073/0.002073, allocations: 103.5 kB / 223.2 MB, free: 4.051 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.1839/0.1839, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.135e-05, allocations: 12 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.08932, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4542, allocations: 75.76 MB / 481.5 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.4545, allocations: 71.45 kB / 481.5 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.4662, allocations: 4.224 MB / 485.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4663, allocations: 0 / 485.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4663, allocations: 3.938 kB / 485.8 MB, free: 18.03 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.0005065/0.4668, allocations: 426.4 kB / 486.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.4669, allocations: 7.844 kB / 486.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.467, allocations: 11.81 kB / 486.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4673, allocations: 202.7 kB / 486.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4673, allocations: 0 / 486.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.4673, allocations: 3.875 kB / 486.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.657e-05/0.4674, allocations: 42.41 kB / 486.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4675, allocations: 3.938 kB / 486.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4675, allocations: 3.875 kB / 486.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4675, allocations: 0 / 486.4 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.4675, allocations: 15.12 kB / 486.5 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.4679, allocations: 308.9 kB / 486.8 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4681, allocations: 40.31 kB / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.4681, allocations: 19.16 kB / 486.8 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4681, allocations: 0 / 486.8 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.4682, allocations: 62.97 kB / 486.9 MB, free: 17.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4683, allocations: 4 kB / 486.9 MB, free: 17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003321/0.4686, allocations: 105.9 kB / 487 MB, free: 16.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4686, allocations: 55.34 kB / 487 MB, free: 16.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4688, allocations: 197.7 kB / 487.2 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4688, allocations: 29.45 kB / 487.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.4689, allocations: 105.2 kB / 487.4 MB, free: 16.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.4689, allocations: 17.56 kB / 487.4 MB, free: 16.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.4689, allocations: 0 / 487.4 MB, free: 16.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.469, allocations: 324.3 kB / 487.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.469, allocations: 28.09 kB / 487.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.4691, allocations: 18.53 kB / 487.8 MB, free: 16.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.4691, allocations: 56.19 kB / 487.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4691, allocations: 0 / 487.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001805/0.4693, allocations: 134 kB / 487.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.4694, allocations: 34.03 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4694, allocations: 0 / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4694, allocations: 1.312 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.4695, allocations: 9.594 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4695, allocations: 9.344 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.4695, allocations: 2.906 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4695, allocations: 12.53 kB / 488 MB, free: 16.19 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 6.771e-05/0.4696, allocations: 112.2 kB / 488.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.4696, allocations: 8.344 kB / 488.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.4699, allocations: 89.89 kB / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4699, allocations: 0 / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4699, allocations: 1.438 kB / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4699, allocations: 5.734 kB / 488.2 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.4702, allocations: 369.5 kB / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4703, allocations: 3.984 kB / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.4703, allocations: 12.78 kB / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4703, allocations: 96 / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4703, allocations: 3.938 kB / 488.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4703, allocations: 1.781 kB / 488.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4703, allocations: 0 / 488.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.4705, allocations: 182.6 kB / 488.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.4706, allocations: 94.03 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4706, allocations: 3.938 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.4707, allocations: 5.953 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4707, allocations: 3.562 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4707, allocations: 6.219 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4708, allocations: 154.8 kB / 489 MB, free: 15.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 489 MB, free: 15.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000257/0.4711, allocations: 44.92 kB / 489.1 MB, free: 15.38 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.0007101/0.4718, allocations: 330.1 kB / 489.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.472, allocations: 110 kB / 489.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.472, allocations: 0 / 489.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.472, allocations: 21 kB / 489.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4722, allocations: 23.73 kB / 489.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.4726, allocations: 162.1 kB / 489.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4727, allocations: 0.706 MB / 490.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.907e-05/0.4728, allocations: 17.06 kB / 490.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.4728, allocations: 18.97 kB / 490.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4728, allocations: 0 / 490.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Templates: time 0.003729/0.4766, allocations: 1.58 MB / 492 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)