Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000907/0.000907, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.345e-05, allocations: 4.25 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.1808/0.1808, allocations: 1.789 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1822, allocations: 1.306 MB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.1823, allocations: 9.625 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.1825, allocations: 32.52 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.1825, allocations: 29.83 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1837, allocations: 0.6819 MB / 446 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1838, allocations: 239.9 kB / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.184, allocations: 26.45 kB / 446.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1841, allocations: 145 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1842, allocations: 145.4 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1843, allocations: 23.84 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1853, allocations: 1.223 MB / 447.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1854, allocations: 114.6 kB / 447.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.1855, allocations: 92.11 kB / 448 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.1864, allocations: 1.199 MB / 449.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1864, allocations: 3.375 kB / 449.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1864, allocations: 0 / 449.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1864, allocations: 0.8438 kB / 449.2 MB, free: 42.12 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.000802/0.1872, allocations: 0.6689 MB / 449.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1873, allocations: 8.031 kB / 449.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1873, allocations: 51.69 kB / 449.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1874, allocations: 43.55 kB / 450 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1877, allocations: 219.5 kB / 450.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1877, allocations: 21.97 kB / 450.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.1877, allocations: 22.48 kB / 450.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.188, allocations: 325.5 kB / 450.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1881, allocations: 0 / 450.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1881, allocations: 6.906 kB / 450.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1881, allocations: 5.719 kB / 450.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1883, allocations: 230.8 kB / 450.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.189, allocations: 0.6684 MB / 451.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1893, allocations: 280 kB / 451.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.1895, allocations: 189.6 kB / 451.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1895, allocations: 2.969 kB / 451.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1895, allocations: 40.78 kB / 452 MB, free: 40.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.1895, allocations: 0 / 452 MB, free: 40.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006014/0.1901, allocations: 0.5481 MB / 452.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.1901, allocations: 80.02 kB / 452.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1903, allocations: 351 kB / 452.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1903, allocations: 32.61 kB / 453 MB, free: 39.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1904, allocations: 139.6 kB / 453.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.1904, allocations: 110.5 kB / 453.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.1905, allocations: 116.7 kB / 453.3 MB, free: 39.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.1906, allocations: 348.2 kB / 453.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1908, allocations: 295.6 kB / 454 MB, free: 39.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1911, allocations: 341.3 kB / 454.3 MB, free: 39.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.1929, allocations: 1.752 MB / 456 MB, free: 38.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1929, allocations: 6.281 kB / 456 MB, free: 38.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006002/0.1935, allocations: 0.767 MB / 456.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1935, allocations: 3.281 kB / 456.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.1935, allocations: 9.438 kB / 456.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1935, allocations: 3.062 kB / 456.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.1938, allocations: 97.98 kB / 456.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1938, allocations: 3.938 kB / 456.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1939, allocations: 63.22 kB / 457 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1939, allocations: 17.03 kB / 457 MB, free: 38.25 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.0001582/0.1941, allocations: 195.1 kB / 457.2 MB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1941, allocations: 25.28 kB / 457.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.1942, allocations: 38.12 kB / 457.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1942, allocations: 2.969 kB / 457.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1942, allocations: 3.938 kB / 457.3 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1942, allocations: 3.375 kB / 457.3 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1944, allocations: 278.9 kB / 457.5 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1944, allocations: 7.938 kB / 457.5 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1946, allocations: 41.75 kB / 457.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1946, allocations: 0 / 457.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1946, allocations: 20.69 kB / 457.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1946, allocations: 0 / 457.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1946, allocations: 3.938 kB / 457.6 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.1952, allocations: 0.7523 MB / 458.4 MB, free: 37.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.1952, allocations: 29.17 kB / 458.4 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1952, allocations: 17.83 kB / 458.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1953, allocations: 15.8 kB / 458.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1954, allocations: 16.38 kB / 458.4 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1954, allocations: 13.19 kB / 458.5 MB, free: 37.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1955, allocations: 220.6 kB / 458.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1955, allocations: 3.031 kB / 458.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.1961, allocations: 244.9 kB / 458.9 MB, free: 37.24 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.0009245/0.197, allocations: 1.459 MB / 460.4 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.1975, allocations: 0.6625 MB / 461 MB, free: 35.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1975, allocations: 2.062 kB / 461 MB, free: 35.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1977, allocations: 194.1 kB / 461.2 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1981, allocations: 41.83 kB / 461.3 MB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.2014, allocations: 4.482 MB / 465.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.2016, allocations: 207 kB / 465.9 MB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.2017, allocations: 66.27 kB / 466 MB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2018, allocations: 105.8 kB / 466.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2018, allocations: 0 / 466.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.2285, allocations: 10.97 MB / 477.1 MB, free: 31.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.494, allocations: 8.938 kB / 477.1 MB, free: 31.92 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.603741985745728] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.579706690274179 7.597295401 7.408177635 Calling exit ...