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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9144/0.9144, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2566/0.2566, allocations: 34.24 MB / 294.8 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.699e-05, allocations: 6.219 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.1879/0.1879, allocations: 1.79 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1894, allocations: 1.309 MB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1895, allocations: 2.906 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1897, allocations: 28.97 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.1897, allocations: 40.11 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1911, allocations: 0.6781 MB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1914, allocations: 239.6 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1915, allocations: 34.67 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1917, allocations: 139.4 kB / 446.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1918, allocations: 149.9 kB / 446.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.1918, allocations: 23.19 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.193, allocations: 1.219 MB / 447.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1931, allocations: 115.9 kB / 447.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1932, allocations: 95.66 kB / 448 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.1941, allocations: 1.201 MB / 449.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1941, allocations: 0.8438 kB / 449.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1941, allocations: 0 / 449.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1941, allocations: 0.5 kB / 449.2 MB, free: 42.03 MB / 410.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.0008236/0.1949, allocations: 0.6691 MB / 449.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.195, allocations: 10.91 kB / 449.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.195, allocations: 44.88 kB / 449.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1951, allocations: 44.17 kB / 450 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1954, allocations: 214.9 kB / 450.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1954, allocations: 20.72 kB / 450.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.1954, allocations: 29.77 kB / 450.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1958, allocations: 318.5 kB / 450.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1958, allocations: 3.094 kB / 450.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1958, allocations: 6.781 kB / 450.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1958, allocations: 2.812 kB / 450.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.196, allocations: 234.2 kB / 450.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.1968, allocations: 0.6698 MB / 451.4 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1971, allocations: 283.7 kB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1972, allocations: 191.4 kB / 451.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1972, allocations: 6.781 kB / 451.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1973, allocations: 37.41 kB / 452 MB, free: 40.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.1973, allocations: 0 / 452 MB, free: 40.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.000617/0.1979, allocations: 0.5403 MB / 452.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1979, allocations: 79.95 kB / 452.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1981, allocations: 352 kB / 452.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1981, allocations: 36.27 kB / 453 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.1982, allocations: 141.1 kB / 453.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1982, allocations: 103.2 kB / 453.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.1983, allocations: 115.7 kB / 453.3 MB, free: 39.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.1984, allocations: 350.6 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1986, allocations: 285.8 kB / 453.9 MB, free: 39.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.1989, allocations: 342.1 kB / 454.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.2008, allocations: 1.763 MB / 456 MB, free: 38.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2008, allocations: 3.938 kB / 456 MB, free: 38.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006537/0.2015, allocations: 0.7702 MB / 456.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2015, allocations: 6.344 kB / 456.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.2015, allocations: 3.125 kB / 456.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2015, allocations: 3.094 kB / 456.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.2018, allocations: 100.9 kB / 456.9 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2018, allocations: 7.938 kB / 456.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2019, allocations: 66.84 kB / 457 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2019, allocations: 14.16 kB / 457 MB, free: 38.16 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.2021, allocations: 186.6 kB / 457.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.2022, allocations: 28.73 kB / 457.2 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2022, allocations: 42 kB / 457.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2022, allocations: 3.938 kB / 457.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.2022, allocations: 7.25 kB / 457.3 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2022, allocations: 3.375 kB / 457.3 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.2025, allocations: 274.3 kB / 457.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2025, allocations: 2.75 kB / 457.5 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.2027, allocations: 44.91 kB / 457.6 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2027, allocations: 3.094 kB / 457.6 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2027, allocations: 17.58 kB / 457.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2027, allocations: 3.188 kB / 457.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2027, allocations: 7.938 kB / 457.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.2034, allocations: 0.7478 MB / 458.4 MB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2034, allocations: 32.52 kB / 458.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.2034, allocations: 10.22 kB / 458.4 MB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2035, allocations: 13.62 kB / 458.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.2036, allocations: 20.38 kB / 458.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2036, allocations: 9.969 kB / 458.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.2037, allocations: 230.7 kB / 458.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 5.219 kB / 458.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.2045, allocations: 245.3 kB / 458.9 MB, free: 37.15 MB / 410.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 (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.001117/0.2056, allocations: 1.458 MB / 460.4 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007045/0.2063, allocations: 0.6635 MB / 461 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2063, allocations: 0 / 461 MB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.2065, allocations: 197.4 kB / 461.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.2069, allocations: 37.67 kB / 461.3 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.2104, allocations: 4.478 MB / 465.7 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2106, allocations: 197 kB / 465.9 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2107, allocations: 70.19 kB / 466 MB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.2108, allocations: 105.8 kB / 466.1 MB, free: 33.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2108, allocations: 4 kB / 466.1 MB, free: 33.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2392, allocations: 10.96 MB / 477.1 MB, free: 31.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.657, allocations: 5.109 kB / 477.1 MB, free: 31.82 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9976e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.798828874714673] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.743576870299876 7.7514566 7.555530675 Calling exit ...