Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001485/0.001485, allocations: 180.3 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.568/1.568, 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.001622/0.001622, allocations: 115.8 kB / 247.4 MB, free: 6.227 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.1808/0.1808, allocations: 39.95 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.791e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08982, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4304, allocations: 81.42 MB / 0.5172 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4307, allocations: 72.53 kB / 0.5173 GB, free: 10.34 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.01194/0.4426, allocations: 5.096 MB / 0.5223 GB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4427, allocations: 0 / 0.5223 GB, free: 8.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4427, allocations: 7.844 kB / 0.5223 GB, free: 8.961 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000399/0.4431, allocations: 482 kB / 0.5227 GB, free: 8.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.4431, allocations: 11.5 kB / 0.5227 GB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.4432, allocations: 15.5 kB / 0.5228 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.4434, allocations: 216.9 kB / 0.523 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4434, allocations: 3.906 kB / 0.523 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.4435, allocations: 7.25 kB / 0.523 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.19e-05/0.4436, allocations: 30.42 kB / 0.523 GB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.4437, allocations: 83.11 kB / 0.5231 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4437, allocations: 0 / 0.5231 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4437, allocations: 3.984 kB / 0.5231 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4437, allocations: 3.844 kB / 0.5231 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.4442, allocations: 313.7 kB / 0.5234 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4444, allocations: 79.06 kB / 0.5235 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.4445, allocations: 22.98 kB / 0.5235 GB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4445, allocations: 11.62 kB / 0.5235 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.4447, allocations: 68.86 kB / 0.5236 GB, free: 7.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.465e-06/0.4447, allocations: 0 / 0.5236 GB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007294/0.4455, allocations: 211.8 kB / 0.5238 GB, free: 7.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4455, allocations: 55.25 kB / 0.5238 GB, free: 7.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.4458, allocations: 218.1 kB / 0.524 GB, free: 7.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4458, allocations: 29.55 kB / 0.5241 GB, free: 7.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.4459, allocations: 113.2 kB / 0.5242 GB, free: 7.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.446, allocations: 31.08 kB / 0.5242 GB, free: 7.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.446, allocations: 3.875 kB / 0.5242 GB, free: 7.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.4461, allocations: 326.4 kB / 0.5245 GB, free: 7.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4462, allocations: 40.5 kB / 0.5245 GB, free: 7.086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4463, allocations: 61.55 kB / 0.5246 GB, free: 7.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4465, allocations: 52.05 kB / 0.5247 GB, free: 7.055 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4465, allocations: 0 / 0.5247 GB, free: 7.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003873/0.4469, allocations: 176.3 kB / 0.5248 GB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.447, allocations: 40.69 kB / 0.5249 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.447, allocations: 0 / 0.5249 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.447, allocations: 0 / 0.5249 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4472, allocations: 27.39 kB / 0.5249 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4472, allocations: 3.938 kB / 0.5249 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.4473, allocations: 3.844 kB / 0.5249 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4473, allocations: 14.53 kB / 0.5249 GB, free: 6.945 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 (14): * Single equations (assignments): 13 * 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.056e-05/0.4474, allocations: 107.3 kB / 0.525 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.4475, allocations: 19.39 kB / 0.525 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.4479, allocations: 148.9 kB / 0.5252 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4479, allocations: 3.75 kB / 0.5252 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4479, allocations: 7.922 kB / 0.5252 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4479, allocations: 0 / 0.5252 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.4485, allocations: 458.6 kB / 0.5256 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4486, allocations: 3.844 kB / 0.5256 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4487, allocations: 19.39 kB / 0.5256 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4487, allocations: 3.844 kB / 0.5256 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4487, allocations: 0 / 0.5256 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4487, allocations: 3.844 kB / 0.5256 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4487, allocations: 3.938 kB / 0.5256 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.4491, allocations: 251.3 kB / 0.5259 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.4492, allocations: 111.4 kB / 0.526 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.4492, allocations: 7.828 kB / 0.526 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4494, allocations: 0 / 0.526 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4494, allocations: 19.55 kB / 0.526 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4495, allocations: 7.281 kB / 0.526 GB, free: 6.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.4497, allocations: 173.8 kB / 0.5262 GB, free: 6.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4497, allocations: 0 / 0.5262 GB, free: 6.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004913/0.4502, allocations: 42.5 kB / 0.5262 GB, free: 6.016 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 (13): * Single equations (assignments): 11 * 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.001123/0.4513, allocations: 371.9 kB / 0.5266 GB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4517, allocations: 181.9 kB / 0.5268 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4517, allocations: 4.062 kB / 0.5268 GB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4518, allocations: 49.66 kB / 0.5268 GB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4522, allocations: 19.44 kB / 0.5268 GB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.4527, allocations: 236.1 kB / 0.5271 GB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.4529, allocations: 0.7226 MB / 0.5278 GB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.453, allocations: 20.25 kB / 0.5278 GB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.4531, allocations: 22.19 kB / 0.5278 GB, free: 4.812 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4531, allocations: 0 / 0.5278 GB, free: 4.812 MB / 346.7 MB Notification: Performance of Templates: time 0.006538/0.4597, allocations: 1.946 MB / 0.5297 GB, free: 3.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)