Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") 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.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.53/1.53, 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.001693/0.001693, allocations: 114.2 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.1971/0.1971, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 54.88 MB / 448.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4763, allocations: 82.14 MB / 0.5179 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.4765, allocations: 73.17 kB / 0.518 GB, free: 10.41 MB / 346.7 MB [/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.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.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.008546/0.4851, allocations: 3.579 MB / 0.5215 GB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4851, allocations: 0 / 0.5215 GB, free: 9.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4851, allocations: 0 / 0.5215 GB, free: 9.414 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004178/0.4855, allocations: 0.4955 MB / 0.522 GB, free: 8.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4856, allocations: 11.84 kB / 0.522 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.4856, allocations: 19.45 kB / 0.522 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4859, allocations: 218.8 kB / 0.5222 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4859, allocations: 3.844 kB / 0.5222 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4859, allocations: 8.25 kB / 0.5222 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/0.486, allocations: 33.86 kB / 0.5222 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4862, allocations: 63.73 kB / 0.5223 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4862, allocations: 0 / 0.5223 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4862, allocations: 3.953 kB / 0.5223 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4862, allocations: 7.812 kB / 0.5223 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.4867, allocations: 340 kB / 0.5226 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.4869, allocations: 77.91 kB / 0.5227 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.487, allocations: 38.12 kB / 0.5228 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.487, allocations: 7.938 kB / 0.5228 GB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.4871, allocations: 80.34 kB / 0.5228 GB, free: 8.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4871, allocations: 0 / 0.5228 GB, free: 8.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002024/0.4874, allocations: 100.5 kB / 0.5229 GB, free: 8.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.4874, allocations: 51.41 kB / 0.523 GB, free: 8.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4875, allocations: 166.1 kB / 0.5231 GB, free: 7.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4875, allocations: 25.7 kB / 0.5232 GB, free: 7.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.4876, allocations: 109.5 kB / 0.5233 GB, free: 7.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.4876, allocations: 26.67 kB / 0.5233 GB, free: 7.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.4876, allocations: 0 / 0.5233 GB, free: 7.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.4877, allocations: 325.7 kB / 0.5236 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.4877, allocations: 30 kB / 0.5236 GB, free: 7.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.4878, allocations: 62.34 kB / 0.5237 GB, free: 7.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.615e-05/0.4879, allocations: 39.27 kB / 0.5237 GB, free: 7.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4879, allocations: 0 / 0.5237 GB, free: 7.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001847/0.4881, allocations: 143 kB / 0.5239 GB, free: 7.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4881, allocations: 41.33 kB / 0.5239 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4881, allocations: 0 / 0.5239 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4881, allocations: 3.844 kB / 0.5239 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.4882, allocations: 22.45 kB / 0.5239 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4882, allocations: 11.94 kB / 0.5239 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.4883, allocations: 11.75 kB / 0.524 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.4883, allocations: 11.94 kB / 0.524 GB, free: 7.379 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.996e-05/0.4884, allocations: 108.7 kB / 0.5241 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.4884, allocations: 11.62 kB / 0.5241 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.4886, allocations: 114.5 kB / 0.5242 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4886, allocations: 3.875 kB / 0.5242 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4886, allocations: 11.94 kB / 0.5242 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4886, allocations: 0 / 0.5242 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4888, allocations: 179.5 kB / 0.5244 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4888, allocations: 0 / 0.5244 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.4889, allocations: 14.44 kB / 0.5244 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4889, allocations: 3.875 kB / 0.5244 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4889, allocations: 3.938 kB / 0.5244 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4889, allocations: 0 / 0.5244 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4889, allocations: 7.938 kB / 0.5244 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4891, allocations: 162 kB / 0.5246 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.4892, allocations: 100.5 kB / 0.5247 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4892, allocations: 0 / 0.5247 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.4893, allocations: 11.67 kB / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.4893, allocations: 11.73 kB / 0.5247 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4893, allocations: 7.891 kB / 0.5247 GB, free: 6.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.4894, allocations: 121.5 kB / 0.5248 GB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4894, allocations: 0 / 0.5248 GB, free: 6.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.4896, allocations: 43.17 kB / 0.5248 GB, free: 6.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006443/0.4903, allocations: 321.7 kB / 0.5251 GB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.4905, allocations: 163.5 kB / 0.5253 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4905, allocations: 0 / 0.5253 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.4905, allocations: 33.44 kB / 0.5253 GB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.4907, allocations: 26.67 kB / 0.5254 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.4911, allocations: 167.2 kB / 0.5255 GB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.4912, allocations: 0.7254 MB / 0.5262 GB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.4913, allocations: 16.23 kB / 0.5262 GB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.4913, allocations: 15.12 kB / 0.5263 GB, free: 5.559 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4913, allocations: 0 / 0.5263 GB, free: 5.559 MB / 346.7 MB Notification: Performance of Templates: time 0.00354/0.4949, allocations: 1.702 MB / 0.5279 GB, free: 4.707 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)