Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01096/0.01096, allocations: 174.9 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.766/1.766, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.001824/0.001825, allocations: 108.7 kB / 255.6 MB, free: 11.21 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.1988/0.1988, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 14.03 kB / 406.2 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 54.88 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.2338, allocations: 82.36 MB / 0.5307 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.2341, allocations: 75.95 kB / 0.5307 GB, free: 0.8711 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.2565/0.4906, allocations: 5.158 MB / 0.5358 GB, free: 83.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4906, allocations: 1.344 kB / 0.5358 GB, free: 83.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4907, allocations: 5.156 kB / 0.5358 GB, free: 83.14 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.0004519/0.4911, allocations: 464.3 kB / 0.5362 GB, free: 82.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4912, allocations: 9.859 kB / 0.5362 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.4912, allocations: 13.5 kB / 0.5362 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4915, allocations: 199.2 kB / 0.5364 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4915, allocations: 6.094 kB / 0.5364 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4915, allocations: 3.031 kB / 0.5364 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4917, allocations: 69 kB / 0.5365 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4917, allocations: 0 / 0.5365 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4917, allocations: 5.641 kB / 0.5365 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4918, allocations: 12.94 kB / 0.5365 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.4919, allocations: 21.31 kB / 0.5365 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.4923, allocations: 299.6 kB / 0.5368 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4924, allocations: 58.3 kB / 0.5369 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4925, allocations: 1.406 kB / 0.5369 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.4926, allocations: 74.58 kB / 0.537 GB, free: 82.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.4926, allocations: 0 / 0.537 GB, free: 82.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.4932, allocations: 175.5 kB / 0.5371 GB, free: 82.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.4932, allocations: 78.84 kB / 0.5372 GB, free: 81.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4934, allocations: 141.6 kB / 0.5373 GB, free: 81.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4934, allocations: 31.52 kB / 0.5374 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.4934, allocations: 92.52 kB / 0.5375 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.4935, allocations: 29.58 kB / 0.5375 GB, free: 81.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.4935, allocations: 9.188 kB / 0.5375 GB, free: 81.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.4935, allocations: 319.1 kB / 0.5378 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.4936, allocations: 30.88 kB / 0.5378 GB, free: 81.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.4937, allocations: 58.28 kB / 0.5379 GB, free: 81.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.4938, allocations: 70.23 kB / 0.5379 GB, free: 81.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4938, allocations: 4.031 kB / 0.538 GB, free: 81.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002424/0.4941, allocations: 165.9 kB / 0.5381 GB, free: 81.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.4941, allocations: 38.56 kB / 0.5381 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4941, allocations: 80 / 0.5381 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4941, allocations: 2.594 kB / 0.5381 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.4942, allocations: 14.58 kB / 0.5382 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4943, allocations: 5.172 kB / 0.5382 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.4943, allocations: 5.531 kB / 0.5382 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4943, allocations: 4.344 kB / 0.5382 GB, free: 81.19 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 7.097e-05/0.4944, allocations: 130.1 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.4944, allocations: 13.12 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.4947, allocations: 117.8 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4947, allocations: 1.219 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4947, allocations: 0 / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4947, allocations: 0.7969 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.4951, allocations: 420.5 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4951, allocations: 1.25 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.4952, allocations: 10.39 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4952, allocations: 1.984 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4952, allocations: 5.297 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4952, allocations: 1.844 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4952, allocations: 0 / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.4954, allocations: 225.4 kB / 0.5391 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.4955, allocations: 94.89 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.4955, allocations: 10.48 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.4956, allocations: 3.328 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4957, allocations: 6.422 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4957, allocations: 3.391 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.4958, allocations: 112.8 kB / 0.5393 GB, free: 80.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4958, allocations: 4 kB / 0.5393 GB, free: 80.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.4961, allocations: 51.78 kB / 0.5393 GB, free: 80.34 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.001169/0.4973, allocations: 0.5247 MB / 0.5398 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4976, allocations: 151.8 kB / 0.54 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4976, allocations: 0 / 0.54 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.4977, allocations: 32.45 kB / 0.54 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4979, allocations: 19.91 kB / 0.54 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.4984, allocations: 215.8 kB / 0.5403 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4986, allocations: 0.7029 MB / 0.5409 GB, free: 79.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.4986, allocations: 15.61 kB / 0.541 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.4987, allocations: 17.72 kB / 0.541 GB, free: 79.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4987, allocations: 0 / 0.541 GB, free: 79.04 MB / 378.7 MB Notification: Performance of Templates: time 0.005226/0.5039, allocations: 1.947 MB / 0.5429 GB, free: 78.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)