Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007427/0.007427, allocations: 174.4 kB / 15.12 MB, free: 5.969 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.71/1.71, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001836/0.001836, allocations: 124.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2043/0.2043, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 12.53 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 54.88 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.2522, allocations: 82.15 MB / 0.5305 GB, free: 1.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.2525, allocations: 75.95 kB / 0.5305 GB, free: 0.9648 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.2474/0.4999, allocations: 4.712 MB / 0.5351 GB, free: 83.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4999, allocations: 0 / 0.5351 GB, free: 83.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5, allocations: 1.688 kB / 0.5351 GB, free: 83.06 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.0005113/0.5005, allocations: 488.9 kB / 0.5356 GB, free: 82.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5005, allocations: 9.094 kB / 0.5356 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.5006, allocations: 10.91 kB / 0.5356 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.5009, allocations: 210.4 kB / 0.5358 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5009, allocations: 3.594 kB / 0.5358 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.5009, allocations: 8.906 kB / 0.5358 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5011, allocations: 62.17 kB / 0.5359 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5011, allocations: 0.7969 kB / 0.5359 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.5011, allocations: 8.859 kB / 0.5359 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5011, allocations: 0.9375 kB / 0.5359 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.5012, allocations: 20.58 kB / 0.5359 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.5016, allocations: 315.1 kB / 0.5362 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.5018, allocations: 61.61 kB / 0.5363 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5018, allocations: 8.969 kB / 0.5363 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.502, allocations: 71.75 kB / 0.5364 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.502, allocations: 0 / 0.5364 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005888/0.5026, allocations: 186.7 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.5026, allocations: 53.14 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5028, allocations: 193.7 kB / 0.5368 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5028, allocations: 31.83 kB / 0.5368 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.5029, allocations: 103.3 kB / 0.5369 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.5029, allocations: 27.45 kB / 0.5369 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.5029, allocations: 2.125 kB / 0.5369 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.503, allocations: 325.4 kB / 0.5372 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.5031, allocations: 37.94 kB / 0.5373 GB, free: 81.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.5032, allocations: 52.34 kB / 0.5373 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5033, allocations: 81.38 kB / 0.5374 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5033, allocations: 1.5 kB / 0.5374 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002623/0.5036, allocations: 170 kB / 0.5376 GB, free: 81.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.5037, allocations: 39.81 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5037, allocations: 3.938 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5037, allocations: 2.75 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.5038, allocations: 17.61 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.5038, allocations: 1.938 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.5039, allocations: 4.625 kB / 0.5376 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5039, allocations: 10 kB / 0.5376 GB, free: 81.14 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 () * Number of clocked 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 8.979e-05/0.504, allocations: 131.8 kB / 0.5378 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.504, allocations: 17.67 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.5043, allocations: 128.8 kB / 0.5379 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5043, allocations: 0.7031 kB / 0.5379 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5043, allocations: 1.469 kB / 0.5379 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5043, allocations: 0.6094 kB / 0.5379 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.5048, allocations: 426.8 kB / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5048, allocations: 0 / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.5049, allocations: 14.88 kB / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5049, allocations: 1.281 kB / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5049, allocations: 9.469 kB / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5049, allocations: 2.297 kB / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5049, allocations: 0 / 0.5383 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.5052, allocations: 230.4 kB / 0.5386 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.5052, allocations: 97.61 kB / 0.5387 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.5053, allocations: 6.328 kB / 0.5387 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.5053, allocations: 3.266 kB / 0.5387 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.5054, allocations: 6.031 kB / 0.5387 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.5054, allocations: 5.031 kB / 0.5387 GB, free: 80.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.5055, allocations: 156.4 kB / 0.5388 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5055, allocations: 1.219 kB / 0.5388 GB, free: 80.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.5058, allocations: 44.66 kB / 0.5389 GB, free: 80.28 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) * Number of clocked states: 0 () * 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.001079/0.5069, allocations: 442.1 kB / 0.5393 GB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.5072, allocations: 169.5 kB / 0.5395 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5073, allocations: 0 / 0.5395 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.5074, allocations: 42.16 kB / 0.5395 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5076, allocations: 24.03 kB / 0.5395 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.5082, allocations: 266.9 kB / 0.5398 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.5084, allocations: 0.7117 MB / 0.5405 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.5085, allocations: 12.52 kB / 0.5405 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.5085, allocations: 16.94 kB / 0.5405 GB, free: 79.04 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5085, allocations: 0 / 0.5405 GB, free: 79.04 MB / 378.7 MB Notification: Performance of Templates: time 0.004868/0.5134, allocations: 1.784 MB / 0.5422 GB, free: 78.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)