Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009073/0.0009073, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3865/0.3865, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002864, allocations: 8 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4061, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5404, allocations: 88.91 MB / 0.6061 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5406, allocations: 63.95 kB / 0.6061 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03408/0.5748, allocations: 9.665 MB / 0.6156 GB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5748, allocations: 0 / 0.6156 GB, free: 4.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.349e-05/0.5749, allocations: 12 kB / 0.6156 GB, free: 4.797 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.001843/0.5767, allocations: 0.6968 MB / 0.6163 GB, free: 4.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5768, allocations: 8.031 kB / 0.6163 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.5769, allocations: 46.56 kB / 0.6163 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.5772, allocations: 47.52 kB / 0.6164 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.5778, allocations: 295 kB / 0.6167 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5778, allocations: 17.86 kB / 0.6167 GB, free: 3.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.5779, allocations: 23.98 kB / 0.6167 GB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.5785, allocations: 275.6 kB / 0.617 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5786, allocations: 4 kB / 0.617 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.5786, allocations: 4 kB / 0.617 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5786, allocations: 4 kB / 0.617 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.5791, allocations: 231.8 kB / 0.6172 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5807, allocations: 0.7656 MB / 0.6179 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.5812, allocations: 292.9 kB / 0.6182 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.5813, allocations: 8 kB / 0.6182 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.5813, allocations: 46.45 kB / 0.6183 GB, free: 1.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/0.5814, allocations: 0 / 0.6183 GB, free: 1.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001176/0.5825, allocations: 0.5488 MB / 0.6188 GB, free: 1.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.5826, allocations: 81.11 kB / 0.6189 GB, free: 1.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.583, allocations: 311.7 kB / 0.6192 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.5831, allocations: 37.7 kB / 0.6192 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5832, allocations: 140.7 kB / 0.6193 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.5833, allocations: 98.52 kB / 0.6194 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.5833, allocations: 8 kB / 0.6195 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5835, allocations: 346.8 kB / 0.6198 GB, free: 264 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.584, allocations: 292.9 kB / 0.6201 GB, free: 15.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.5845, allocations: 335.5 kB / 0.6204 GB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.5851, allocations: 326.6 kB / 0.6207 GB, free: 15.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5851, allocations: 4 kB / 0.6207 GB, free: 15.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001234/0.5863, allocations: 0.7697 MB / 0.6214 GB, free: 14.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5864, allocations: 4 kB / 0.6215 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.5864, allocations: 7.984 kB / 0.6215 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5864, allocations: 4 kB / 0.6215 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.587, allocations: 99.88 kB / 0.6216 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.587, allocations: 4 kB / 0.6216 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.5872, allocations: 63.2 kB / 0.6216 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.5873, allocations: 12 kB / 0.6216 GB, free: 14.35 MB / 442.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.000305/0.5876, allocations: 202.9 kB / 0.6218 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.5877, allocations: 31.58 kB / 0.6219 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.5878, allocations: 42.7 kB / 0.6219 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5878, allocations: 0 / 0.6219 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5878, allocations: 4 kB / 0.6219 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5878, allocations: 0 / 0.6219 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.5883, allocations: 337.2 kB / 0.6222 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5883, allocations: 0 / 0.6222 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.5887, allocations: 47.92 kB / 0.6223 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.5887, allocations: 7.953 kB / 0.6223 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.5888, allocations: 19.98 kB / 0.6223 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5888, allocations: 0 / 0.6223 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5888, allocations: 3.938 kB / 0.6223 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.59, allocations: 0.758 MB / 0.623 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.5901, allocations: 116.8 kB / 0.6232 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.5901, allocations: 12 kB / 0.6232 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5904, allocations: 11.98 kB / 0.6232 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.5905, allocations: 15.98 kB / 0.6232 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5905, allocations: 11.98 kB / 0.6232 GB, free: 12.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.5907, allocations: 219 kB / 0.6234 GB, free: 12.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5907, allocations: 0 / 0.6234 GB, free: 12.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001077/0.5918, allocations: 271.7 kB / 0.6237 GB, free: 12.17 MB / 442.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.002539/0.5944, allocations: 1.556 MB / 0.6252 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.5955, allocations: 0.7527 MB / 0.6259 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5955, allocations: 0 / 0.6259 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5959, allocations: 191.8 kB / 0.6261 GB, free: 9.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.5963, allocations: 38.31 kB / 0.6261 GB, free: 9.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.599, allocations: 1.605 MB / 0.6277 GB, free: 7.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.5996, allocations: 0.8148 MB / 0.6285 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.5998, allocations: 66.23 kB / 0.6286 GB, free: 7.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.6, allocations: 103.4 kB / 0.6287 GB, free: 6.906 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6, allocations: 0 / 0.6287 GB, free: 6.906 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.6293, allocations: 9.286 MB / 0.6377 GB, free: 13.77 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.6296, allocations: 172.6 kB / 0.6379 GB, free: 13.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.864, allocations: 3.984 kB / 0.6379 GB, free: 13.52 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)