Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001774/0.001774, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002305/0.002305, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.548/1.548, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+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_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 79.88 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1397, allocations: 65.98 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003742/0.1435, allocations: 1.869 MB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1459, allocations: 1.413 MB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.146, allocations: 7.938 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1462, allocations: 31.72 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.1462, allocations: 31.72 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1481, allocations: 0.5689 MB / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1485, allocations: 283.3 kB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1487, allocations: 44.27 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.149, allocations: 127.6 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1493, allocations: 179.4 kB / 0.5598 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.1493, allocations: 24 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1508, allocations: 0.9319 MB / 0.5607 GB, free: 360 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1509, allocations: 123.6 kB / 0.5608 GB, free: 236 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1511, allocations: 139.2 kB / 0.561 GB, free: 96 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1524, allocations: 1.079 MB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1524, allocations: 0 / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1524, allocations: 4 kB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1525, allocations: 0 / 0.562 GB, free: 15.01 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.001561/0.154, allocations: 0.7391 MB / 0.5628 GB, free: 14.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1541, allocations: 12.03 kB / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.1541, allocations: 50.67 kB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.1543, allocations: 48.69 kB / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.1547, allocations: 272 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1547, allocations: 16 kB / 0.5631 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.1548, allocations: 31.89 kB / 0.5632 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1553, allocations: 267.2 kB / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1553, allocations: 0 / 0.5634 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1553, allocations: 7.938 kB / 0.5634 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1554, allocations: 8 kB / 0.5634 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1558, allocations: 221.7 kB / 0.5637 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1572, allocations: 0.7578 MB / 0.5644 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.1577, allocations: 284.9 kB / 0.5647 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.1582, allocations: 189.6 kB / 0.5648 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.1582, allocations: 4 kB / 0.5649 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.1583, allocations: 38.44 kB / 0.5649 GB, free: 11.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.1583, allocations: 0 / 0.5649 GB, free: 11.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001162/0.1594, allocations: 0.5366 MB / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.1595, allocations: 88.98 kB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1599, allocations: 348.6 kB / 0.5658 GB, free: 10.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.16, allocations: 37.69 kB / 0.5659 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1601, allocations: 137 kB / 0.566 GB, free: 10.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.1602, allocations: 107.1 kB / 0.5661 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.1604, allocations: 125.4 kB / 0.5662 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1606, allocations: 350.8 kB / 0.5666 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.1611, allocations: 284.8 kB / 0.5668 GB, free: 9.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.1618, allocations: 339.5 kB / 0.5671 GB, free: 9.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/0.1659, allocations: 1.761 MB / 0.5689 GB, free: 7.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1659, allocations: 3.984 kB / 0.5689 GB, free: 7.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001273/0.1672, allocations: 0.7621 MB / 0.5696 GB, free: 6.973 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1672, allocations: 4 kB / 0.5696 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.1673, allocations: 7.938 kB / 0.5696 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.1673, allocations: 4 kB / 0.5696 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.1679, allocations: 95.88 kB / 0.5697 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1679, allocations: 11.94 kB / 0.5697 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1681, allocations: 71.28 kB / 0.5698 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.1681, allocations: 16 kB / 0.5698 GB, free: 6.766 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.0003066/0.1684, allocations: 185.5 kB / 0.57 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.1685, allocations: 31.81 kB / 0.57 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1687, allocations: 42.66 kB / 0.5701 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1687, allocations: 4 kB / 0.5701 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1687, allocations: 0 / 0.5701 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1687, allocations: 3.984 kB / 0.5701 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.1692, allocations: 337.3 kB / 0.5704 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1692, allocations: 4 kB / 0.5704 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.1696, allocations: 47.91 kB / 0.5704 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1696, allocations: 4 kB / 0.5704 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.1696, allocations: 19.92 kB / 0.5705 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1696, allocations: 7.938 kB / 0.5705 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1696, allocations: 0 / 0.5705 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1708, allocations: 0.7368 MB / 0.5712 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.1708, allocations: 117 kB / 0.5713 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1709, allocations: 15.92 kB / 0.5713 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.1711, allocations: 12 kB / 0.5713 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.1712, allocations: 15.97 kB / 0.5713 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1712, allocations: 12 kB / 0.5714 GB, free: 5.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.1715, allocations: 219 kB / 0.5716 GB, free: 4.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1715, allocations: 0 / 0.5716 GB, free: 4.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009018/0.1724, allocations: 255.6 kB / 0.5718 GB, free: 4.617 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.002032/0.1744, allocations: 1.441 MB / 0.5732 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1755, allocations: 0.6593 MB / 0.5739 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.1756, allocations: 8 kB / 0.5739 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.1759, allocations: 191.8 kB / 0.5741 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.1764, allocations: 41.66 kB / 0.5741 GB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.1827, allocations: 4.536 MB / 0.5785 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.1832, allocations: 0.8145 MB / 0.5793 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.1834, allocations: 66.25 kB / 0.5794 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1836, allocations: 107.4 kB / 0.5795 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1836, allocations: 0 / 0.5795 GB, free: 12.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/0.2271, allocations: 10.14 MB / 0.5894 GB, free: 2.598 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.038, allocations: 11.2 kB / 0.5894 GB, free: 2.59 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.314879704033956] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.1163809010759 9.35752741 9.202169965 Calling exit ...