Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008454/0.008454, allocations: 174.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.641/1.641, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001723/0.001724, allocations: 116.6 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1765/0.1765, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003903, allocations: 13.55 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.2429, allocations: 82.15 MB / 0.5305 GB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.2432, allocations: 79.89 kB / 0.5305 GB, free: 0.9648 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.232/0.4752, allocations: 4.647 MB / 0.5351 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4752, allocations: 0 / 0.5351 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4752, allocations: 5.5 kB / 0.5351 GB, free: 83.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005257/0.4758, allocations: 482.6 kB / 0.5355 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4758, allocations: 8.969 kB / 0.5355 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4759, allocations: 10.78 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4762, allocations: 205.8 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4762, allocations: 2.938 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.4763, allocations: 8.594 kB / 0.5358 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4764, allocations: 62.11 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4765, allocations: 1.578 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4765, allocations: 9.203 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4765, allocations: 1.062 kB / 0.5358 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.4766, allocations: 21.92 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.477, allocations: 314.7 kB / 0.5362 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4772, allocations: 65.45 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4772, allocations: 1.312 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.4774, allocations: 68.64 kB / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.4774, allocations: 1.656 kB / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006037/0.478, allocations: 189.8 kB / 0.5365 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.478, allocations: 54.2 kB / 0.5365 GB, free: 81.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4782, allocations: 177.7 kB / 0.5367 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4783, allocations: 29.52 kB / 0.5367 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.4783, allocations: 100.4 kB / 0.5368 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4784, allocations: 27.42 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.4784, allocations: 1.625 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.4785, allocations: 324.9 kB / 0.5372 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.4786, allocations: 37.84 kB / 0.5372 GB, free: 81.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.4787, allocations: 57.06 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.4788, allocations: 76.27 kB / 0.5373 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4788, allocations: 0 / 0.5373 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002878/0.4791, allocations: 182.5 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.4791, allocations: 43.61 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4792, allocations: 3.688 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4792, allocations: 0 / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.4793, allocations: 14.39 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4793, allocations: 5.312 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.4794, allocations: 12.52 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4794, allocations: 6.125 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.383e-05/0.4795, allocations: 127.9 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.4795, allocations: 9.875 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.4798, allocations: 123.7 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4798, allocations: 1.25 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4798, allocations: 0.7031 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4798, allocations: 2.141 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.4803, allocations: 424.2 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4803, allocations: 1.188 kB / 0.5382 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4803, allocations: 13.88 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4803, allocations: 9.516 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4804, allocations: 6.203 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4804, allocations: 1.891 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4804, allocations: 1.156 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.4806, allocations: 227.6 kB / 0.5385 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4807, allocations: 101.4 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4807, allocations: 6.547 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.4808, allocations: 2.891 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.4809, allocations: 6.781 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4809, allocations: 11.36 kB / 0.5386 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.481, allocations: 144.1 kB / 0.5387 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.481, allocations: 1.188 kB / 0.5387 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.4813, allocations: 39.06 kB / 0.5388 GB, free: 80.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001/0.4824, allocations: 430.8 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.4826, allocations: 172.8 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4827, allocations: 7.438 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.4827, allocations: 35.62 kB / 0.5394 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.483, allocations: 24.05 kB / 0.5394 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.4835, allocations: 251.2 kB / 0.5397 GB, free: 79.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.4836, allocations: 0.707 MB / 0.5403 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.4837, allocations: 15.59 kB / 0.5404 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.4838, allocations: 16.34 kB / 0.5404 GB, free: 79.02 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4838, allocations: 0 / 0.5404 GB, free: 79.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004777/0.4885, allocations: 1.762 MB / 0.5421 GB, free: 78.81 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)