Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007342/0.007342, allocations: 176.8 kB / 15.12 MB, free: 5.973 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.716/1.716, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.002014/0.002014, allocations: 124.6 kB / 255.6 MB, free: 10.16 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.1992/0.1992, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.000525, allocations: 15.09 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1623, allocations: 54.88 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.307, allocations: 82.15 MB / 0.5305 GB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3074, allocations: 75.91 kB / 0.5305 GB, free: 0.9766 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.2816/0.589, allocations: 4.561 MB / 0.535 GB, free: 83.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5891, allocations: 0 / 0.535 GB, free: 83.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.5891, allocations: 1.062 kB / 0.535 GB, free: 83.05 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.0005771/0.5897, allocations: 485.4 kB / 0.5355 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5897, allocations: 8.406 kB / 0.5355 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.5898, allocations: 10.22 kB / 0.5355 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5901, allocations: 209 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5901, allocations: 2.719 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.5902, allocations: 5.047 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.5904, allocations: 60.98 kB / 0.5357 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5904, allocations: 5.031 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.5904, allocations: 4.75 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5904, allocations: 1.062 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.5905, allocations: 25.81 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.591, allocations: 304.7 kB / 0.5361 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.5912, allocations: 63.97 kB / 0.5361 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.5913, allocations: 6.219 kB / 0.5361 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.5915, allocations: 72.84 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.5915, allocations: 0 / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007799/0.5923, allocations: 191.5 kB / 0.5364 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5923, allocations: 52.98 kB / 0.5364 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.5926, allocations: 166.2 kB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.5926, allocations: 34.5 kB / 0.5366 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.5927, allocations: 101.3 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.5927, allocations: 27.92 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.5928, allocations: 3.312 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.5928, allocations: 320.1 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.593, allocations: 38.02 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5931, allocations: 54.33 kB / 0.5371 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.5933, allocations: 75.3 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5933, allocations: 0 / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003933/0.5937, allocations: 178.1 kB / 0.5374 GB, free: 81.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.5938, allocations: 39.66 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5938, allocations: 0.6562 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5938, allocations: 1.125 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5939, allocations: 19.73 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.594, allocations: 6.016 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.5941, allocations: 8.672 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.5941, allocations: 8.547 kB / 0.5375 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 0.0001177/0.5942, allocations: 126.1 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.5942, allocations: 9.312 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.5946, allocations: 126.5 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5946, allocations: 1.031 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5946, allocations: 1.125 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5946, allocations: 0.7969 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.5952, allocations: 415.1 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5952, allocations: 0 / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.5953, allocations: 14.66 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5953, allocations: 1.156 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5953, allocations: 3.172 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5953, allocations: 0.9844 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5953, allocations: 5.188 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.5957, allocations: 235.8 kB / 0.5384 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.5957, allocations: 100.1 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.5958, allocations: 3.297 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5959, allocations: 2.734 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.5959, allocations: 15.3 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.596, allocations: 3.625 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5962, allocations: 139.1 kB / 0.5386 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5962, allocations: 0 / 0.5386 GB, free: 80.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000422/0.5966, allocations: 44.03 kB / 0.5387 GB, free: 80.27 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.001231/0.5978, allocations: 435 kB / 0.5391 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.5982, allocations: 168.3 kB / 0.5392 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5983, allocations: 1 kB / 0.5392 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.5984, allocations: 43.22 kB / 0.5393 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.0003112/0.5987, allocations: 23.78 kB / 0.5393 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.5993, allocations: 244 kB / 0.5395 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.5995, allocations: 0.7144 MB / 0.5402 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.5996, allocations: 16.05 kB / 0.5402 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.5996, allocations: 15.81 kB / 0.5403 GB, free: 79.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5996, allocations: 0 / 0.5403 GB, free: 79.03 MB / 378.7 MB Notification: Performance of Templates: time 0.006603/0.6062, allocations: 1.724 MB / 0.5419 GB, free: 78.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)