Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.28/1.28, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.001636/0.001636, allocations: 115.9 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1838/0.1838, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.525e-05, allocations: 8 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.5136, allocations: 81.34 MB / 0.5171 GB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5139, allocations: 75.61 kB / 0.5172 GB, free: 10.51 MB / 346.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.01155/0.5255, allocations: 4.538 MB / 0.5216 GB, free: 9.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5255, allocations: 0 / 0.5216 GB, free: 9.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5255, allocations: 3.844 kB / 0.5216 GB, free: 9.371 MB / 346.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.0004085/0.526, allocations: 470.8 kB / 0.5221 GB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.526, allocations: 7.688 kB / 0.5221 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.5261, allocations: 11.59 kB / 0.5221 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.5263, allocations: 206.9 kB / 0.5223 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5263, allocations: 0 / 0.5223 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.5264, allocations: 7.812 kB / 0.5223 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.181e-05/0.5265, allocations: 23.45 kB / 0.5223 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.736e-05/0.5265, allocations: 48.16 kB / 0.5224 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5266, allocations: 7.797 kB / 0.5224 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5266, allocations: 3.984 kB / 0.5224 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5266, allocations: 0 / 0.5224 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.5269, allocations: 292.9 kB / 0.5227 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.527, allocations: 59.25 kB / 0.5227 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.5271, allocations: 16.42 kB / 0.5228 GB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.5271, allocations: 0 / 0.5228 GB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.5272, allocations: 74.06 kB / 0.5228 GB, free: 8.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.5272, allocations: 0 / 0.5228 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004069/0.5276, allocations: 151.7 kB / 0.523 GB, free: 8.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.5277, allocations: 55.41 kB / 0.523 GB, free: 8.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.5278, allocations: 186.5 kB / 0.5232 GB, free: 8.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5278, allocations: 26.45 kB / 0.5232 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.5279, allocations: 108.5 kB / 0.5233 GB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.5279, allocations: 22.64 kB / 0.5233 GB, free: 7.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.5279, allocations: 0 / 0.5233 GB, free: 7.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.528, allocations: 326.6 kB / 0.5237 GB, free: 7.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.528, allocations: 30.12 kB / 0.5237 GB, free: 7.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.5281, allocations: 50.66 kB / 0.5237 GB, free: 7.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.5282, allocations: 37.69 kB / 0.5238 GB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5282, allocations: 7.812 kB / 0.5238 GB, free: 7.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001882/0.5284, allocations: 132.9 kB / 0.5239 GB, free: 7.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.5284, allocations: 33.52 kB / 0.5239 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.5284, allocations: 12.06 kB / 0.5239 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5284, allocations: 0 / 0.5239 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.5285, allocations: 23.42 kB / 0.524 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5285, allocations: 4.062 kB / 0.524 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.5286, allocations: 7.906 kB / 0.524 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.5286, allocations: 7.844 kB / 0.524 GB, free: 7.414 MB / 346.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 () * 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.319e-05/0.5287, allocations: 120.4 kB / 0.5241 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.5288, allocations: 11.75 kB / 0.5241 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.5289, allocations: 108.5 kB / 0.5242 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5289, allocations: 3.953 kB / 0.5242 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.529, allocations: 3.984 kB / 0.5242 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.529, allocations: 3.844 kB / 0.5242 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.5293, allocations: 380.5 kB / 0.5246 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5293, allocations: 3.844 kB / 0.5246 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.5293, allocations: 11.83 kB / 0.5246 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5293, allocations: 3.953 kB / 0.5246 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5294, allocations: 3.844 kB / 0.5246 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5294, allocations: 0 / 0.5246 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5294, allocations: 0 / 0.5246 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.5296, allocations: 216.6 kB / 0.5248 GB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.5296, allocations: 100.6 kB / 0.5249 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5297, allocations: 3.844 kB / 0.5249 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.5297, allocations: 7.297 kB / 0.5249 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.5298, allocations: 3.844 kB / 0.5249 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5298, allocations: 3.844 kB / 0.5249 GB, free: 6.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.5299, allocations: 152.3 kB / 0.5251 GB, free: 6.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5299, allocations: 4.156 kB / 0.5251 GB, free: 6.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.5302, allocations: 35 kB / 0.5251 GB, free: 6.535 MB / 346.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) * 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.0007564/0.5309, allocations: 363.2 kB / 0.5255 GB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.5311, allocations: 151.3 kB / 0.5256 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5312, allocations: 8 kB / 0.5256 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.5312, allocations: 35.95 kB / 0.5257 GB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5314, allocations: 18.3 kB / 0.5257 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.5317, allocations: 178.4 kB / 0.5258 GB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.5319, allocations: 0.7182 MB / 0.5265 GB, free: 5.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.532, allocations: 19.98 kB / 0.5266 GB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.532, allocations: 18.59 kB / 0.5266 GB, free: 5.367 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.532, allocations: 0 / 0.5266 GB, free: 5.367 MB / 346.7 MB Notification: Performance of Templates: time 0.00357/0.5356, allocations: 1.696 MB / 0.5282 GB, free: 4.512 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)