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.0008574/0.0008574, 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.0009008/0.0009008, allocations: 169.9 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.9105/0.9105, allocations: 158.6 MB / 185 MB, free: 3.039 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.1281/0.1281, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.274e-06/2.274e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.56e-05, allocations: 6.078 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002857/0.002883, allocations: 1.788 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004534, allocations: 1.28 MB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.004645, allocations: 7.938 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.00479, allocations: 27.72 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.00485, allocations: 35.64 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.006233, allocations: 0.6698 MB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.006532, allocations: 243.2 kB / 410.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.00666, allocations: 32.56 kB / 410.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.006856, allocations: 131.7 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.007038, allocations: 147.7 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.007078, allocations: 27.98 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.008493, allocations: 1.212 MB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.008679, allocations: 119.6 kB / 412.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.00876, allocations: 91.69 kB / 412.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.01003, allocations: 1.192 MB / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01003, allocations: 0 / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01003, allocations: 0 / 413.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.01004, allocations: 0 / 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.0009658/0.01101, allocations: 0.6676 MB / 414.5 MB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01105, allocations: 8.031 kB / 414.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.01109, allocations: 42.75 kB / 414.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.01115, allocations: 40.69 kB / 414.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.01139, allocations: 210 kB / 414.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.01141, allocations: 20.06 kB / 414.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.01145, allocations: 23.95 kB / 414.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.01196, allocations: 330.5 kB / 415.1 MB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.01197, allocations: 8 kB / 415.1 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.01199, allocations: 7.984 kB / 415.2 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01199, allocations: 7.984 kB / 415.2 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.01226, allocations: 219.8 kB / 415.4 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.01304, allocations: 0.6634 MB / 416 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.01335, allocations: 284.9 kB / 416.3 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.01354, allocations: 190 kB / 416.5 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.01356, allocations: 8 kB / 416.5 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.01359, allocations: 42.44 kB / 416.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.01359, allocations: 0 / 416.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006587/0.01425, allocations: 0.5322 MB / 417.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.01429, allocations: 85.05 kB / 417.2 MB, free: 7.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.01452, allocations: 352.6 kB / 417.5 MB, free: 7.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01455, allocations: 29.7 kB / 417.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.01462, allocations: 144.9 kB / 417.7 MB, free: 7.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.01468, allocations: 107.2 kB / 417.8 MB, free: 7.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.0148, allocations: 121.7 kB / 417.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.01489, allocations: 342.8 kB / 418.2 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.0152, allocations: 288.8 kB / 418.5 MB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.01574, allocations: 343 kB / 418.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.01773, allocations: 1.76 MB / 420.6 MB, free: 4.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.01773, 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.0006856/0.01842, allocations: 0.7582 MB / 421.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01844, allocations: 11.28 kB / 421.4 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.01846, allocations: 11.92 kB / 421.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01847, allocations: 4 kB / 421.4 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.01874, allocations: 95.88 kB / 421.5 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.01875, allocations: 7.875 kB / 421.5 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01885, allocations: 71.39 kB / 421.6 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01887, allocations: 12 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.0001803/0.01905, allocations: 188.7 kB / 421.8 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.0191, allocations: 31.8 kB / 421.8 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.01915, allocations: 38.78 kB / 421.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01916, allocations: 0 / 421.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01916, allocations: 7.938 kB / 421.9 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01917, allocations: 7.984 kB / 421.9 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.01942, allocations: 272.5 kB / 422.1 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01943, allocations: 0 / 422.1 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.01962, allocations: 51.91 kB / 422.2 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01962, allocations: 4 kB / 422.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01964, allocations: 8 kB / 422.2 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01964, allocations: 7.938 kB / 422.2 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01965, allocations: 7.922 kB / 422.2 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.02031, allocations: 0.7407 MB / 422.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.02033, allocations: 31.89 kB / 423 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.02036, allocations: 8 kB / 423 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02048, allocations: 11.98 kB / 423 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.02052, allocations: 23.91 kB / 423 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.02054, allocations: 4 kB / 423 MB, free: 1.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.02067, allocations: 227 kB / 423.2 MB, free: 1.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02067, allocations: 0 / 423.2 MB, free: 1.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005887/0.02126, allocations: 263.5 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.001165/0.02243, allocations: 1.461 MB / 425 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.02305, allocations: 0.6601 MB / 425.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02305, allocations: 0 / 425.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.02325, allocations: 195.8 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.0003246/0.02357, allocations: 45.56 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.003859/0.02743, allocations: 4.471 MB / 430.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.0276, allocations: 199.8 kB / 430.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.02776, allocations: 70.23 kB / 430.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.02789, allocations: 104.5 kB / 430.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.02789, allocations: 0 / 430.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.05513, allocations: 10.92 MB / 441.6 MB, free: 14.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.378, allocations: 8.047 kB / 441.6 MB, free: 14.9 MB / 426.7 MB " [Timeout remaining time 653] (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: 9.506261845119298] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.465706750750542 7.480169808 7.467140373 Calling exit ...