Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001327/0.001327, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 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.001415/0.001415, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.463/1.463, allocations: 230.5 MB / 254.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.93 MB / 357.7 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.86 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1281, allocations: 66.04 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003241/0.1313, allocations: 1.855 MB / 0.558 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1336, allocations: 1.42 MB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.1337, allocations: 7.938 kB / 0.5594 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.1339, allocations: 31.72 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.134, allocations: 31.66 kB / 0.5594 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1355, allocations: 0.5763 MB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.1358, allocations: 287.2 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.136, allocations: 32.28 kB / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1362, allocations: 123.6 kB / 0.5604 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1365, allocations: 187.5 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.1365, allocations: 20 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.138, allocations: 0.928 MB / 0.5615 GB, free: 84 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1381, allocations: 123.6 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1383, allocations: 151.1 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1395, allocations: 1.079 MB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1395, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1395, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1395, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 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.001378/0.1409, allocations: 0.7391 MB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1409, allocations: 8.031 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.141, allocations: 46.73 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.1412, allocations: 48.69 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1416, allocations: 283.9 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1416, allocations: 12 kB / 0.5639 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.1416, allocations: 23.95 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1421, allocations: 275.2 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1421, allocations: 3.938 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1422, allocations: 11.94 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1422, allocations: 0 / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1426, allocations: 223.8 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1439, allocations: 0.7578 MB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.1444, allocations: 284.9 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1447, allocations: 189.6 kB / 0.5656 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1448, allocations: 0 / 0.5656 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1448, allocations: 46.5 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.1448, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001088/0.1459, allocations: 0.5373 MB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1459, allocations: 85.05 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1463, allocations: 348.6 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.1464, allocations: 33.7 kB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1465, allocations: 148.9 kB / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-05/0.1466, allocations: 107.1 kB / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.1468, allocations: 125.4 kB / 0.567 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1469, allocations: 346.8 kB / 0.5673 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.1474, allocations: 288.8 kB / 0.5676 GB, free: 9.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.1479, allocations: 339.5 kB / 0.5679 GB, free: 9.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.1517, allocations: 1.758 MB / 0.5697 GB, free: 7.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1517, allocations: 0 / 0.5697 GB, free: 7.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001215/0.153, allocations: 0.7659 MB / 0.5704 GB, free: 6.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.153, allocations: 8 kB / 0.5704 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.153, allocations: 7.938 kB / 0.5704 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.153, allocations: 4 kB / 0.5704 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.1535, allocations: 99.88 kB / 0.5705 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1535, allocations: 0 / 0.5705 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.1538, allocations: 71.34 kB / 0.5706 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.1538, allocations: 12 kB / 0.5706 GB, free: 6.488 MB / 430.1 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.0002858/0.1541, allocations: 182 kB / 0.5708 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.1542, allocations: 27.81 kB / 0.5708 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1543, allocations: 38.66 kB / 0.5708 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1543, allocations: 4 kB / 0.5708 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1543, allocations: 0 / 0.5708 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1543, allocations: 3.984 kB / 0.5708 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.1548, allocations: 337.3 kB / 0.5712 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1548, allocations: 0 / 0.5712 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1552, allocations: 51.91 kB / 0.5712 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1552, allocations: 4 kB / 0.5712 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.1552, allocations: 23.92 kB / 0.5712 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1552, allocations: 3.938 kB / 0.5712 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1552, allocations: 7.938 kB / 0.5713 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1563, allocations: 0.7484 MB / 0.572 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.1564, allocations: 109 kB / 0.5721 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.1565, allocations: 23.92 kB / 0.5721 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1567, allocations: 4 kB / 0.5721 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.1568, allocations: 23.95 kB / 0.5721 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1568, allocations: 4 kB / 0.5721 GB, free: 4.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.157, allocations: 223 kB / 0.5724 GB, free: 4.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.157, allocations: 0 / 0.5724 GB, free: 4.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008296/0.1579, allocations: 255.7 kB / 0.5726 GB, free: 4.336 MB / 430.1 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.001932/0.1598, allocations: 1.432 MB / 0.574 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1609, allocations: 0.674 MB / 0.5747 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1609, allocations: 0 / 0.5747 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.1612, allocations: 187.8 kB / 0.5748 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1617, allocations: 41.06 kB / 0.5749 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.168, allocations: 4.528 MB / 0.5793 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.1686, allocations: 0.8067 MB / 0.5801 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.1689, allocations: 66.25 kB / 0.5801 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.1691, allocations: 103.4 kB / 0.5802 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1691, allocations: 0 / 0.5802 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.2113, allocations: 10.15 MB / 0.5902 GB, free: 2.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/8.973, allocations: 7.922 kB / 0.5902 GB, free: 2.309 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.147438432089984] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.04920527804643 9.332602401 9.188997648 Calling exit ...