Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001625/0.001625, allocations: 181.9 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 2.04/2.04, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001733/0.001733, allocations: 113.2 kB / 252.6 MB, free: 4.793 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.2339/0.2339, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.926e-05, allocations: 7.938 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.5771, allocations: 81.92 MB / 0.5245 GB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.5774, allocations: 69.72 kB / 0.5246 GB, free: 9.133 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.5911, allocations: 5.984 MB / 0.5304 GB, free: 4.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5911, allocations: 0 / 0.5304 GB, free: 4.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.5912, allocations: 8 kB / 0.5304 GB, free: 4.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006577/0.5918, allocations: 0.7249 MB / 0.5311 GB, free: 3.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5919, allocations: 8.031 kB / 0.5311 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.346e-05/0.592, allocations: 51.34 kB / 0.5312 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.5926, allocations: 478.1 kB / 0.5316 GB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5927, allocations: 7.562 kB / 0.5316 GB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5927, allocations: 8 kB / 0.5316 GB, free: 3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5929, allocations: 87.05 kB / 0.5317 GB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5929, allocations: 3.953 kB / 0.5317 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5929, allocations: 0 / 0.5317 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5929, allocations: 3.938 kB / 0.5317 GB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.593, allocations: 35.55 kB / 0.5318 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.5933, allocations: 406.5 kB / 0.5321 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.5934, allocations: 104.7 kB / 0.5322 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.5935, allocations: 41.55 kB / 0.5323 GB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.5935, allocations: 4 kB / 0.5323 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.5937, allocations: 116.2 kB / 0.5324 GB, free: 2.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5937, allocations: 0 / 0.5324 GB, free: 2.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002913/0.594, allocations: 172.2 kB / 0.5326 GB, free: 2.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.594, allocations: 88.97 kB / 0.5327 GB, free: 1.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/0.595, allocations: 0.9306 MB / 0.5336 GB, free: 1.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.595, allocations: 33.64 kB / 0.5336 GB, free: 1.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5952, allocations: 231.4 kB / 0.5338 GB, free: 1.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.5952, allocations: 27.39 kB / 0.5338 GB, free: 1.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.5952, allocations: 4 kB / 0.5338 GB, free: 1.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.5953, allocations: 365.6 kB / 0.5342 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.5954, allocations: 59.31 kB / 0.5342 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.5955, allocations: 93.36 kB / 0.5343 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.5956, allocations: 126.4 kB / 0.5345 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5956, allocations: 3.938 kB / 0.5345 GB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003484/0.596, allocations: 306.1 kB / 0.5348 GB, free: 224 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.596, allocations: 71.14 kB / 0.5348 GB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5961, allocations: 4 kB / 0.5348 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5961, allocations: 0 / 0.5348 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5962, allocations: 32 kB / 0.5349 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5962, allocations: 3.938 kB / 0.5349 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.5963, allocations: 23.47 kB / 0.5349 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5963, allocations: 15.92 kB / 0.5349 GB, free: 68 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001004/0.5965, allocations: 120.8 kB / 0.535 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.5965, allocations: 51.59 kB / 0.5351 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.5969, allocations: 203.9 kB / 0.5353 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5969, allocations: 4 kB / 0.5353 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5969, allocations: 7.953 kB / 0.5353 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5969, allocations: 0 / 0.5353 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.5973, allocations: 378.8 kB / 0.5356 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5973, allocations: 0 / 0.5356 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.5973, allocations: 11.98 kB / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5973, allocations: 0 / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5974, allocations: 7.688 kB / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5974, allocations: 0 / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5974, allocations: 0 / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.5977, allocations: 229.3 kB / 0.5359 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.598, allocations: 203.8 kB / 0.5361 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.5981, allocations: 4 kB / 0.5361 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.5982, allocations: 11.69 kB / 0.5361 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.5982, allocations: 15.94 kB / 0.5361 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5983, allocations: 7.984 kB / 0.5361 GB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008157/0.5991, allocations: 0.7312 MB / 0.5368 GB, free: 14.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5991, allocations: 0 / 0.5368 GB, free: 14.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.5994, allocations: 111.4 kB / 0.5369 GB, free: 14.24 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001224/0.6007, allocations: 0.4954 MB / 0.5374 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.6011, allocations: 297.1 kB / 0.5377 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6011, allocations: 0 / 0.5377 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.6012, allocations: 42.44 kB / 0.5377 GB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.6015, allocations: 59.17 kB / 0.5378 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.6027, allocations: 0.7657 MB / 0.5385 GB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.6032, allocations: 0.8511 MB / 0.5394 GB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.6034, allocations: 88.86 kB / 0.5394 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6035, allocations: 38.19 kB / 0.5395 GB, free: 11.81 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6035, allocations: 0 / 0.5395 GB, free: 11.81 MB / 362.7 MB Notification: Performance of Templates: time 0.00984/0.6133, allocations: 4.982 MB / 0.5443 GB, free: 6.863 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)