Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009677/0.0009677, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009572/0.0009572, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9522/0.9522, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.212e-05, allocations: 2.281 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002795/0.002827, allocations: 1.78 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004694, allocations: 1.284 MB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.00482, allocations: 3.938 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.005036, allocations: 31.72 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.005103, allocations: 31.66 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.006796, allocations: 0.6737 MB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.007084, allocations: 243.2 kB / 410.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.007239, allocations: 32.52 kB / 410.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.007407, allocations: 131.7 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.007577, allocations: 151.7 kB / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.007612, allocations: 20 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.008864, allocations: 1.22 MB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.00902, allocations: 111.7 kB / 412.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.009122, allocations: 95.66 kB / 412.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.0105, allocations: 1.188 MB / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01051, allocations: 0 / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.01051, allocations: 0 / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01052, allocations: 3.938 kB / 413.8 MB, free: 11.23 MB / 394.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.001073/0.01159, allocations: 0.6639 MB / 414.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.01165, allocations: 8.031 kB / 414.5 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.0117, allocations: 46.73 kB / 414.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.01177, allocations: 36.64 kB / 414.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.01204, allocations: 214 kB / 414.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01206, allocations: 20.11 kB / 414.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.01211, allocations: 31.89 kB / 414.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.01251, allocations: 326.5 kB / 415.1 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01252, allocations: 0 / 415.1 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.01254, allocations: 8 kB / 415.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01255, allocations: 3.984 kB / 415.2 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.01283, allocations: 227.8 kB / 415.4 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.01369, allocations: 0.6712 MB / 416.1 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.01403, allocations: 285 kB / 416.3 MB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.01424, allocations: 189.5 kB / 416.5 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.01427, allocations: 0 / 416.5 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.0143, allocations: 39 kB / 416.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.0143, allocations: 0 / 416.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007034/0.015, allocations: 0.5361 MB / 417.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.01505, allocations: 81.11 kB / 417.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.01531, allocations: 360.5 kB / 417.5 MB, free: 7.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.01534, allocations: 33.7 kB / 417.6 MB, free: 7.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.01543, allocations: 140.9 kB / 417.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.01549, allocations: 99.17 kB / 417.8 MB, free: 7.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01561, allocations: 121.7 kB / 417.9 MB, free: 6.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01572, allocations: 346.8 kB / 418.2 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.01602, allocations: 288.8 kB / 418.5 MB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.01633, allocations: 343 kB / 418.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.01847, allocations: 1.76 MB / 420.6 MB, free: 4.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.01848, allocations: 7.938 kB / 420.6 MB, free: 4.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007324/0.01921, allocations: 0.7621 MB / 421.4 MB, free: 3.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.01923, allocations: 4 kB / 421.4 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.01926, allocations: 12 kB / 421.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01927, allocations: 0 / 421.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.01956, allocations: 103.9 kB / 421.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01957, allocations: 7.938 kB / 421.5 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.01967, allocations: 71.34 kB / 421.6 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01969, allocations: 8 kB / 421.6 MB, free: 3.188 MB / 394.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.0002164/0.01991, allocations: 192.7 kB / 421.8 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.01996, allocations: 27.81 kB / 421.8 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.02001, allocations: 38.78 kB / 421.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.02002, allocations: 7.984 kB / 421.9 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.02002, allocations: 3.938 kB / 421.9 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02003, allocations: 0 / 421.9 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.02031, allocations: 272.5 kB / 422.1 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02032, allocations: 3.984 kB / 422.1 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.02052, allocations: 51.91 kB / 422.2 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02052, allocations: 0 / 422.2 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.02055, allocations: 19.92 kB / 422.2 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.02055, allocations: 4 kB / 422.2 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02055, allocations: 3.938 kB / 422.2 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.02127, allocations: 0.7446 MB / 423 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.0213, allocations: 27.89 kB / 423 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.02134, allocations: 15.98 kB / 423 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02145, allocations: 8 kB / 423 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.02152, allocations: 27.89 kB / 423 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.02153, allocations: 4 kB / 423 MB, free: 1.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.02167, allocations: 223 kB / 423.3 MB, free: 1.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02168, allocations: 4 kB / 423.3 MB, free: 1.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000618/0.02229, allocations: 255.6 kB / 423.5 MB, free: 1.203 MB / 394.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.001234/0.02353, allocations: 1.454 MB / 425 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.02421, allocations: 0.6748 MB / 425.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02421, allocations: 4 kB / 425.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.02441, allocations: 188 kB / 425.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.02475, allocations: 41.36 kB / 425.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.02869, allocations: 4.472 MB / 430.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.02884, allocations: 199.8 kB / 430.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.02896, allocations: 70.22 kB / 430.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.0291, allocations: 108.5 kB / 430.7 MB, free: 9.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0291, allocations: 0 / 430.7 MB, free: 9.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.06181, allocations: 10.9 MB / 441.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.472, allocations: 0 / 441.6 MB, free: 14.91 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.827295783907175] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 8.558040972799063 8.56886231 8.556465484 Calling exit ...