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/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.0008621/0.0008621, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008937/0.0008937, allocations: 174 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.8837/0.8837, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.233/0.233, allocations: 32.78 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.815e-05, allocations: 4.672 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003182/0.00321, allocations: 1.796 MB / 441.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.005361, allocations: 1.31 MB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.005503, allocations: 3.938 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.005644, allocations: 31.72 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.005698, allocations: 35.66 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.00706, allocations: 0.6749 MB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.007266, allocations: 239.3 kB / 443.7 MB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.007373, allocations: 32.56 kB / 443.7 MB, free: 124 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1823/0.1896, allocations: 136.2 kB / 443.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.1899, allocations: 147.5 kB / 444 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.1899, allocations: 24.03 kB / 444 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1912, allocations: 1.218 MB / 445.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.1913, allocations: 118.3 kB / 445.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.1914, allocations: 95.53 kB / 445.4 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.1921, allocations: 1.199 MB / 446.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1921, allocations: 0 / 446.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1921, allocations: 0 / 446.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1921, allocations: 0 / 446.6 MB, free: 43.47 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.0007641/0.1929, allocations: 0.6632 MB / 447.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1929, allocations: 8.125 kB / 447.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1929, allocations: 51.38 kB / 447.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1931, allocations: 44 kB / 447.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1933, allocations: 221.3 kB / 447.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1933, allocations: 23.81 kB / 447.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.1933, allocations: 26.3 kB / 447.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1936, allocations: 327.6 kB / 448 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1936, allocations: 0 / 448 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1936, allocations: 6.344 kB / 448 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1936, allocations: 2.875 kB / 448 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.1938, allocations: 219.4 kB / 448.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.1945, allocations: 0.6803 MB / 448.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1947, allocations: 278.5 kB / 449.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1949, allocations: 193.2 kB / 449.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1949, allocations: 4.125 kB / 449.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1949, allocations: 41.53 kB / 449.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.1949, allocations: 0 / 449.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005571/0.1955, allocations: 0.5388 MB / 449.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.1955, allocations: 79.95 kB / 450 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1957, allocations: 357.6 kB / 450.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1957, allocations: 29.7 kB / 450.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1958, allocations: 143.4 kB / 450.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1958, allocations: 100.8 kB / 450.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.1959, allocations: 124.2 kB / 450.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.1959, allocations: 351.1 kB / 451.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1962, allocations: 285.8 kB / 451.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.1967, allocations: 346.8 kB / 451.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.1985, allocations: 1.753 MB / 453.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1985, allocations: 0 / 453.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005931/0.1991, allocations: 0.7704 MB / 454.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1991, allocations: 10.47 kB / 454.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.1991, allocations: 6.344 kB / 454.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1991, allocations: 0 / 454.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1994, allocations: 96.5 kB / 454.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1994, allocations: 3 kB / 454.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.1995, allocations: 70.3 kB / 454.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1995, allocations: 10.41 kB / 454.4 MB, free: 40.1 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.0001397/0.1997, allocations: 202.7 kB / 454.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1997, allocations: 28.72 kB / 454.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1997, allocations: 41.12 kB / 454.7 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1997, allocations: 3.156 kB / 454.7 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1997, allocations: 3.094 kB / 454.7 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1997, allocations: 4 kB / 454.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2, allocations: 275.5 kB / 455 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2, allocations: 7.172 kB / 455 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2002, allocations: 48.53 kB / 455 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2002, allocations: 2.969 kB / 455 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2002, allocations: 13.17 kB / 455 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2002, allocations: 3.062 kB / 455 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2002, allocations: 0 / 455 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.2008, allocations: 0.7543 MB / 455.8 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.2008, allocations: 37.75 kB / 455.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2008, allocations: 13.58 kB / 455.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2009, allocations: 7.188 kB / 455.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.201, allocations: 16.78 kB / 455.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.201, allocations: 11.47 kB / 455.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2011, allocations: 222.2 kB / 456.1 MB, free: 39.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2011, allocations: 0 / 456.1 MB, free: 39.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007994/0.2019, allocations: 254.4 kB / 456.3 MB, free: 39.1 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.001242/0.2032, allocations: 1.462 MB / 457.8 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.2039, allocations: 0.6582 MB / 458.4 MB, free: 37.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2039, allocations: 3.125 kB / 458.5 MB, free: 37.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.2041, allocations: 190.5 kB / 458.6 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2044, allocations: 44.55 kB / 458.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.2079, allocations: 4.485 MB / 463.2 MB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.208, allocations: 200.8 kB / 463.4 MB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.2082, allocations: 68.77 kB / 463.4 MB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2083, allocations: 103 kB / 463.5 MB, free: 35.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2083, allocations: 0 / 463.5 MB, free: 35.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2347, allocations: 10.96 MB / 474.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.592, allocations: 7.875 kB / 474.5 MB, free: 33.86 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.615333980880678] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.681989599950612 7.6937644 7.498529414 Calling exit ...