Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001242/0.001243, allocations: 188.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.381, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002862/0.3839, allocations: 1.846 MB / 0.5202 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.386, allocations: 1.342 MB / 0.5215 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3861, allocations: 2.156 kB / 0.5215 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3863, allocations: 28.67 kB / 0.5215 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.3864, allocations: 30.58 kB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3881, allocations: 0.5554 MB / 0.5221 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3884, allocations: 278.7 kB / 0.5224 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3886, allocations: 47 kB / 0.5224 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3887, allocations: 114.2 kB / 0.5225 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.389, allocations: 171.5 kB / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.389, allocations: 23.81 kB / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3903, allocations: 0.8069 MB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3905, allocations: 115.1 kB / 0.5236 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3906, allocations: 143.7 kB / 0.5238 GB, free: 248 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3918, allocations: 1.076 MB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3919, allocations: 0 / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3919, allocations: 3.938 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3919, allocations: 1.375 kB / 0.5248 GB, free: 15.75 MB / 398.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.001206/0.3931, allocations: 0.7191 MB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3931, allocations: 9.094 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.3932, allocations: 48.66 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.3933, allocations: 32.84 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3936, allocations: 284.9 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3936, allocations: 11.19 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3937, allocations: 26.62 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.3941, allocations: 274.5 kB / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3942, allocations: 0 / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.3942, allocations: 6.219 kB / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3942, allocations: 6.906 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.3946, allocations: 225.2 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3958, allocations: 0.7547 MB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.3963, allocations: 291.4 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3966, allocations: 195.6 kB / 0.5276 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3966, allocations: 3.281 kB / 0.5276 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3966, allocations: 41.44 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.3966, allocations: 3.938 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001018/0.3977, allocations: 0.5335 MB / 0.5282 GB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3977, allocations: 79.7 kB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3981, allocations: 352.2 kB / 0.5286 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.3981, allocations: 31.83 kB / 0.5286 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.3982, allocations: 139.9 kB / 0.5287 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.3983, allocations: 101.3 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3985, allocations: 118.8 kB / 0.529 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3986, allocations: 353.5 kB / 0.5293 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.399, allocations: 282.9 kB / 0.5296 GB, free: 12.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.3995, allocations: 342.8 kB / 0.5299 GB, free: 11.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.403, allocations: 1.756 MB / 0.5316 GB, free: 11.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.403, allocations: 4 kB / 0.5316 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001115/0.4041, allocations: 0.7647 MB / 0.5324 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4041, allocations: 5.375 kB / 0.5324 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.4042, allocations: 8.594 kB / 0.5324 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4042, allocations: 2.406 kB / 0.5324 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.4047, allocations: 104.3 kB / 0.5325 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.4047, allocations: 6.188 kB / 0.5325 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.4049, allocations: 65.53 kB / 0.5325 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.405, allocations: 17.64 kB / 0.5326 GB, free: 10.62 MB / 398.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.0002203/0.4052, allocations: 179.6 kB / 0.5327 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.4053, allocations: 25.22 kB / 0.5327 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.4054, allocations: 45.98 kB / 0.5328 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4054, allocations: 3.281 kB / 0.5328 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4054, allocations: 0 / 0.5328 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4054, allocations: 1.406 kB / 0.5328 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.4058, allocations: 338.6 kB / 0.5331 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4058, allocations: 1.188 kB / 0.5331 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.4062, allocations: 50.53 kB / 0.5332 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4062, allocations: 6.406 kB / 0.5332 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.4062, allocations: 19.02 kB / 0.5332 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4062, allocations: 0 / 0.5332 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4062, allocations: 0.9688 kB / 0.5332 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.4072, allocations: 0.7368 MB / 0.5339 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4073, allocations: 110.2 kB / 0.534 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.4074, allocations: 21.8 kB / 0.534 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.4076, allocations: 8.109 kB / 0.534 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.4077, allocations: 16.3 kB / 0.5341 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.4077, allocations: 9.453 kB / 0.5341 GB, free: 9.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.4079, allocations: 224.6 kB / 0.5343 GB, free: 9.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4079, allocations: 0 / 0.5343 GB, free: 9.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.4089, allocations: 251.8 kB / 0.5345 GB, free: 9.246 MB / 398.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.001812/0.4107, allocations: 1.429 MB / 0.5359 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009952/0.4117, allocations: 0.7382 MB / 0.5366 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4117, allocations: 1.406 kB / 0.5366 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.4121, allocations: 192.7 kB / 0.5368 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.4126, allocations: 48.75 kB / 0.5369 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.4181, allocations: 4.518 MB / 0.5413 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4185, allocations: 0.8066 MB / 0.5421 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.4188, allocations: 66.23 kB / 0.5421 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4189, allocations: 103.4 kB / 0.5422 GB, free: 3.203 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4189, allocations: 0 / 0.5422 GB, free: 3.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4504, allocations: 10.18 MB / 0.5522 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.822, allocations: 12.5 kB / 0.5522 GB, free: 9.164 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)