Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00198/0.00198, 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.435/1.435, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.00162/0.00162, allocations: 116.5 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.1933/0.1933, allocations: 39.96 MB / 332.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.08661, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.429, allocations: 81.38 MB / 0.5172 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.4292, allocations: 74.05 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.01104/0.4403, allocations: 4.641 MB / 0.5218 GB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4403, allocations: 0 / 0.5218 GB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4403, allocations: 8.531 kB / 0.5218 GB, free: 9.16 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.0003846/0.4407, allocations: 462.3 kB / 0.5222 GB, free: 8.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4408, allocations: 11.62 kB / 0.5222 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.4408, allocations: 7.75 kB / 0.5222 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4411, allocations: 214.5 kB / 0.5225 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4411, allocations: 3.984 kB / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4411, allocations: 3.875 kB / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.032e-05/0.4412, allocations: 14.84 kB / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.647e-05/0.4413, allocations: 60.14 kB / 0.5225 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4413, allocations: 3.953 kB / 0.5225 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4413, allocations: 0 / 0.5225 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4413, allocations: 3.844 kB / 0.5225 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.4416, allocations: 295.4 kB / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.4417, allocations: 51.77 kB / 0.5229 GB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.4418, allocations: 23.81 kB / 0.5229 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.4418, allocations: 0 / 0.5229 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.4419, allocations: 65.36 kB / 0.523 GB, free: 8.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4419, allocations: 0 / 0.523 GB, free: 8.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003897/0.4423, allocations: 157.5 kB / 0.5231 GB, free: 7.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.4423, allocations: 51.41 kB / 0.5232 GB, free: 7.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4425, allocations: 186.8 kB / 0.5233 GB, free: 7.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4425, allocations: 29.7 kB / 0.5234 GB, free: 7.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.4425, allocations: 109.8 kB / 0.5235 GB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.4426, allocations: 23.02 kB / 0.5235 GB, free: 7.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4426, allocations: 0 / 0.5235 GB, free: 7.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.4426, allocations: 326.2 kB / 0.5238 GB, free: 7.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.4427, allocations: 25.62 kB / 0.5238 GB, free: 7.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.4428, allocations: 54.2 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.4428, allocations: 37.14 kB / 0.5239 GB, free: 7.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4428, allocations: 3.938 kB / 0.5239 GB, free: 7.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001807/0.443, allocations: 132.2 kB / 0.524 GB, free: 7.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4431, allocations: 37.31 kB / 0.5241 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4431, allocations: 4.141 kB / 0.5241 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4431, allocations: 3.938 kB / 0.5241 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.4432, allocations: 26.16 kB / 0.5241 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4432, allocations: 8.047 kB / 0.5241 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.4432, allocations: 3.719 kB / 0.5241 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4433, allocations: 7.594 kB / 0.5241 GB, free: 7.211 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.292e-05/0.4433, allocations: 112.6 kB / 0.5242 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.4434, allocations: 11.5 kB / 0.5242 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.4435, allocations: 112.4 kB / 0.5244 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4436, allocations: 7.797 kB / 0.5244 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4436, allocations: 0 / 0.5244 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4436, allocations: 192 / 0.5244 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.4439, allocations: 388.2 kB / 0.5247 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4439, allocations: 7.922 kB / 0.5247 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4439, allocations: 7.719 kB / 0.5247 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4439, allocations: 3.953 kB / 0.5247 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.444, allocations: 3.969 kB / 0.5248 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.444, allocations: 0 / 0.5248 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.444, allocations: 3.984 kB / 0.5248 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.4441, allocations: 221.7 kB / 0.525 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.4442, allocations: 103.5 kB / 0.5251 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.4442, allocations: 0 / 0.5251 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.4443, allocations: 3.719 kB / 0.5251 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4443, allocations: 7.828 kB / 0.5251 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.4443, allocations: 0 / 0.5251 GB, free: 6.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.4444, allocations: 147.8 kB / 0.5252 GB, free: 6.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4444, allocations: 0 / 0.5252 GB, free: 6.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.4447, allocations: 42.69 kB / 0.5253 GB, free: 6.324 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.0007054/0.4454, allocations: 357.5 kB / 0.5256 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4456, allocations: 158.9 kB / 0.5257 GB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4456, allocations: 0 / 0.5257 GB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.4457, allocations: 26.62 kB / 0.5258 GB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4459, allocations: 30.17 kB / 0.5258 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.4462, allocations: 181.3 kB / 0.526 GB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4464, allocations: 0.711 MB / 0.5267 GB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.4464, allocations: 23.28 kB / 0.5267 GB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.4465, allocations: 19.12 kB / 0.5267 GB, free: 5.152 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4465, allocations: 0 / 0.5267 GB, free: 5.152 MB / 346.7 MB Notification: Performance of Templates: time 0.003585/0.4501, allocations: 1.695 MB / 0.5284 GB, free: 4.297 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)