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.001725/0.001725, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002245/0.002245, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.598/1.598, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.2343/0.2343, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 75.88 kB / 0.4885 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1244, allocations: 65.41 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003299/0.1277, allocations: 1.862 MB / 0.5542 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1301, allocations: 1.413 MB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1302, allocations: 7.938 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1303, allocations: 31.66 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.1304, allocations: 31.66 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.132, allocations: 0.576 MB / 0.5563 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1324, allocations: 283.3 kB / 0.5565 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1325, allocations: 40.5 kB / 0.5566 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1328, allocations: 127.6 kB / 0.5567 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1331, allocations: 183.5 kB / 0.5569 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.1332, allocations: 24 kB / 0.5569 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1348, allocations: 0.9319 MB / 0.5578 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.135, allocations: 123.6 kB / 0.5579 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1351, allocations: 135.2 kB / 0.558 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.1367, allocations: 1.086 MB / 0.5591 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1367, allocations: 0 / 0.5591 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1367, allocations: 0 / 0.5591 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1367, allocations: 0 / 0.5591 GB, free: 3.289 MB / 414.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.001625/0.1383, allocations: 0.745 MB / 0.5598 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1384, allocations: 12.03 kB / 0.5598 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.446e-05/0.1384, allocations: 192 / 0.5598 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.1385, allocations: 50.73 kB / 0.5599 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.1386, allocations: 40.7 kB / 0.5599 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.139, allocations: 291.6 kB / 0.5602 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.139, allocations: 12 kB / 0.5602 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.1391, allocations: 27.94 kB / 0.5602 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.1396, allocations: 267.2 kB / 0.5605 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1396, allocations: 0 / 0.5605 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.1396, allocations: 8 kB / 0.5605 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1396, allocations: 8 kB / 0.5605 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.1401, allocations: 230 kB / 0.5607 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1415, allocations: 0.7462 MB / 0.5615 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.1421, allocations: 292.9 kB / 0.5617 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1424, allocations: 181.6 kB / 0.5619 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.1425, allocations: 11.92 kB / 0.5619 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.1425, allocations: 34.56 kB / 0.562 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.1425, allocations: 0 / 0.562 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.1437, allocations: 0.5406 MB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.1437, allocations: 77.11 kB / 0.5626 GB, free: 15.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1441, allocations: 352.6 kB / 0.5629 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.1442, allocations: 33.64 kB / 0.5629 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1443, allocations: 148.8 kB / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1444, allocations: 107.1 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.1446, allocations: 121.4 kB / 0.5633 GB, free: 14.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1448, allocations: 354.8 kB / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.1452, allocations: 288.8 kB / 0.5639 GB, free: 14.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1457, allocations: 335.5 kB / 0.5642 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.1497, allocations: 1.764 MB / 0.5659 GB, free: 12.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1497, allocations: 0 / 0.5659 GB, free: 12.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00133/0.151, allocations: 0.7626 MB / 0.5667 GB, free: 11.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.151, allocations: 11.94 kB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.1511, allocations: 7.984 kB / 0.5667 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.1511, allocations: 4 kB / 0.5667 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.1517, allocations: 95.88 kB / 0.5668 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1517, allocations: 4 kB / 0.5668 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1519, allocations: 75.28 kB / 0.5669 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1519, allocations: 16 kB / 0.5669 GB, free: 11.03 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.00029/0.1522, allocations: 178 kB / 0.5671 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.1523, allocations: 43.72 kB / 0.5671 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1524, allocations: 38.72 kB / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1524, allocations: 0 / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1525, allocations: 0 / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1525, allocations: 4 kB / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.153, allocations: 337.3 kB / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.153, allocations: 0 / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.1533, allocations: 47.91 kB / 0.5675 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1533, allocations: 7.938 kB / 0.5675 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.1534, allocations: 12 kB / 0.5675 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1534, allocations: 8 kB / 0.5675 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1534, allocations: 3.984 kB / 0.5675 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1545, allocations: 0.7445 MB / 0.5683 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1546, allocations: 109 kB / 0.5684 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1547, allocations: 19.94 kB / 0.5684 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1549, allocations: 11.98 kB / 0.5684 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.155, allocations: 19.97 kB / 0.5684 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.155, allocations: 4 kB / 0.5684 GB, free: 9.355 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.1553, allocations: 223 kB / 0.5686 GB, free: 9.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1553, allocations: 0 / 0.5686 GB, free: 9.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000881/0.1562, allocations: 251.7 kB / 0.5689 GB, free: 8.891 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.001996/0.1582, allocations: 1.437 MB / 0.5703 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1592, allocations: 0.6765 MB / 0.5709 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1592, allocations: 0 / 0.5709 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.1596, allocations: 192.7 kB / 0.5711 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1601, allocations: 41.06 kB / 0.5712 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.1661, allocations: 4.527 MB / 0.5756 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.1665, allocations: 0.8107 MB / 0.5764 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.1667, allocations: 70.22 kB / 0.5764 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1669, allocations: 103.4 kB / 0.5765 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1669, allocations: 0 / 0.5765 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.2007, allocations: 10.18 MB / 0.5865 GB, free: 6.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/9.657, allocations: 15.03 kB / 0.5865 GB, free: 6.848 MB / 446.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-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: 13.188304738025181] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.790613712975755 10.043078305 9.902687137 Calling exit ...