Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001024/0.001024, 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.346/1.346, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001616/0.001616, allocations: 115.1 kB / 247.4 MB, free: 6.234 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.1832/0.1832, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.385e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.5196, allocations: 81.35 MB / 0.5171 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.5198, allocations: 69.84 kB / 0.5172 GB, free: 10.35 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.0108/0.5307, allocations: 4.422 MB / 0.5215 GB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5307, allocations: 0 / 0.5215 GB, free: 9.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.5307, allocations: 0.75 kB / 0.5215 GB, free: 9.262 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.000402/0.5311, allocations: 458.7 kB / 0.522 GB, free: 8.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5312, allocations: 7.562 kB / 0.522 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.5312, allocations: 7.844 kB / 0.522 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.5315, allocations: 214.3 kB / 0.5222 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5315, allocations: 3.812 kB / 0.5222 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5315, allocations: 7.688 kB / 0.5222 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.077e-05/0.5316, allocations: 10.97 kB / 0.5222 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.656e-05/0.5317, allocations: 60.08 kB / 0.5223 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5317, allocations: 7.703 kB / 0.5223 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5317, allocations: 0 / 0.5223 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5317, allocations: 0 / 0.5223 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.532, allocations: 293.1 kB / 0.5226 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.5321, allocations: 47.34 kB / 0.5226 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.5322, allocations: 27.25 kB / 0.5226 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5322, allocations: 0 / 0.5226 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.5323, allocations: 69.77 kB / 0.5227 GB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5323, allocations: 0 / 0.5227 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.5327, allocations: 150.3 kB / 0.5228 GB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.5327, allocations: 51.41 kB / 0.5229 GB, free: 8.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.5329, allocations: 166 kB / 0.523 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5329, allocations: 29.58 kB / 0.5231 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.5329, allocations: 102.6 kB / 0.5232 GB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.533, allocations: 18.81 kB / 0.5232 GB, free: 7.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.533, allocations: 0 / 0.5232 GB, free: 7.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.533, allocations: 326.8 kB / 0.5235 GB, free: 7.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.5331, allocations: 36.98 kB / 0.5235 GB, free: 7.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.5331, allocations: 46.34 kB / 0.5236 GB, free: 7.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.5332, allocations: 32.95 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5332, allocations: 0 / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001689/0.5334, allocations: 133.3 kB / 0.5237 GB, free: 7.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5334, allocations: 40.44 kB / 0.5238 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5334, allocations: 3.953 kB / 0.5238 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5335, allocations: 7.906 kB / 0.5238 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.5336, allocations: 19.61 kB / 0.5238 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5336, allocations: 8 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.5336, allocations: 7.844 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5336, allocations: 3.844 kB / 0.5238 GB, free: 7.332 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 5.466e-05/0.5337, allocations: 116.3 kB / 0.5239 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5337, allocations: 11.66 kB / 0.5239 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.5339, allocations: 110.7 kB / 0.5241 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5339, allocations: 3.953 kB / 0.5241 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5339, allocations: 3.875 kB / 0.5241 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5339, allocations: 192 / 0.5241 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.5342, allocations: 371.9 kB / 0.5244 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5342, allocations: 3.938 kB / 0.5244 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.5343, allocations: 19.45 kB / 0.5244 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5343, allocations: 3.953 kB / 0.5244 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.5343, allocations: 3.938 kB / 0.5244 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5343, allocations: 7.875 kB / 0.5245 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5343, allocations: 0 / 0.5245 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.5345, allocations: 208.6 kB / 0.5247 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5345, allocations: 103.5 kB / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.5346, allocations: 0 / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.5347, allocations: 11.83 kB / 0.5248 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.5347, allocations: 7.562 kB / 0.5248 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5347, allocations: 3.844 kB / 0.5248 GB, free: 6.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.5348, allocations: 136.4 kB / 0.5249 GB, free: 6.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5348, allocations: 0 / 0.5249 GB, free: 6.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.5351, allocations: 38.2 kB / 0.5249 GB, free: 6.441 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.0007377/0.5358, allocations: 356.7 kB / 0.5253 GB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.536, allocations: 152.6 kB / 0.5254 GB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.536, allocations: 3.781 kB / 0.5254 GB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.5361, allocations: 27.03 kB / 0.5255 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5363, allocations: 25.83 kB / 0.5255 GB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.5366, allocations: 145.8 kB / 0.5256 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.5368, allocations: 0.7144 MB / 0.5263 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.5368, allocations: 24.27 kB / 0.5263 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.5369, allocations: 15.16 kB / 0.5264 GB, free: 5.285 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5369, allocations: 0 / 0.5264 GB, free: 5.285 MB / 346.7 MB Notification: Performance of Templates: time 0.003749/0.5406, allocations: 1.65 MB / 0.528 GB, free: 4.453 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)