Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001552/0.001552, allocations: 180.8 kB / 7.65 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.383/1.383, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001667/0.001667, allocations: 112.3 kB / 247.4 MB, free: 6.215 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.2051/0.2051, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.017e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09839, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4667, allocations: 81.4 MB / 0.5172 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.467, allocations: 67.75 kB / 0.5173 GB, free: 10.32 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.01147/0.4785, allocations: 4.566 MB / 0.5217 GB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4785, allocations: 0 / 0.5217 GB, free: 9.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.4786, allocations: 0.75 kB / 0.5217 GB, free: 9.172 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.0003869/0.479, allocations: 459.8 kB / 0.5222 GB, free: 8.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.479, allocations: 11.69 kB / 0.5222 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.4791, allocations: 15.58 kB / 0.5222 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.4793, allocations: 211.3 kB / 0.5224 GB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4793, allocations: 0 / 0.5224 GB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4794, allocations: 3.875 kB / 0.5224 GB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.701e-05/0.4795, allocations: 22.7 kB / 0.5224 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.958e-05/0.4795, allocations: 56.73 kB / 0.5225 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4796, allocations: 3.953 kB / 0.5225 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4796, allocations: 0 / 0.5225 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4796, allocations: 3.844 kB / 0.5225 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.4799, allocations: 289.4 kB / 0.5227 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.48, allocations: 52.72 kB / 0.5228 GB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.48, allocations: 20.3 kB / 0.5228 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4801, allocations: 0 / 0.5228 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.4802, allocations: 70.53 kB / 0.5229 GB, free: 8.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.4802, allocations: 0 / 0.5229 GB, free: 8.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004345/0.4806, allocations: 159.1 kB / 0.523 GB, free: 7.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.4806, allocations: 51.41 kB / 0.5231 GB, free: 7.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4808, allocations: 177.9 kB / 0.5232 GB, free: 7.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.4808, allocations: 25.7 kB / 0.5233 GB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.4809, allocations: 102.5 kB / 0.5234 GB, free: 7.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4809, allocations: 22.81 kB / 0.5234 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.4809, allocations: 4 kB / 0.5234 GB, free: 7.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.481, allocations: 326.2 kB / 0.5237 GB, free: 7.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.481, allocations: 37.02 kB / 0.5237 GB, free: 7.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.4811, allocations: 43.25 kB / 0.5238 GB, free: 7.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.4811, allocations: 33.27 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4812, allocations: 3.781 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002348/0.4814, allocations: 132.3 kB / 0.5239 GB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4814, allocations: 44.66 kB / 0.524 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4814, allocations: 3.953 kB / 0.524 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4815, allocations: 4 kB / 0.524 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.4816, allocations: 19.52 kB / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.4816, allocations: 0 / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.4816, allocations: 3.844 kB / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.4816, allocations: 7.906 kB / 0.524 GB, free: 7.227 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 6.54e-05/0.4817, allocations: 112.5 kB / 0.5241 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.4817, allocations: 11.72 kB / 0.5241 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.4819, allocations: 120 kB / 0.5243 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.482, allocations: 7.938 kB / 0.5243 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.482, allocations: 0 / 0.5243 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.482, allocations: 192 / 0.5243 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.4823, allocations: 382.3 kB / 0.5246 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4823, allocations: 7.812 kB / 0.5246 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.4824, allocations: 7.719 kB / 0.5246 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4824, allocations: 3.953 kB / 0.5246 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4824, allocations: 7.938 kB / 0.5247 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4824, allocations: 0 / 0.5247 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4824, allocations: 0 / 0.5247 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4826, allocations: 209.8 kB / 0.5249 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.4826, allocations: 107.6 kB / 0.525 GB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4827, allocations: 3.875 kB / 0.525 GB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.4827, allocations: 4 kB / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.4828, allocations: 11.61 kB / 0.525 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4828, allocations: 3.875 kB / 0.525 GB, free: 6.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.4829, allocations: 135.9 kB / 0.5251 GB, free: 6.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4829, allocations: 0 / 0.5251 GB, free: 6.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.4832, allocations: 41.84 kB / 0.5252 GB, free: 6.332 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.0007372/0.4839, allocations: 363.6 kB / 0.5255 GB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.4841, allocations: 155.3 kB / 0.5256 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4841, allocations: 0 / 0.5256 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.4842, allocations: 33.72 kB / 0.5257 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4844, allocations: 19.08 kB / 0.5257 GB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.4847, allocations: 177.4 kB / 0.5259 GB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4848, allocations: 0.7107 MB / 0.5266 GB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.4849, allocations: 16.25 kB / 0.5266 GB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.4849, allocations: 18.53 kB / 0.5266 GB, free: 5.172 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4849, allocations: 0 / 0.5266 GB, free: 5.172 MB / 346.7 MB Notification: Performance of Templates: time 0.003466/0.4884, allocations: 1.678 MB / 0.5282 GB, free: 4.32 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)