Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001313/0.001313, allocations: 187.4 kB / 7.654 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.3/1.3, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.00167/0.001671, allocations: 113.6 kB / 247.4 MB, free: 6.207 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.1945/0.1945, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.024e-05, allocations: 4 kB / 393.3 MB, free: 75.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 54.87 MB / 448.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/0.5022, allocations: 81.5 MB / 0.5173 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.5025, allocations: 72.55 kB / 0.5174 GB, free: 10.3 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.518, allocations: 6.693 MB / 0.5239 GB, free: 8.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.518, allocations: 0 / 0.5239 GB, free: 8.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.5181, allocations: 3.875 kB / 0.5239 GB, free: 8.375 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005459/0.5186, allocations: 0.5985 MB / 0.5245 GB, free: 7.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5187, allocations: 11.56 kB / 0.5245 GB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.5187, allocations: 23.34 kB / 0.5245 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.5191, allocations: 272.2 kB / 0.5248 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5191, allocations: 0 / 0.5248 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.5191, allocations: 11.34 kB / 0.5248 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.5192, allocations: 37.75 kB / 0.5248 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5194, allocations: 92.8 kB / 0.5249 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5194, allocations: 0 / 0.5249 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5194, allocations: 0 / 0.5249 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5194, allocations: 7.875 kB / 0.5249 GB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.5199, allocations: 467.8 kB / 0.5254 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.52, allocations: 112.4 kB / 0.5255 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.5201, allocations: 38.69 kB / 0.5255 GB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.5201, allocations: 3.953 kB / 0.5255 GB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.5203, allocations: 105 kB / 0.5256 GB, free: 6.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.5203, allocations: 0 / 0.5256 GB, free: 6.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005944/0.5209, allocations: 323.3 kB / 0.5259 GB, free: 6.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.5209, allocations: 88.14 kB / 0.526 GB, free: 6.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.5212, allocations: 294.2 kB / 0.5263 GB, free: 6.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.5212, allocations: 32.73 kB / 0.5263 GB, free: 6.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.5213, allocations: 136.8 kB / 0.5264 GB, free: 6.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.5213, allocations: 47.42 kB / 0.5265 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.5213, allocations: 0 / 0.5265 GB, free: 6.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.5214, allocations: 335.9 kB / 0.5268 GB, free: 6.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.5215, allocations: 65.56 kB / 0.5269 GB, free: 6.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.5216, allocations: 106 kB / 0.527 GB, free: 6.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5217, allocations: 76.69 kB / 0.527 GB, free: 6.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5217, allocations: 0 / 0.527 GB, free: 6.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002992/0.522, allocations: 243.4 kB / 0.5273 GB, free: 5.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.5221, allocations: 69.95 kB / 0.5273 GB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5221, allocations: 4.062 kB / 0.5273 GB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5221, allocations: 3.938 kB / 0.5274 GB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5223, allocations: 34.83 kB / 0.5274 GB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5223, allocations: 0 / 0.5274 GB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.5224, allocations: 15.45 kB / 0.5274 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5224, allocations: 14.81 kB / 0.5274 GB, free: 5.855 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.532e-05/0.5225, allocations: 112.6 kB / 0.5275 GB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.5225, allocations: 27.23 kB / 0.5275 GB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.5228, allocations: 208.2 kB / 0.5277 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5228, allocations: 0 / 0.5277 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5229, allocations: 3.781 kB / 0.5278 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5229, allocations: 0 / 0.5278 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.5234, allocations: 0.6106 MB / 0.5283 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5234, allocations: 4.062 kB / 0.5284 GB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.5235, allocations: 22.52 kB / 0.5284 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5235, allocations: 0 / 0.5284 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5235, allocations: 3.812 kB / 0.5284 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5235, allocations: 3.844 kB / 0.5284 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5235, allocations: 8.297 kB / 0.5284 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.5238, allocations: 393.2 kB / 0.5288 GB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.5239, allocations: 129.6 kB / 0.5289 GB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.5239, allocations: 11.86 kB / 0.5289 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5241, allocations: 4.219 kB / 0.5289 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.5241, allocations: 22.22 kB / 0.5289 GB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5241, allocations: 11.83 kB / 0.5289 GB, free: 4.762 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.5243, allocations: 237.7 kB / 0.5292 GB, free: 4.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5243, allocations: 3.938 kB / 0.5292 GB, free: 4.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.5247, allocations: 85.17 kB / 0.5292 GB, free: 4.633 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00113/0.5258, allocations: 0.529 MB / 0.5298 GB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.5262, allocations: 318.2 kB / 0.5301 GB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5262, allocations: 0 / 0.5301 GB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.5263, allocations: 62.36 kB / 0.5301 GB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.5266, allocations: 36.39 kB / 0.5302 GB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.5272, allocations: 348.2 kB / 0.5305 GB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5274, allocations: 0.7575 MB / 0.5312 GB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.5275, allocations: 33 kB / 0.5313 GB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.5275, allocations: 26.67 kB / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5275, allocations: 3.812 kB / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of Templates: time 0.005476/0.533, allocations: 3.122 MB / 0.5343 GB, free: 0.7148 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)