Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001823/0.001823, 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.421/1.421, 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.001682/0.001682, allocations: 119 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.191/0.191, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.92e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.4991, allocations: 81.39 MB / 0.5172 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4994, allocations: 71.64 kB / 0.5173 GB, free: 10.36 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.01095/0.5104, allocations: 4.6 MB / 0.5217 GB, free: 9.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5104, allocations: 0 / 0.5217 GB, free: 9.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.5104, allocations: 3.844 kB / 0.5217 GB, free: 9.199 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.0004145/0.5108, allocations: 468.7 kB / 0.5222 GB, free: 8.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5109, allocations: 7.719 kB / 0.5222 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.5109, allocations: 11.25 kB / 0.5222 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.5112, allocations: 209.2 kB / 0.5224 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5112, allocations: 0 / 0.5224 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5112, allocations: 7.828 kB / 0.5224 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.88e-05/0.5113, allocations: 22.56 kB / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.5114, allocations: 52.08 kB / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5114, allocations: 3.953 kB / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5114, allocations: 0 / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5115, allocations: 3.844 kB / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.5118, allocations: 290.9 kB / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.5119, allocations: 53.94 kB / 0.5228 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.512, allocations: 16.23 kB / 0.5228 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.512, allocations: 3.812 kB / 0.5228 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.5121, allocations: 68.72 kB / 0.5229 GB, free: 8.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.5121, allocations: 4 kB / 0.5229 GB, free: 8.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004244/0.5126, allocations: 154.2 kB / 0.5231 GB, free: 8.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5126, allocations: 55.39 kB / 0.5231 GB, free: 7.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.5128, allocations: 172.3 kB / 0.5233 GB, free: 7.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5128, allocations: 25.7 kB / 0.5233 GB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.5128, allocations: 102.3 kB / 0.5234 GB, free: 7.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.5129, allocations: 27.02 kB / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5129, allocations: 0 / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.5129, allocations: 326.1 kB / 0.5237 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.513, allocations: 33.16 kB / 0.5238 GB, free: 7.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.5131, allocations: 48.59 kB / 0.5238 GB, free: 7.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.5131, allocations: 31.61 kB / 0.5238 GB, free: 7.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5131, allocations: 3.984 kB / 0.5238 GB, free: 7.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001789/0.5133, allocations: 136.8 kB / 0.524 GB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5134, allocations: 37.11 kB / 0.524 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5134, allocations: 3.953 kB / 0.524 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5134, allocations: 4.031 kB / 0.524 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.5135, allocations: 15.73 kB / 0.524 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5135, allocations: 7.875 kB / 0.524 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.5136, allocations: 4.156 kB / 0.524 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5136, allocations: 11.78 kB / 0.5241 GB, free: 7.254 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.646e-05/0.5137, allocations: 108.8 kB / 0.5242 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.5137, allocations: 15.58 kB / 0.5242 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.5139, allocations: 112.4 kB / 0.5243 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5139, allocations: 11.83 kB / 0.5243 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5139, allocations: 0 / 0.5243 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5139, allocations: 3.984 kB / 0.5243 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.5143, allocations: 375.3 kB / 0.5247 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5143, allocations: 0 / 0.5247 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.5143, allocations: 11.5 kB / 0.5247 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5143, allocations: 3.953 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5143, allocations: 6.5 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5143, allocations: 4.016 kB / 0.5247 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5144, allocations: 4 kB / 0.5247 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.5145, allocations: 208.3 kB / 0.5249 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.5146, allocations: 107.3 kB / 0.525 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5146, allocations: 0 / 0.525 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.5147, allocations: 3.844 kB / 0.525 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.5147, allocations: 11.86 kB / 0.525 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5148, allocations: 3.969 kB / 0.525 GB, free: 6.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.5148, allocations: 138.7 kB / 0.5251 GB, free: 6.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5149, allocations: 0 / 0.5251 GB, free: 6.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.5151, allocations: 39.06 kB / 0.5252 GB, free: 6.367 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.0007791/0.5159, allocations: 372.2 kB / 0.5255 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5161, allocations: 149.8 kB / 0.5257 GB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5161, allocations: 0 / 0.5257 GB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.5162, allocations: 34.11 kB / 0.5257 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.5164, allocations: 19.55 kB / 0.5257 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.5167, allocations: 165.2 kB / 0.5259 GB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.5169, allocations: 0.715 MB / 0.5266 GB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.023e-05/0.5169, allocations: 16.25 kB / 0.5266 GB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.517, allocations: 18.78 kB / 0.5266 GB, free: 5.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.517, allocations: 0 / 0.5266 GB, free: 5.211 MB / 346.7 MB Notification: Performance of Templates: time 0.003761/0.5208, allocations: 1.684 MB / 0.5283 GB, free: 4.359 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)