Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.68/1.68, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001637/0.001637, allocations: 111.9 kB / 252.6 MB, free: 4.836 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.2496/0.2496, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.42e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6276, allocations: 82.28 MB / 0.5248 GB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.628, allocations: 77.95 kB / 0.5249 GB, free: 8.859 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.01492/0.643, allocations: 5.214 MB / 0.53 GB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.643, allocations: 0 / 0.53 GB, free: 4.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.643, allocations: 7.594 kB / 0.53 GB, free: 4.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005747/0.6436, allocations: 455.5 kB / 0.5304 GB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.6437, allocations: 8.031 kB / 0.5304 GB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.6437, allocations: 11.91 kB / 0.5305 GB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.6441, allocations: 201.4 kB / 0.5306 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.6441, allocations: 4 kB / 0.5307 GB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.6442, allocations: 7.125 kB / 0.5307 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.6443, allocations: 84.48 kB / 0.5307 GB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6444, allocations: 0 / 0.5307 GB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.6444, allocations: 6.5 kB / 0.5307 GB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6444, allocations: 4 kB / 0.5308 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.6445, allocations: 29.92 kB / 0.5308 GB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.645, allocations: 322.4 kB / 0.5311 GB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.6452, allocations: 69 kB / 0.5312 GB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.6452, allocations: 27.55 kB / 0.5312 GB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.6453, allocations: 4 kB / 0.5312 GB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.6454, allocations: 80.42 kB / 0.5313 GB, free: 3.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6454, allocations: 0 / 0.5313 GB, free: 3.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005743/0.646, allocations: 180.5 kB / 0.5314 GB, free: 3.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6461, allocations: 77.11 kB / 0.5315 GB, free: 3.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.6462, allocations: 153.8 kB / 0.5317 GB, free: 3.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.6463, allocations: 29.7 kB / 0.5317 GB, free: 3.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.6463, allocations: 99.14 kB / 0.5318 GB, free: 3.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.6463, allocations: 23.58 kB / 0.5318 GB, free: 3.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-06/0.6464, allocations: 3.75 kB / 0.5318 GB, free: 3.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.6465, allocations: 322.7 kB / 0.5321 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.6465, allocations: 37.5 kB / 0.5321 GB, free: 2.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.6466, allocations: 62.45 kB / 0.5322 GB, free: 2.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.6467, allocations: 68.7 kB / 0.5323 GB, free: 2.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6467, allocations: 4.031 kB / 0.5323 GB, free: 2.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002178/0.6469, allocations: 183.1 kB / 0.5324 GB, free: 2.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.647, allocations: 29.8 kB / 0.5325 GB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.647, allocations: 4.172 kB / 0.5325 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.647, allocations: 4 kB / 0.5325 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.6471, allocations: 15.98 kB / 0.5325 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6471, allocations: 7.984 kB / 0.5325 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.6472, allocations: 7.938 kB / 0.5325 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6472, allocations: 7.984 kB / 0.5325 GB, free: 2.383 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 (12): * Single equations (assignments): 11 * 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.747e-05/0.6473, allocations: 125.1 kB / 0.5326 GB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.6473, allocations: 7.906 kB / 0.5326 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.6476, allocations: 138 kB / 0.5328 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6476, allocations: 0 / 0.5328 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6476, allocations: 0 / 0.5328 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6476, allocations: 7.969 kB / 0.5328 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.648, allocations: 437.5 kB / 0.5332 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.648, allocations: 4.031 kB / 0.5332 GB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.6481, allocations: 12 kB / 0.5332 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6481, allocations: 4 kB / 0.5332 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6481, allocations: 3.625 kB / 0.5332 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6481, allocations: 0 / 0.5332 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6481, allocations: 4 kB / 0.5332 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.6483, allocations: 246.8 kB / 0.5335 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.6484, allocations: 92.12 kB / 0.5336 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.6484, allocations: 7.984 kB / 0.5336 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.6485, allocations: 3.5 kB / 0.5336 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.6485, allocations: 11.98 kB / 0.5336 GB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.6486, allocations: 0 / 0.5336 GB, free: 1.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.448e-05/0.6486, allocations: 118 kB / 0.5337 GB, free: 1.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6486, allocations: 4 kB / 0.5337 GB, free: 1.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.6489, allocations: 59.06 kB / 0.5337 GB, free: 1.148 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 (11): * Single equations (assignments): 9 * 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.001163/0.6501, allocations: 479.4 kB / 0.5342 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.6504, allocations: 169.8 kB / 0.5344 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6504, allocations: 0 / 0.5344 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.6504, allocations: 38.23 kB / 0.5344 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.6507, allocations: 19.73 kB / 0.5344 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.651, allocations: 158.5 kB / 0.5346 GB, free: 420 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6513, allocations: 0.7045 MB / 0.5353 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.6514, allocations: 20.53 kB / 0.5353 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.6514, allocations: 23.42 kB / 0.5353 GB, free: 15.63 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6514, allocations: 0 / 0.5353 GB, free: 15.63 MB / 362.7 MB Notification: Performance of Templates: time 0.004842/0.6563, allocations: 2.094 MB / 0.5374 GB, free: 13.57 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)