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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008851, allocations: 99.39 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3139/0.3139, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.319, allocations: 61.91 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.4214, allocations: 87.84 MB / 0.5954 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4217, allocations: 63.94 kB / 0.5955 GB, free: 7.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02968/0.4514, allocations: 9.564 MB / 0.6048 GB, free: 13.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.4514, allocations: 0 / 0.6048 GB, free: 13.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.4514, allocations: 11.98 kB / 0.6048 GB, free: 13.62 MB / 426.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.001082/0.4525, allocations: 0.6852 MB / 0.6055 GB, free: 12.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4526, allocations: 12.03 kB / 0.6055 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.4526, allocations: 46.55 kB / 0.6056 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.4527, allocations: 31.53 kB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4531, allocations: 295 kB / 0.6059 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4531, allocations: 19.95 kB / 0.6059 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.4532, allocations: 28 kB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.4536, allocations: 278 kB / 0.6062 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.4536, allocations: 0 / 0.6062 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.4537, allocations: 12 kB / 0.6062 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4537, allocations: 3.938 kB / 0.6062 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.454, allocations: 231.8 kB / 0.6064 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.4552, allocations: 0.7694 MB / 0.6072 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.4556, allocations: 288.9 kB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4557, allocations: 0 / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.4557, allocations: 50.53 kB / 0.6075 GB, free: 10.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.102e-06/0.4557, allocations: 0 / 0.6075 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009186/0.4566, allocations: 0.5411 MB / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4567, allocations: 81.11 kB / 0.6081 GB, free: 10.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.457, allocations: 319.6 kB / 0.6084 GB, free: 9.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.457, allocations: 33.7 kB / 0.6084 GB, free: 9.695 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.4571, allocations: 144.7 kB / 0.6086 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.4572, allocations: 94.53 kB / 0.6087 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.4572, allocations: 8 kB / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4573, allocations: 342.8 kB / 0.609 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.4577, allocations: 292.8 kB / 0.6093 GB, free: 8.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.4582, allocations: 347.5 kB / 0.6096 GB, free: 8.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.4586, allocations: 329.8 kB / 0.6099 GB, free: 8.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4586, allocations: 0 / 0.6099 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000997/0.4597, allocations: 0.7543 MB / 0.6107 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4597, allocations: 4 kB / 0.6107 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.4597, allocations: 8 kB / 0.6107 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4597, allocations: 3.953 kB / 0.6107 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.4602, allocations: 103.9 kB / 0.6108 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4602, allocations: 3.938 kB / 0.6108 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4604, allocations: 75.11 kB / 0.6108 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.4604, allocations: 12 kB / 0.6109 GB, free: 7.184 MB / 426.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.0002219/0.4607, allocations: 174.9 kB / 0.611 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.4607, allocations: 27.53 kB / 0.6111 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.4609, allocations: 46.7 kB / 0.6111 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4609, allocations: 4 kB / 0.6111 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4609, allocations: 3.953 kB / 0.6111 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4609, allocations: 0 / 0.6111 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.4613, allocations: 341.3 kB / 0.6114 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4613, allocations: 0 / 0.6114 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.4617, allocations: 43.97 kB / 0.6115 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4617, allocations: 3.938 kB / 0.6115 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.4617, allocations: 19.98 kB / 0.6115 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4617, allocations: 0 / 0.6115 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4617, allocations: 8 kB / 0.6115 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.4627, allocations: 0.758 MB / 0.6122 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.4628, allocations: 104.8 kB / 0.6123 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.4628, allocations: 23.92 kB / 0.6124 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.4631, allocations: 15.98 kB / 0.6124 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.4631, allocations: 19.88 kB / 0.6124 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4632, allocations: 11.98 kB / 0.6124 GB, free: 5.488 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4633, allocations: 215 kB / 0.6126 GB, free: 5.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4634, allocations: 4 kB / 0.6126 GB, free: 5.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008699/0.4642, allocations: 271.8 kB / 0.6129 GB, free: 5.012 MB / 426.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.001702/0.4659, allocations: 1.562 MB / 0.6144 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.4669, allocations: 0.7538 MB / 0.6151 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4669, allocations: 0 / 0.6151 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.4672, allocations: 195.8 kB / 0.6153 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.4676, allocations: 37.45 kB / 0.6154 GB, free: 2.414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.4695, allocations: 1.597 MB / 0.6169 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4699, allocations: 0.8148 MB / 0.6177 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.4701, allocations: 66.25 kB / 0.6178 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.4703, allocations: 103.4 kB / 0.6179 GB, free: 15.76 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4703, allocations: 0 / 0.6179 GB, free: 15.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.4909, allocations: 9.293 MB / 0.627 GB, free: 6.648 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.4911, allocations: 165 kB / 0.6271 GB, free: 6.406 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.653, allocations: 4.062 kB / 0.6271 GB, free: 6.402 MB / 442.7 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/linux/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)