Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001056/0.001056, allocations: 169.8 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.241/1.241, 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.001652/0.001652, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.1934/0.1934, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.881e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09214, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3505/0.4427, allocations: 75.77 MB / 481.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.443, allocations: 68.5 kB / 481.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01133/0.4543, allocations: 4.321 MB / 485.9 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4544, allocations: 0 / 485.9 MB, free: 18.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4544, allocations: 3.875 kB / 485.9 MB, free: 18.02 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.0003639/0.4548, allocations: 427.2 kB / 486.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4548, allocations: 11.31 kB / 486.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.4549, allocations: 11.72 kB / 486.3 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.4551, allocations: 218.7 kB / 486.5 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.4551, allocations: 0 / 486.5 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4552, allocations: 3.875 kB / 486.5 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4553, allocations: 50.14 kB / 486.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4553, allocations: 0 / 486.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4553, allocations: 3.984 kB / 486.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4553, allocations: 0 / 486.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.4554, allocations: 15.45 kB / 486.6 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.4557, allocations: 310.3 kB / 486.9 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4559, allocations: 45.58 kB / 486.9 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.4559, allocations: 8.703 kB / 486.9 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.456, allocations: 0 / 486.9 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.4561, allocations: 60.81 kB / 487 MB, free: 17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4561, allocations: 3.938 kB / 487 MB, free: 16.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003302/0.4564, allocations: 124.8 kB / 487.1 MB, free: 16.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4565, allocations: 51.41 kB / 487.2 MB, free: 16.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4566, allocations: 222.6 kB / 487.4 MB, free: 16.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4567, allocations: 33.58 kB / 487.4 MB, free: 16.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.4567, allocations: 106.7 kB / 487.5 MB, free: 16.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.4567, allocations: 17.36 kB / 487.6 MB, free: 16.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.4568, allocations: 3.938 kB / 487.6 MB, free: 16.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.4568, allocations: 326.1 kB / 487.9 MB, free: 16.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.4569, allocations: 29.03 kB / 487.9 MB, free: 16.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.4569, allocations: 19.5 kB / 487.9 MB, free: 16.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.4569, allocations: 52.19 kB / 488 MB, free: 16.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.457, allocations: 0 / 488 MB, free: 16.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001447/0.4571, allocations: 140.2 kB / 488.1 MB, free: 16.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4571, allocations: 35.25 kB / 488.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4572, allocations: 0 / 488.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4572, allocations: 0 / 488.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.4572, allocations: 9.703 kB / 488.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4572, allocations: 4.031 kB / 488.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.4573, allocations: 4 kB / 488.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4573, allocations: 9.797 kB / 488.2 MB, free: 16.18 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.516e-05/0.4573, allocations: 112.9 kB / 488.3 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.4574, allocations: 15.69 kB / 488.3 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.4575, allocations: 94.05 kB / 488.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4575, allocations: 0 / 488.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4575, allocations: 0 / 488.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4576, allocations: 0 / 488.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.4578, allocations: 383 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4579, allocations: 0 / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.4579, allocations: 10.36 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4579, allocations: 3.938 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4579, allocations: 3.719 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4579, allocations: 3.938 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4579, allocations: 0 / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.458, allocations: 183 kB / 489 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.4581, allocations: 95.25 kB / 489.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4581, allocations: 7.656 kB / 489.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.4582, allocations: 2.734 kB / 489.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.4582, allocations: 6.453 kB / 489.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4583, allocations: 7.812 kB / 489.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.4584, allocations: 184 kB / 489.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4584, allocations: 0 / 489.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.4586, allocations: 38.09 kB / 489.3 MB, free: 15.37 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.0006554/0.4593, allocations: 336.3 kB / 489.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.4594, allocations: 112.5 kB / 489.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4594, allocations: 3.938 kB / 489.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.4595, allocations: 23.41 kB / 489.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.4597, allocations: 12.3 kB / 489.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.46, allocations: 194.1 kB / 490 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.4602, allocations: 0.7141 MB / 490.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.4602, allocations: 11.78 kB / 490.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.4603, allocations: 19.09 kB / 490.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4603, allocations: 0 / 490.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Templates: time 0.003836/0.4641, allocations: 1.658 MB / 492.4 MB, free: 14.1 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)