Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001089/0.001089, allocations: 181.9 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.468/1.468, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.00173/0.00173, allocations: 115.7 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.1969/0.1969, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.241e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09522, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4526, allocations: 81.22 MB / 0.517 GB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.453, allocations: 72.66 kB / 0.5171 GB, free: 10.29 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01605/0.4691, allocations: 4.368 MB / 0.5213 GB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4691, allocations: 0 / 0.5213 GB, free: 9.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.4691, allocations: 3.906 kB / 0.5213 GB, free: 9.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004903/0.4696, allocations: 447.8 kB / 0.5218 GB, free: 8.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.4697, allocations: 11.67 kB / 0.5218 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.4698, allocations: 11.75 kB / 0.5218 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.4701, allocations: 198.7 kB / 0.522 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4701, allocations: 0 / 0.522 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4701, allocations: 7.781 kB / 0.522 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.431e-05/0.4702, allocations: 20.11 kB / 0.522 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.4703, allocations: 48.3 kB / 0.5221 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4704, allocations: 3.953 kB / 0.5221 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4704, allocations: 0 / 0.5221 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4704, allocations: 0 / 0.5221 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.4706, allocations: 187.7 kB / 0.5222 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4708, allocations: 52.28 kB / 0.5223 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.4708, allocations: 16.11 kB / 0.5223 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4709, allocations: 3.938 kB / 0.5223 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.471, allocations: 61.89 kB / 0.5224 GB, free: 8.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.471, allocations: 0 / 0.5224 GB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002839/0.4713, allocations: 82.05 kB / 0.5224 GB, free: 8.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.4714, allocations: 55.41 kB / 0.5225 GB, free: 8.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.4716, allocations: 167 kB / 0.5227 GB, free: 8.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4716, allocations: 29.52 kB / 0.5227 GB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.4716, allocations: 95.19 kB / 0.5228 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.4717, allocations: 14.78 kB / 0.5228 GB, free: 7.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.4717, allocations: 0 / 0.5228 GB, free: 7.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.4718, allocations: 325.8 kB / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.4718, allocations: 22.75 kB / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.4719, allocations: 47.8 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.472, allocations: 29.8 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.472, allocations: 0 / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002333/0.4723, allocations: 105.3 kB / 0.5233 GB, free: 7.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.4723, allocations: 37.38 kB / 0.5233 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4723, allocations: 0 / 0.5233 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4724, allocations: 3.844 kB / 0.5233 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.4725, allocations: 11.64 kB / 0.5234 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4725, allocations: 7.969 kB / 0.5234 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.4726, allocations: 15.69 kB / 0.5234 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4726, allocations: 14.92 kB / 0.5234 GB, free: 7.43 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 (8): * Single equations (assignments): 7 * 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.255e-05/0.4727, allocations: 104.7 kB / 0.5235 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.4727, allocations: 11.72 kB / 0.5235 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.4729, allocations: 84.67 kB / 0.5236 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4729, allocations: 0 / 0.5236 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.4729, allocations: 11.61 kB / 0.5236 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.473, allocations: 4 kB / 0.5236 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.4731, allocations: 163 kB / 0.5238 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4731, allocations: 0 / 0.5238 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.4731, allocations: 7.812 kB / 0.5238 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4732, allocations: 0 / 0.5238 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4732, allocations: 0 / 0.5238 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4732, allocations: 3.984 kB / 0.5238 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4732, allocations: 0 / 0.5238 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.4734, allocations: 108.6 kB / 0.5239 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.4734, allocations: 103.1 kB / 0.524 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4735, allocations: 0 / 0.524 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.4735, allocations: 7.828 kB / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4736, allocations: 0 / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4736, allocations: 3.844 kB / 0.524 GB, free: 6.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.4737, allocations: 139.3 kB / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4737, allocations: 0 / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4741, allocations: 34.47 kB / 0.5241 GB, free: 6.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009019/0.475, allocations: 330.7 kB / 0.5245 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4752, allocations: 139.5 kB / 0.5246 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4752, allocations: 0 / 0.5246 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.4753, allocations: 25.38 kB / 0.5246 GB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4756, allocations: 19.19 kB / 0.5246 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.476, allocations: 130.5 kB / 0.5248 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.4761, allocations: 0.7141 MB / 0.5255 GB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.4762, allocations: 23.69 kB / 0.5255 GB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4763, allocations: 15.27 kB / 0.5255 GB, free: 5.648 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4763, allocations: 0 / 0.5255 GB, free: 5.648 MB / 346.7 MB Notification: Performance of Templates: time 0.004745/0.481, allocations: 1.417 MB / 0.5269 GB, free: 4.941 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)