Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001511/0.001511, 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.401/1.401, 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.001563/0.001563, allocations: 110.1 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.1776/0.1776, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.119e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09338, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.4946, allocations: 75.77 MB / 481.5 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.4949, allocations: 71.86 kB / 481.5 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.5057, allocations: 4.339 MB / 485.9 MB, free: 18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5057, allocations: 0 / 485.9 MB, free: 18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5058, allocations: 0 / 485.9 MB, free: 18 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.0003561/0.5061, allocations: 430.3 kB / 486.3 MB, free: 17.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5062, allocations: 9.156 kB / 486.3 MB, free: 17.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.5062, allocations: 11.22 kB / 486.3 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.5064, allocations: 220.5 kB / 486.5 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5065, allocations: 0 / 486.5 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.5065, allocations: 9.938 kB / 486.5 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.5066, allocations: 40.94 kB / 486.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5066, allocations: 0 / 486.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5066, allocations: 3.906 kB / 486.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.5066, allocations: 0 / 486.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.5067, allocations: 13.14 kB / 486.6 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.507, allocations: 315.1 kB / 486.9 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5072, allocations: 41.14 kB / 487 MB, free: 17.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.5072, allocations: 12.55 kB / 487 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.5072, allocations: 0 / 487 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.864e-05/0.5073, allocations: 59.47 kB / 487 MB, free: 16.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.5074, allocations: 0 / 487 MB, free: 16.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003248/0.5077, allocations: 125.4 kB / 487.1 MB, free: 16.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.5077, allocations: 54.17 kB / 487.2 MB, free: 16.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5079, allocations: 225.5 kB / 487.4 MB, free: 16.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5079, allocations: 29.61 kB / 487.4 MB, free: 16.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.508, allocations: 105.5 kB / 487.6 MB, free: 16.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.508, allocations: 16.89 kB / 487.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.508, allocations: 0 / 487.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.5081, allocations: 329.9 kB / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.5081, allocations: 26.19 kB / 487.9 MB, free: 16.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.5082, allocations: 20.75 kB / 487.9 MB, free: 16.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.5082, allocations: 52.69 kB / 488 MB, free: 16.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5082, allocations: 0 / 488 MB, free: 16.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001434/0.5084, allocations: 132.5 kB / 488.1 MB, free: 16.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5084, allocations: 42.84 kB / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5084, allocations: 0 / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5084, allocations: 0 / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.5085, allocations: 9.625 kB / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5085, allocations: 3.875 kB / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.5086, allocations: 4 kB / 488.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5086, allocations: 10.09 kB / 488.2 MB, free: 16.16 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 4.359e-05/0.5086, allocations: 108.6 kB / 488.3 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.5087, allocations: 15.59 kB / 488.3 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.5089, allocations: 96.91 kB / 488.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5089, allocations: 5.766 kB / 488.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5089, allocations: 0 / 488.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5089, allocations: 0 / 488.4 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.5092, allocations: 382.3 kB / 488.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5092, allocations: 96 / 488.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.5093, allocations: 13.86 kB / 488.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5093, allocations: 0 / 488.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.5093, allocations: 7.375 kB / 488.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5093, allocations: 0 / 488.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5093, allocations: 0 / 488.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.5095, allocations: 182.8 kB / 489 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.5095, allocations: 98.16 kB / 489.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.5096, allocations: 3.875 kB / 489.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.5096, allocations: 2.062 kB / 489.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.5097, allocations: 9.891 kB / 489.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.5097, allocations: 3.875 kB / 489.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.5098, allocations: 183.1 kB / 489.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5098, allocations: 3.844 kB / 489.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.5101, allocations: 33.27 kB / 489.3 MB, free: 15.35 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.000675/0.5108, allocations: 339.1 kB / 489.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.5109, allocations: 109.5 kB / 489.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5109, allocations: 3.938 kB / 489.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.511, allocations: 22.75 kB / 489.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.5112, allocations: 15.38 kB / 489.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.5115, allocations: 188.5 kB / 490 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.5117, allocations: 0.7179 MB / 490.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.5117, allocations: 11.89 kB / 490.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.5118, allocations: 20.61 kB / 490.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5118, allocations: 0 / 490.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of Templates: time 0.004046/0.5158, allocations: 1.659 MB / 492.4 MB, free: 14.08 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)