Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001327/0.001327, allocations: 179.1 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.449/1.449, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001658/0.001658, allocations: 113.3 kB / 247.4 MB, free: 6.219 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.2036/0.2036, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.643e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08736, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4284, allocations: 81.22 MB / 0.517 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.4287, allocations: 73.67 kB / 0.5171 GB, free: 10.31 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.01097/0.4396, allocations: 4.659 MB / 0.5216 GB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4397, allocations: 3.781 kB / 0.5216 GB, free: 9.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.4397, allocations: 0 / 0.5216 GB, free: 9.125 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.0003943/0.4401, allocations: 474.9 kB / 0.5221 GB, free: 8.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4401, allocations: 8.438 kB / 0.5221 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.4402, allocations: 15.47 kB / 0.5221 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4405, allocations: 209 kB / 0.5223 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4405, allocations: 7.125 kB / 0.5223 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4405, allocations: 7.797 kB / 0.5223 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.125e-05/0.4406, allocations: 15.06 kB / 0.5223 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.522e-05/0.4407, allocations: 49.05 kB / 0.5224 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4407, allocations: 7.953 kB / 0.5224 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4407, allocations: 3.938 kB / 0.5224 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4407, allocations: 3.844 kB / 0.5224 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.4409, allocations: 182.9 kB / 0.5226 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.441, allocations: 48.78 kB / 0.5226 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.441, allocations: 15.55 kB / 0.5226 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.4411, allocations: 4 kB / 0.5226 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.4412, allocations: 69.98 kB / 0.5227 GB, free: 8.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.4412, allocations: 0 / 0.5227 GB, free: 8.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001984/0.4414, allocations: 76.31 kB / 0.5228 GB, free: 8.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4415, allocations: 51.41 kB / 0.5228 GB, free: 7.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.4416, allocations: 232.1 kB / 0.5231 GB, free: 7.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.4417, allocations: 29.55 kB / 0.5231 GB, free: 7.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.4417, allocations: 113 kB / 0.5232 GB, free: 7.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4417, allocations: 11.16 kB / 0.5232 GB, free: 7.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.4417, allocations: 3.875 kB / 0.5232 GB, free: 7.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.4418, allocations: 326 kB / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.4418, allocations: 22.44 kB / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.4419, allocations: 42.61 kB / 0.5236 GB, free: 7.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.442, allocations: 30.42 kB / 0.5236 GB, free: 7.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.442, allocations: 3.938 kB / 0.5236 GB, free: 7.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001585/0.4421, allocations: 116.3 kB / 0.5237 GB, free: 7.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4422, allocations: 37.2 kB / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4422, allocations: 0 / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4422, allocations: 0 / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.4423, allocations: 19.42 kB / 0.5238 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.4423, allocations: 0 / 0.5238 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.4424, allocations: 7.844 kB / 0.5238 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4424, allocations: 7.766 kB / 0.5238 GB, free: 7.293 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 5.1e-05/0.4424, allocations: 108.9 kB / 0.5239 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.4425, allocations: 15.53 kB / 0.5239 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.4426, allocations: 103.4 kB / 0.524 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4426, allocations: 4.125 kB / 0.524 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4426, allocations: 7.688 kB / 0.524 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4426, allocations: 0 / 0.524 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.4427, allocations: 183.4 kB / 0.5242 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4427, allocations: 3.875 kB / 0.5242 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.4428, allocations: 7.188 kB / 0.5242 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4428, allocations: 0 / 0.5242 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4428, allocations: 4 kB / 0.5242 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4428, allocations: 0 / 0.5242 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4428, allocations: 0 / 0.5242 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.4429, allocations: 117.4 kB / 0.5243 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.443, allocations: 99.88 kB / 0.5244 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.443, allocations: 0 / 0.5244 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.4431, allocations: 3.875 kB / 0.5244 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4431, allocations: 7.969 kB / 0.5244 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4431, allocations: 7.844 kB / 0.5244 GB, free: 6.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4433, allocations: 185.3 kB / 0.5246 GB, free: 6.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.4433, allocations: 0 / 0.5246 GB, free: 6.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.4435, allocations: 34.56 kB / 0.5246 GB, free: 6.625 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.0006678/0.4442, allocations: 327 kB / 0.525 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.4443, allocations: 140.6 kB / 0.5251 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4443, allocations: 0 / 0.5251 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.4444, allocations: 21.09 kB / 0.5251 GB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4446, allocations: 22.34 kB / 0.5251 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.4449, allocations: 204.4 kB / 0.5253 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.4451, allocations: 0.7181 MB / 0.526 GB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.4452, allocations: 27.2 kB / 0.5261 GB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4452, allocations: 11.19 kB / 0.5261 GB, free: 5.469 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4453, allocations: 3.656 kB / 0.5261 GB, free: 5.469 MB / 346.7 MB Notification: Performance of Templates: time 0.003865/0.4491, allocations: 1.531 MB / 0.5276 GB, free: 4.707 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)