Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008843/0.008843, allocations: 174.5 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.773/1.773, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001739/0.001738, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.2127/0.2127, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004368, allocations: 11.44 kB / 406.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.2651, allocations: 81.85 MB / 0.5301 GB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.2655, allocations: 59.97 kB / 0.5302 GB, free: 1.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3017/0.5671, allocations: 9.405 MB / 0.5394 GB, free: 82.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5672, allocations: 0 / 0.5394 GB, free: 82.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.5672, allocations: 9.844 kB / 0.5394 GB, free: 82 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001444/0.5687, allocations: 0.6889 MB / 0.5401 GB, free: 81.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.5687, allocations: 8.375 kB / 0.5401 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5689, allocations: 40.83 kB / 0.5401 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.5694, allocations: 291.8 kB / 0.5404 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.5695, allocations: 13.38 kB / 0.5404 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.5696, allocations: 27.08 kB / 0.5404 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.5702, allocations: 276.2 kB / 0.5407 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5702, allocations: 0 / 0.5407 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.5703, allocations: 4.469 kB / 0.5407 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5703, allocations: 11.73 kB / 0.5407 GB, free: 81.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.5708, allocations: 232.7 kB / 0.5409 GB, free: 81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.5722, allocations: 0.7639 MB / 0.5417 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.5728, allocations: 293.3 kB / 0.542 GB, free: 80.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.5728, allocations: 8.312 kB / 0.542 GB, free: 80.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5729, allocations: 38 kB / 0.542 GB, free: 80.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.5729, allocations: 1.156 kB / 0.542 GB, free: 80.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001078/0.574, allocations: 0.5438 MB / 0.5425 GB, free: 80.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.574, allocations: 85.33 kB / 0.5426 GB, free: 80.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.5744, allocations: 312.2 kB / 0.5429 GB, free: 79.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5744, allocations: 33.39 kB / 0.5429 GB, free: 79.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.5745, allocations: 143.7 kB / 0.5431 GB, free: 79.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.5746, allocations: 97.38 kB / 0.5432 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.5746, allocations: 5.375 kB / 0.5432 GB, free: 79.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5747, allocations: 353.7 kB / 0.5435 GB, free: 79.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.5751, allocations: 293.5 kB / 0.5438 GB, free: 79.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.5756, allocations: 330.9 kB / 0.5441 GB, free: 79.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.5762, allocations: 337.5 kB / 0.5444 GB, free: 78.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5762, allocations: 1.312 kB / 0.5444 GB, free: 78.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001178/0.5774, allocations: 0.7549 MB / 0.5452 GB, free: 78.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.5774, allocations: 7.156 kB / 0.5452 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.5774, allocations: 9.141 kB / 0.5452 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.5775, allocations: 2.125 kB / 0.5452 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.578, allocations: 102.6 kB / 0.5453 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.578, allocations: 2.406 kB / 0.5453 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.5782, allocations: 68.39 kB / 0.5454 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.5782, allocations: 11.97 kB / 0.5454 GB, free: 78.44 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002315/0.5785, allocations: 190.6 kB / 0.5456 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.5785, allocations: 29 kB / 0.5456 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.921e-05/0.5786, allocations: 42.67 kB / 0.5456 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5787, allocations: 2.469 kB / 0.5456 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5787, allocations: 1.344 kB / 0.5456 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5787, allocations: 0 / 0.5456 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.5791, allocations: 343.3 kB / 0.546 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5791, allocations: 3.984 kB / 0.546 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.5794, allocations: 53.45 kB / 0.546 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.5794, allocations: 1.5 kB / 0.546 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.5795, allocations: 14.55 kB / 0.546 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5795, allocations: 1.656 kB / 0.546 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5795, allocations: 0 / 0.546 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5805, allocations: 0.7793 MB / 0.5468 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.5806, allocations: 108.7 kB / 0.5469 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.5807, allocations: 15 kB / 0.5469 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.5809, allocations: 18.02 kB / 0.5469 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.581, allocations: 15.42 kB / 0.5469 GB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.581, allocations: 13.17 kB / 0.5469 GB, free: 77.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.5813, allocations: 219.1 kB / 0.5472 GB, free: 77.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5813, allocations: 0 / 0.5472 GB, free: 77.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001371/0.5826, allocations: 266.9 kB / 0.5474 GB, free: 77.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006642/0.5833, allocations: 288.4 kB / 0.5477 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.5847, allocations: 0.7426 MB / 0.5484 GB, free: 76.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5847, allocations: 3.938 kB / 0.5484 GB, free: 76.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.5851, allocations: 197.4 kB / 0.5486 GB, free: 76.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5855, allocations: 40.61 kB / 0.5486 GB, free: 76.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.5871, allocations: 1.037 MB / 0.5497 GB, free: 75.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5874, allocations: 0.8102 MB / 0.5504 GB, free: 74.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000171/0.5876, allocations: 75.88 kB / 0.5505 GB, free: 74.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.5877, allocations: 19.12 kB / 0.5505 GB, free: 74.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5877, allocations: 0 / 0.5505 GB, free: 74.81 MB / 378.7 MB Notification: Performance of Templates: time 0.0105/0.5982, allocations: 5.92 MB / 0.5563 GB, free: 69.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)