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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007993/0.0007993, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008561/0.0008561, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 63.57 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002244/0.1398, allocations: 1.561 MB / 484.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.1424, allocations: 1.451 MB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.1426, allocations: 7.938 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1428, allocations: 23.84 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.143, allocations: 23.78 kB / 486.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.1446, allocations: 495.1 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.145, allocations: 267.2 kB / 487 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1452, allocations: 40.28 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.1454, allocations: 103.6 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1457, allocations: 159.4 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.1458, allocations: 12 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.147, allocations: 0.7292 MB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1472, allocations: 103.7 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.1474, allocations: 152.9 kB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.1486, allocations: 1.052 MB / 489.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1487, allocations: 0 / 489.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1487, allocations: 0 / 489.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1487, allocations: 0 / 489.3 MB, free: 13.87 MB / 366.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.001397/0.1501, allocations: 0.6855 MB / 490 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.1502, allocations: 12.81 kB / 490 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.295e-05/0.1503, allocations: 46.73 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.1505, allocations: 40.56 kB / 490.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1509, allocations: 287.8 kB / 490.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1509, allocations: 19.94 kB / 490.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.151, allocations: 27.91 kB / 490.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.1515, allocations: 271.7 kB / 490.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1516, allocations: 4 kB / 490.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1516, allocations: 4 kB / 490.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1516, allocations: 8 kB / 490.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.1521, allocations: 231.8 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.1535, allocations: 0.7655 MB / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.154, allocations: 292.9 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.1543, allocations: 197.6 kB / 492.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1544, allocations: 8 kB / 492.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1544, allocations: 42.44 kB / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.1544, allocations: 0 / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001191/0.1556, allocations: 0.5442 MB / 492.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1557, allocations: 81.11 kB / 492.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.1561, allocations: 352.5 kB / 493.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.1562, allocations: 33.7 kB / 493.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1563, allocations: 144.8 kB / 493.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1564, allocations: 94.55 kB / 493.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1565, allocations: 89.66 kB / 493.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1567, allocations: 354.8 kB / 493.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.1572, allocations: 284.9 kB / 494.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.1576, allocations: 339.5 kB / 494.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.1612, allocations: 1.792 MB / 496.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1612, allocations: 0 / 496.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001185/0.1624, allocations: 0.7658 MB / 497.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1624, allocations: 8 kB / 497.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1625, allocations: 7.984 kB / 497.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1625, allocations: 4 kB / 497.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.1629, allocations: 99.81 kB / 497.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.163, allocations: 8 kB / 497.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1632, allocations: 71.11 kB / 497.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1632, allocations: 8 kB / 497.3 MB, free: 5.641 MB / 366.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.0002515/0.1635, allocations: 178.3 kB / 497.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.1636, allocations: 39.55 kB / 497.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1637, allocations: 34.72 kB / 497.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1637, allocations: 4 kB / 497.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1637, allocations: 0 / 497.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1637, allocations: 4 kB / 497.5 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.1642, allocations: 341.2 kB / 497.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1642, allocations: 3.938 kB / 497.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.1646, allocations: 51.92 kB / 497.9 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1646, allocations: 3.984 kB / 497.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.1646, allocations: 20 kB / 497.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1646, allocations: 0 / 497.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1646, allocations: 3.984 kB / 497.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1657, allocations: 0.757 MB / 498.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.1658, allocations: 112.7 kB / 498.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.1659, allocations: 12 kB / 498.8 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1661, allocations: 19.92 kB / 498.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.1662, allocations: 15.97 kB / 498.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1663, allocations: 8 kB / 498.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1665, allocations: 227 kB / 499.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1665, allocations: 4 kB / 499.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000934/0.1674, allocations: 247.9 kB / 499.3 MB, free: 3.492 MB / 366.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.001998/0.1695, allocations: 1.448 MB / 0.489 GB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1706, allocations: 0.7367 MB / 0.4898 GB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1706, allocations: 4 kB / 0.4898 GB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1709, allocations: 199.7 kB / 0.49 GB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1715, allocations: 41.06 kB / 0.49 GB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.1781, allocations: 4.639 MB / 0.4945 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1786, allocations: 0.8031 MB / 0.4953 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.1789, allocations: 70.25 kB / 0.4954 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.1791, allocations: 103.4 kB / 0.4955 GB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1791, allocations: 0 / 0.4955 GB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.2045, allocations: 9.607 MB / 0.5049 GB, free: 1.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.2048, allocations: 178 kB / 0.505 GB, free: 1.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.376, allocations: 3.938 kB / 0.505 GB, free: 1.562 MB / 382.1 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/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)