Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007085/0.007085, allocations: 175.8 kB / 15.12 MB, free: 5.992 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.761/1.761, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001932/0.001932, allocations: 120.5 kB / 255.6 MB, free: 10.15 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.1934/0.1934, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 16.84 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.249, allocations: 82.16 MB / 0.5305 GB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.2493, allocations: 75.91 kB / 0.5305 GB, free: 0.9414 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.3446/0.5939, allocations: 4.746 MB / 0.5352 GB, free: 83.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5939, allocations: 0 / 0.5352 GB, free: 83.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.594, allocations: 2.156 kB / 0.5352 GB, free: 83.07 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.0009184/0.5949, allocations: 494.3 kB / 0.5356 GB, free: 82.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.595, allocations: 9.75 kB / 0.5357 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.5951, allocations: 14.22 kB / 0.5357 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.5956, allocations: 212.6 kB / 0.5359 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.5957, allocations: 3.984 kB / 0.5359 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.5957, allocations: 6.312 kB / 0.5359 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.596, allocations: 55.11 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.596, allocations: 3.938 kB / 0.5359 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.596, allocations: 7.891 kB / 0.5359 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5961, allocations: 5.094 kB / 0.5359 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.5962, allocations: 19.98 kB / 0.536 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.5969, allocations: 315.7 kB / 0.5363 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.5973, allocations: 58.75 kB / 0.5363 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5973, allocations: 2.656 kB / 0.5363 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.5976, allocations: 77.67 kB / 0.5364 GB, free: 81.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/0.5976, allocations: 3.938 kB / 0.5364 GB, free: 81.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.5986, allocations: 195.5 kB / 0.5366 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.5987, allocations: 54.44 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.5991, allocations: 199.8 kB / 0.5368 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.5992, allocations: 30.67 kB / 0.5369 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.5993, allocations: 116 kB / 0.537 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.5993, allocations: 22.19 kB / 0.537 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.5994, allocations: 2.25 kB / 0.537 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.5995, allocations: 325.3 kB / 0.5373 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.5996, allocations: 36.95 kB / 0.5373 GB, free: 81.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.5998, allocations: 56.7 kB / 0.5374 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.6, allocations: 69.81 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6, allocations: 4 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000544/0.6006, allocations: 188.7 kB / 0.5376 GB, free: 81.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.6007, allocations: 39.59 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6007, allocations: 0.5156 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.6007, allocations: 1.094 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6009, allocations: 15.69 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.6009, allocations: 2.344 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.6011, allocations: 7.156 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.6011, allocations: 5.156 kB / 0.5377 GB, free: 81.14 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 0.0001647/0.6013, allocations: 139 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.6013, allocations: 12.72 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.6018, allocations: 128.9 kB / 0.538 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6018, allocations: 5.422 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6018, allocations: 0 / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6018, allocations: 0.6562 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.6026, allocations: 426.2 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6027, allocations: 1.406 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.6027, allocations: 9.406 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6027, allocations: 5.891 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6028, allocations: 5.875 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6028, allocations: 1.406 kB / 0.5384 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6028, allocations: 5.406 kB / 0.5384 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.6032, allocations: 232.8 kB / 0.5386 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6034, allocations: 98.16 kB / 0.5387 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.6034, allocations: 1.875 kB / 0.5387 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6036, allocations: 8.469 kB / 0.5387 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.6036, allocations: 5.203 kB / 0.5388 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6037, allocations: 3.797 kB / 0.5388 GB, free: 80.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.604, allocations: 163.8 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.604, allocations: 0 / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.6045, allocations: 45.56 kB / 0.539 GB, free: 80.29 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.001555/0.6061, allocations: 444.8 kB / 0.5394 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.6066, allocations: 166.4 kB / 0.5395 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6066, allocations: 0 / 0.5395 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.6068, allocations: 31.17 kB / 0.5396 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.6072, allocations: 30.12 kB / 0.5396 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.6082, allocations: 286.1 kB / 0.5399 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6085, allocations: 0.7172 MB / 0.5406 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.6086, allocations: 19.08 kB / 0.5406 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.6087, allocations: 17.08 kB / 0.5406 GB, free: 79.04 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6087, allocations: 0 / 0.5406 GB, free: 79.04 MB / 378.7 MB Notification: Performance of Templates: time 0.008673/0.6174, allocations: 1.799 MB / 0.5424 GB, free: 78.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)