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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006414/0.006414, allocations: 100.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 189.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3971/0.3971, allocations: 39.95 MB / 309.8 MB, free: 9.375 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.89 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3495, allocations: 56.86 MB / 492.6 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003508/0.3531, allocations: 1.825 MB / 494.5 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3555, allocations: 1.389 MB / 495.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3557, allocations: 1.406 kB / 495.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.3559, allocations: 29.47 kB / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.3559, allocations: 30.69 kB / 495.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.3578, allocations: 0.5669 MB / 496.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.3581, allocations: 279 kB / 496.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3583, allocations: 47.19 kB / 496.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.3585, allocations: 121 kB / 496.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3588, allocations: 167.3 kB / 497.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.3588, allocations: 23.94 kB / 497.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.3604, allocations: 0.7979 MB / 497.9 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.3606, allocations: 120 kB / 498 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3608, allocations: 150 kB / 498.2 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3624, allocations: 1.07 MB / 499.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3624, allocations: 1.188 kB / 499.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3624, allocations: 0 / 499.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3624, allocations: 0 / 499.2 MB, free: 16.38 MB / 382.1 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.00124/0.3637, allocations: 0.7218 MB / 500 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3637, allocations: 14.38 kB / 500 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.3638, allocations: 29.28 kB / 0.4883 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3642, allocations: 289.4 kB / 0.4886 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3642, allocations: 11.84 kB / 0.4886 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.3643, allocations: 23.34 kB / 0.4886 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.3648, allocations: 267.5 kB / 0.4888 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3649, allocations: 0 / 0.4888 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3649, allocations: 9.406 kB / 0.4889 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3649, allocations: 2.969 kB / 0.4889 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.3654, allocations: 231.8 kB / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3667, allocations: 0.7567 MB / 0.4898 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.3672, allocations: 292.6 kB / 0.4901 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.3675, allocations: 193.5 kB / 0.4903 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3675, allocations: 3.406 kB / 0.4903 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3676, allocations: 33.98 kB / 0.4903 GB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.3676, allocations: 4 kB / 0.4903 GB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001042/0.3686, allocations: 0.535 MB / 0.4908 GB, free: 14.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3687, allocations: 79.86 kB / 0.4909 GB, free: 14.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.369, allocations: 349.5 kB / 0.4913 GB, free: 14.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.369, allocations: 35.02 kB / 0.4913 GB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.3691, allocations: 147.7 kB / 0.4914 GB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.3692, allocations: 97.61 kB / 0.4915 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3694, allocations: 123.8 kB / 0.4916 GB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.3695, allocations: 352.8 kB / 0.492 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.3699, allocations: 287.2 kB / 0.4922 GB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.3705, allocations: 342.5 kB / 0.4926 GB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.3745, allocations: 1.757 MB / 0.4943 GB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3745, allocations: 0 / 0.4943 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00123/0.3757, allocations: 0.7634 MB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.3758, allocations: 9.641 kB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.3758, allocations: 4.531 kB / 0.4951 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.3758, allocations: 2.062 kB / 0.4951 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.3764, allocations: 101.2 kB / 0.4951 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3764, allocations: 2.688 kB / 0.4952 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.3766, allocations: 69.2 kB / 0.4952 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3767, allocations: 12.81 kB / 0.4952 GB, free: 11.68 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.377, allocations: 184.3 kB / 0.4954 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.3771, allocations: 33.25 kB / 0.4954 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3772, allocations: 38.34 kB / 0.4955 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3772, allocations: 2.125 kB / 0.4955 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3773, allocations: 1.125 kB / 0.4955 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3773, allocations: 5.234 kB / 0.4955 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.3777, allocations: 330.9 kB / 0.4958 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3777, allocations: 0 / 0.4958 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.3781, allocations: 51.19 kB / 0.4958 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3781, allocations: 2.938 kB / 0.4958 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.3781, allocations: 22.61 kB / 0.4959 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3781, allocations: 0 / 0.4959 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3782, allocations: 1.781 kB / 0.4959 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3792, allocations: 0.7523 MB / 0.4966 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.3793, allocations: 109.8 kB / 0.4967 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.3793, allocations: 18.48 kB / 0.4967 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3796, allocations: 12.59 kB / 0.4967 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.3797, allocations: 19.22 kB / 0.4968 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3797, allocations: 5.281 kB / 0.4968 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3799, allocations: 221.3 kB / 0.497 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3799, allocations: 0 / 0.497 GB, free: 10.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001748/0.3817, allocations: 247.7 kB / 0.4972 GB, free: 10.3 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00057/0.3823, allocations: 256.6 kB / 0.4975 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3833, allocations: 0.7281 MB / 0.4982 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3833, allocations: 1.125 kB / 0.4982 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.3836, allocations: 192.4 kB / 0.4984 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3841, allocations: 45.67 kB / 0.4984 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3854, allocations: 0.9324 MB / 0.4993 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3857, allocations: 0.806 MB / 0.5001 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.3859, allocations: 73.3 kB / 0.5002 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.386, allocations: 21.72 kB / 0.5002 GB, free: 8.246 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.386, allocations: 0 / 0.5002 GB, free: 8.246 MB / 382.1 MB Notification: Performance of Templates: time 0.01264/0.3987, allocations: 6.561 MB / 0.5066 GB, free: 4.957 MB / 382.1 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)