Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001517/0.001517, allocations: 180.5 kB / 7.651 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.466/1.466, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001615/0.001615, allocations: 121.2 kB / 247.4 MB, free: 6.219 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.1783/0.1783, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.646e-05, allocations: 8 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08896, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4224, allocations: 81.49 MB / 0.5173 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.4227, allocations: 74.17 kB / 0.5174 GB, free: 10.41 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.4382, allocations: 6.695 MB / 0.5239 GB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4382, allocations: 0 / 0.5239 GB, free: 8.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4382, allocations: 3.438 kB / 0.5239 GB, free: 8.484 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004432/0.4387, allocations: 0.598 MB / 0.5245 GB, free: 7.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4387, allocations: 15.38 kB / 0.5245 GB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.4388, allocations: 23.16 kB / 0.5245 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.4391, allocations: 273.1 kB / 0.5248 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4392, allocations: 3.781 kB / 0.5248 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4392, allocations: 7.438 kB / 0.5248 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.56e-05/0.4393, allocations: 33.92 kB / 0.5248 GB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.4394, allocations: 100.8 kB / 0.5249 GB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4394, allocations: 3.938 kB / 0.5249 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4395, allocations: 0 / 0.5249 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4395, allocations: 3.875 kB / 0.5249 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.4399, allocations: 463.5 kB / 0.5254 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.44, allocations: 104.2 kB / 0.5255 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.4401, allocations: 44.14 kB / 0.5255 GB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4401, allocations: 3.953 kB / 0.5255 GB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.4402, allocations: 107.5 kB / 0.5256 GB, free: 7.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.4402, allocations: 0 / 0.5256 GB, free: 7.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006066/0.4408, allocations: 321.1 kB / 0.5259 GB, free: 6.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.4409, allocations: 80.95 kB / 0.526 GB, free: 6.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.4411, allocations: 302.7 kB / 0.5263 GB, free: 6.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4412, allocations: 29.55 kB / 0.5263 GB, free: 6.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.4412, allocations: 133.9 kB / 0.5264 GB, free: 6.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4412, allocations: 49.14 kB / 0.5265 GB, free: 6.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4413, allocations: 4 kB / 0.5265 GB, free: 6.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.4413, allocations: 336.3 kB / 0.5268 GB, free: 6.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.4414, allocations: 66.05 kB / 0.5269 GB, free: 6.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.4415, allocations: 98.7 kB / 0.527 GB, free: 6.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4416, allocations: 77.28 kB / 0.527 GB, free: 6.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4416, allocations: 4 kB / 0.527 GB, free: 6.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003067/0.442, allocations: 239.7 kB / 0.5273 GB, free: 6.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.442, allocations: 70.7 kB / 0.5273 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.442, allocations: 0 / 0.5273 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.442, allocations: 3.844 kB / 0.5273 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4422, allocations: 38.34 kB / 0.5274 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.4422, allocations: 0 / 0.5274 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.4423, allocations: 11.47 kB / 0.5274 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.4423, allocations: 15.41 kB / 0.5274 GB, free: 5.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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 6.131e-05/0.4424, allocations: 120.7 kB / 0.5275 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.4424, allocations: 27.23 kB / 0.5275 GB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.4427, allocations: 198.7 kB / 0.5277 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4427, allocations: 3.469 kB / 0.5277 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4427, allocations: 0 / 0.5277 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4427, allocations: 0 / 0.5277 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.4432, allocations: 0.6292 MB / 0.5284 GB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4432, allocations: 0 / 0.5284 GB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.4433, allocations: 19.28 kB / 0.5284 GB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4433, allocations: 3.984 kB / 0.5284 GB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4433, allocations: 3.844 kB / 0.5284 GB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4433, allocations: 3.844 kB / 0.5284 GB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4433, allocations: 3.938 kB / 0.5284 GB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.4436, allocations: 399.6 kB / 0.5288 GB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.4437, allocations: 124.2 kB / 0.5289 GB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.4437, allocations: 3.906 kB / 0.5289 GB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4438, allocations: 19.8 kB / 0.5289 GB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4439, allocations: 19.56 kB / 0.5289 GB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4439, allocations: 7.688 kB / 0.5289 GB, free: 4.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.4441, allocations: 236.7 kB / 0.5292 GB, free: 4.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4441, allocations: 0 / 0.5292 GB, free: 4.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.4444, allocations: 85.89 kB / 0.5292 GB, free: 4.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.4455, allocations: 0.5399 MB / 0.5298 GB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.4458, allocations: 309.2 kB / 0.5301 GB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4458, allocations: 4.125 kB / 0.5301 GB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.4459, allocations: 62.05 kB / 0.5301 GB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4462, allocations: 36.58 kB / 0.5302 GB, free: 4.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4466, allocations: 339.8 kB / 0.5305 GB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4468, allocations: 0.7604 MB / 0.5312 GB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.05e-05/0.4469, allocations: 28.97 kB / 0.5313 GB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.447, allocations: 25.66 kB / 0.5313 GB, free: 3.285 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.447, allocations: 0 / 0.5313 GB, free: 3.285 MB / 346.7 MB Notification: Performance of Templates: time 0.005011/0.452, allocations: 3.131 MB / 0.5343 GB, free: 0.75 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)