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.001028/0.001028, allocations: 181.6 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.616/1.616, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001675/0.001675, allocations: 115.3 kB / 252.6 MB, free: 4.828 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.1989/0.1989, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.242e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09719, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4474, allocations: 81.77 MB / 0.5243 GB, free: 9.219 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4477, allocations: 66.66 kB / 0.5244 GB, free: 9.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02707/0.4747, allocations: 9.355 MB / 0.5335 GB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4748, allocations: 0 / 0.5335 GB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4748, allocations: 12 kB / 0.5335 GB, free: 1.504 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009935/0.4758, allocations: 0.648 MB / 0.5342 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4758, allocations: 12.03 kB / 0.5342 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.4759, allocations: 39.48 kB / 0.5342 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.4763, allocations: 286.4 kB / 0.5345 GB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4763, allocations: 11.38 kB / 0.5345 GB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.4764, allocations: 29.28 kB / 0.5345 GB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.4767, allocations: 262.8 kB / 0.5348 GB, free: 256 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4767, allocations: 0 / 0.5348 GB, free: 256 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4768, allocations: 11.69 kB / 0.5348 GB, free: 248 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4768, allocations: 3.953 kB / 0.5348 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.4771, allocations: 206.5 kB / 0.535 GB, free: 100 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4783, allocations: 0.7657 MB / 0.5357 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.4787, allocations: 282.2 kB / 0.536 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.479, allocations: 183.8 kB / 0.5362 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.479, allocations: 3.625 kB / 0.5362 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.479, allocations: 34.56 kB / 0.5362 GB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.479, allocations: 0 / 0.5362 GB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006348/0.4797, allocations: 374.9 kB / 0.5366 GB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4797, allocations: 85.09 kB / 0.5367 GB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.48, allocations: 307.5 kB / 0.5369 GB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.4801, allocations: 32.77 kB / 0.537 GB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.4802, allocations: 140.3 kB / 0.5371 GB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.4803, allocations: 100.3 kB / 0.5372 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.4803, allocations: 13.38 kB / 0.5372 GB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4804, allocations: 347.7 kB / 0.5375 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.4808, allocations: 271.6 kB / 0.5378 GB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.4812, allocations: 323.7 kB / 0.5381 GB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4816, allocations: 318.4 kB / 0.5384 GB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4817, allocations: 0 / 0.5384 GB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009268/0.4826, allocations: 0.7204 MB / 0.5391 GB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4826, allocations: 8 kB / 0.5391 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.4826, allocations: 7.984 kB / 0.5391 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4827, allocations: 4 kB / 0.5391 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.4832, allocations: 99.56 kB / 0.5392 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.4832, allocations: 4 kB / 0.5392 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4834, allocations: 73.67 kB / 0.5393 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4834, allocations: 15 kB / 0.5393 GB, free: 12.45 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0001544/0.4836, allocations: 137.2 kB / 0.5395 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.4837, allocations: 26.81 kB / 0.5395 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.4838, allocations: 44.2 kB / 0.5395 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4838, allocations: 4 kB / 0.5395 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4838, allocations: 0 / 0.5395 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4838, allocations: 0 / 0.5395 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.4842, allocations: 347 kB / 0.5399 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4842, allocations: 0 / 0.5399 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.4846, allocations: 47.97 kB / 0.5399 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.4846, allocations: 0 / 0.5399 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4846, allocations: 22.05 kB / 0.5399 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4846, allocations: 0 / 0.5399 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4846, allocations: 8 kB / 0.5399 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.4855, allocations: 0.7235 MB / 0.5406 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.4856, allocations: 112.8 kB / 0.5407 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.4856, allocations: 7.438 kB / 0.5408 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4859, allocations: 15.67 kB / 0.5408 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.486, allocations: 19.3 kB / 0.5408 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.486, allocations: 7.984 kB / 0.5408 GB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.4862, allocations: 217.1 kB / 0.541 GB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4862, allocations: 0 / 0.541 GB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008881/0.4871, allocations: 278.3 kB / 0.5413 GB, free: 10.67 MB / 362.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 () * 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.0005212/0.4876, allocations: 296.2 kB / 0.5416 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.4884, allocations: 0.7144 MB / 0.5422 GB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4884, allocations: 0 / 0.5422 GB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.4887, allocations: 183.5 kB / 0.5424 GB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.489, allocations: 42.5 kB / 0.5425 GB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4902, allocations: 0.8046 MB / 0.5432 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.4905, allocations: 0.808 MB / 0.544 GB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.4907, allocations: 70.02 kB / 0.5441 GB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.4908, allocations: 19.44 kB / 0.5441 GB, free: 8.059 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4908, allocations: 4 kB / 0.5441 GB, free: 8.055 MB / 362.7 MB Notification: Performance of Templates: time 0.01017/0.501, allocations: 5.985 MB / 0.55 GB, free: 2.098 MB / 362.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)