Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 176 kB / 7.652 MB, free: 1.426 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.495/1.495, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001676/0.001676, allocations: 112.8 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1748/0.1748, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.032e-05, allocations: 8 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2292, allocations: 54.88 MB / 448.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3296, allocations: 81.36 MB / 0.5172 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3299, allocations: 71.97 kB / 0.5172 GB, free: 12.12 MB / 378.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.0123/0.3423, allocations: 4.428 MB / 0.5215 GB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3423, allocations: 0 / 0.5215 GB, free: 7.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3423, allocations: 0 / 0.5215 GB, free: 7.695 MB / 378.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.0005124/0.3428, allocations: 455.2 kB / 0.522 GB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3429, allocations: 12.03 kB / 0.522 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.3429, allocations: 7.906 kB / 0.522 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3433, allocations: 202.8 kB / 0.5222 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3433, allocations: 7.984 kB / 0.5222 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3433, allocations: 8 kB / 0.5222 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.823e-05/0.3434, allocations: 20 kB / 0.5222 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.287e-05/0.3435, allocations: 49.67 kB / 0.5223 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3436, allocations: 7.891 kB / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3436, allocations: 0 / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3436, allocations: 0 / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.344, allocations: 289.4 kB / 0.5226 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3442, allocations: 50.69 kB / 0.5226 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.3442, allocations: 16.98 kB / 0.5226 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3442, allocations: 0 / 0.5226 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3444, allocations: 79.19 kB / 0.5227 GB, free: 6.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.3444, allocations: 3.938 kB / 0.5227 GB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004727/0.3449, allocations: 145.4 kB / 0.5228 GB, free: 6.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3449, allocations: 63.39 kB / 0.5229 GB, free: 6.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3451, allocations: 155.4 kB / 0.523 GB, free: 5.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3451, allocations: 29.7 kB / 0.5231 GB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.3452, allocations: 104 kB / 0.5232 GB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3452, allocations: 23.66 kB / 0.5232 GB, free: 5.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.3452, allocations: 0 / 0.5232 GB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3453, allocations: 323.5 kB / 0.5235 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.3454, allocations: 32 kB / 0.5235 GB, free: 5.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.3455, allocations: 53.7 kB / 0.5236 GB, free: 5.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.217e-05/0.3455, allocations: 35.98 kB / 0.5236 GB, free: 5.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3456, allocations: 0 / 0.5236 GB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002255/0.3458, allocations: 137.5 kB / 0.5238 GB, free: 5.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.3458, allocations: 33.69 kB / 0.5238 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3458, allocations: 7.953 kB / 0.5238 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3459, allocations: 192 / 0.5238 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.346, allocations: 16 kB / 0.5238 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.346, allocations: 0 / 0.5238 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.346, allocations: 12.02 kB / 0.5238 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3461, allocations: 8 kB / 0.5238 GB, free: 5.129 MB / 378.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 7.996e-05/0.3461, allocations: 112.9 kB / 0.5239 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.3462, allocations: 7.906 kB / 0.5239 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.3464, allocations: 114.2 kB / 0.5241 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3464, allocations: 7.953 kB / 0.5241 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3464, allocations: 0 / 0.5241 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3464, allocations: 0 / 0.5241 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.3468, allocations: 383.8 kB / 0.5244 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3469, allocations: 0 / 0.5244 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.3469, allocations: 11.98 kB / 0.5244 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.3469, allocations: 7.953 kB / 0.5244 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3469, allocations: 3.938 kB / 0.5244 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3469, allocations: 0 / 0.5244 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.347, allocations: 0 / 0.5244 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3472, allocations: 218.1 kB / 0.5247 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.3473, allocations: 104.9 kB / 0.5248 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3473, allocations: 0 / 0.5248 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.3474, allocations: 8 kB / 0.5248 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3474, allocations: 11.97 kB / 0.5248 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3475, allocations: 0 / 0.5248 GB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.966e-05/0.3476, allocations: 144 kB / 0.5249 GB, free: 3.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3476, allocations: 0 / 0.5249 GB, free: 3.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.3479, allocations: 28 kB / 0.5249 GB, free: 3.879 MB / 378.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.000788/0.3487, allocations: 370.8 kB / 0.5253 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3489, allocations: 151.3 kB / 0.5254 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3489, allocations: 4.062 kB / 0.5254 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.349, allocations: 35.92 kB / 0.5255 GB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3492, allocations: 15.98 kB / 0.5255 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.3496, allocations: 150.4 kB / 0.5256 GB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3499, allocations: 0.7079 MB / 0.5263 GB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3499, allocations: 20.64 kB / 0.5263 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.35, allocations: 19.42 kB / 0.5264 GB, free: 2.398 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.35, allocations: 0 / 0.5264 GB, free: 2.398 MB / 378.7 MB Notification: Performance of Templates: time 0.004309/0.3543, allocations: 1.637 MB / 0.528 GB, free: 0.7695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)