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.007772/0.007772, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001344/0.001344, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.718/1.718, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.447/0.447, allocations: 39.94 MB / 309.8 MB, free: 9.402 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: 72.5 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3836, allocations: 56.86 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002748/0.3864, allocations: 1.826 MB / 494.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3884, allocations: 1.39 MB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.3885, allocations: 2.688 kB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3887, allocations: 29.58 kB / 495.9 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.3888, allocations: 29.83 kB / 495.9 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3904, allocations: 0.5638 MB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.3907, allocations: 282.5 kB / 496.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3908, allocations: 43.62 kB / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.391, allocations: 122.2 kB / 496.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3913, allocations: 171.4 kB / 497.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3914, allocations: 23.44 kB / 497.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3926, allocations: 0.8025 MB / 497.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3928, allocations: 114.9 kB / 498 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.393, allocations: 150.8 kB / 498.2 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3943, allocations: 1.066 MB / 499.2 MB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3944, allocations: 0.6094 kB / 499.2 MB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3944, allocations: 0 / 499.2 MB, free: 16.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3944, allocations: 1.125 kB / 499.2 MB, free: 16.08 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.001328/0.3957, allocations: 0.7258 MB / 500 MB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3958, allocations: 12.98 kB / 500 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.3959, allocations: 29.09 kB / 0.4883 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3962, allocations: 286.2 kB / 0.4886 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3963, allocations: 14.66 kB / 0.4886 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.3963, allocations: 24.06 kB / 0.4886 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.3969, allocations: 263.2 kB / 0.4888 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3969, allocations: 4 kB / 0.4888 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.3969, allocations: 6.406 kB / 0.4889 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.397, allocations: 4.109 kB / 0.4889 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3975, allocations: 229.8 kB / 0.4891 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.3992, allocations: 0.7543 MB / 0.4898 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.3998, allocations: 291.5 kB / 0.4901 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.4002, allocations: 195.1 kB / 0.4903 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.4002, allocations: 6.734 kB / 0.4903 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4003, allocations: 36.69 kB / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.4003, allocations: 5.375 kB / 0.4903 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001092/0.4014, allocations: 0.5331 MB / 0.4908 GB, free: 14.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4014, allocations: 79.45 kB / 0.4909 GB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.4018, allocations: 352.4 kB / 0.4913 GB, free: 13.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.4018, allocations: 36.02 kB / 0.4913 GB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.4019, allocations: 143.5 kB / 0.4914 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.402, allocations: 98.08 kB / 0.4915 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.4022, allocations: 122.8 kB / 0.4916 GB, free: 13.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.4023, allocations: 349.1 kB / 0.492 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.4027, allocations: 283.3 kB / 0.4922 GB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.4031, allocations: 341.7 kB / 0.4926 GB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.4065, allocations: 1.762 MB / 0.4943 GB, free: 11.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4066, allocations: 0 / 0.4943 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001083/0.4076, allocations: 0.7632 MB / 0.495 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4077, allocations: 7.219 kB / 0.495 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.4077, allocations: 4.625 kB / 0.495 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4077, allocations: 6.266 kB / 0.4951 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.4082, allocations: 104.6 kB / 0.4952 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4083, allocations: 2.219 kB / 0.4952 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4085, allocations: 69.58 kB / 0.4952 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.4085, allocations: 8.781 kB / 0.4952 GB, free: 11.45 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.0002553/0.4088, allocations: 183.2 kB / 0.4954 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.4089, allocations: 32.44 kB / 0.4954 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.409, allocations: 41.86 kB / 0.4955 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.409, allocations: 3.75 kB / 0.4955 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.409, allocations: 0 / 0.4955 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.409, allocations: 1.469 kB / 0.4955 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.4094, allocations: 334.5 kB / 0.4958 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4094, allocations: 1.25 kB / 0.4958 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.4098, allocations: 54.5 kB / 0.4959 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4098, allocations: 6.312 kB / 0.4959 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.4099, allocations: 14.55 kB / 0.4959 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4099, allocations: 1.188 kB / 0.4959 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4099, allocations: 0.9375 kB / 0.4959 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.4109, allocations: 0.7567 MB / 0.4966 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.4109, allocations: 113.4 kB / 0.4967 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.411, allocations: 13.98 kB / 0.4967 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4113, allocations: 17.61 kB / 0.4967 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.4113, allocations: 11.36 kB / 0.4968 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.4114, allocations: 13.23 kB / 0.4968 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4116, allocations: 221.2 kB / 0.497 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4116, allocations: 0 / 0.497 GB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001167/0.4127, allocations: 243.3 kB / 0.4972 GB, free: 10.06 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.0005523/0.4133, allocations: 252.6 kB / 0.4975 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4143, allocations: 0.7283 MB / 0.4982 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4143, allocations: 1.125 kB / 0.4982 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.4146, allocations: 193.1 kB / 0.4984 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.4152, allocations: 52.64 kB / 0.4984 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4165, allocations: 0.929 MB / 0.4993 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.4168, allocations: 0.8101 MB / 0.5001 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.417, allocations: 64.59 kB / 0.5002 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.4171, allocations: 21.22 kB / 0.5002 GB, free: 8.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4171, allocations: 0 / 0.5002 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Templates: time 0.01226/0.4294, allocations: 6.604 MB / 0.5066 GB, free: 4.68 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)