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.001829/0.001829, allocations: 113 kB / 18.49 MB, free: 4.539 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.002067/0.002067, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2239/0.2239, allocations: 46.93 MB / 357.8 MB, free: 10.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003271/0.003271, allocations: 63.91 kB / 0.4916 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1509, allocations: 65.99 MB / 0.5561 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003438/0.1543, allocations: 1.863 MB / 0.5579 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1568, allocations: 1.417 MB / 0.5593 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1569, allocations: 4 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1571, allocations: 31.72 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.1572, allocations: 35.66 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1588, allocations: 0.565 MB / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.1592, allocations: 287.2 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1593, allocations: 40.27 kB / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.1596, allocations: 127.6 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1598, allocations: 179.5 kB / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.1599, allocations: 24 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.1613, allocations: 0.928 MB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1615, allocations: 123.6 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1616, allocations: 143.2 kB / 0.5617 GB, free: 92 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.1631, allocations: 1.079 MB / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1631, allocations: 0 / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1631, allocations: 0 / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1631, allocations: 0 / 0.5627 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.001534/0.1647, allocations: 0.743 MB / 0.5634 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1647, allocations: 12.03 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.622e-05/0.1647, allocations: 4.188 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.1648, allocations: 42.75 kB / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.165, allocations: 44.69 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1654, allocations: 283.7 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1654, allocations: 16 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.1654, allocations: 27.95 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.1659, allocations: 263.1 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.166, allocations: 4 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.166, allocations: 7.938 kB / 0.5641 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.166, allocations: 8 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.1665, allocations: 223.8 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.1679, allocations: 0.7539 MB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.1684, allocations: 288.9 kB / 0.5654 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1687, allocations: 189.6 kB / 0.5655 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.1687, allocations: 7.938 kB / 0.5655 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1688, allocations: 34.55 kB / 0.5656 GB, free: 11.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1688, allocations: 3.938 kB / 0.5656 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001111/0.1699, allocations: 0.5446 MB / 0.5661 GB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1699, allocations: 85.05 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.1703, allocations: 352.6 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1704, allocations: 29.7 kB / 0.5666 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1705, allocations: 137 kB / 0.5667 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1706, allocations: 111.1 kB / 0.5668 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.1708, allocations: 121.4 kB / 0.5669 GB, free: 10.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1709, allocations: 354.8 kB / 0.5672 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.1714, allocations: 284.8 kB / 0.5675 GB, free: 9.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.1719, allocations: 339.5 kB / 0.5678 GB, free: 9.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/0.1758, allocations: 1.761 MB / 0.5696 GB, free: 7.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1758, allocations: 0 / 0.5696 GB, free: 7.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001246/0.1771, allocations: 0.766 MB / 0.5703 GB, free: 6.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1771, allocations: 7.938 kB / 0.5703 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.1771, allocations: 7.984 kB / 0.5703 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1772, allocations: 4 kB / 0.5703 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.1777, allocations: 95.88 kB / 0.5704 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1777, allocations: 8 kB / 0.5704 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1779, allocations: 67.34 kB / 0.5705 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.178, allocations: 16 kB / 0.5705 GB, free: 6.754 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.0002711/0.1782, allocations: 177.3 kB / 0.5707 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.1783, allocations: 35.75 kB / 0.5707 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.1785, allocations: 42.7 kB / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1785, allocations: 4 kB / 0.5708 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1785, allocations: 4 kB / 0.5708 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.1785, allocations: 3.938 kB / 0.5708 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.179, allocations: 341.3 kB / 0.5711 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.179, allocations: 4 kB / 0.5711 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.1794, allocations: 39.98 kB / 0.5711 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.1794, allocations: 7.938 kB / 0.5711 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.1794, allocations: 11.98 kB / 0.5711 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1794, allocations: 11.94 kB / 0.5712 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1794, allocations: 0 / 0.5712 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.1806, allocations: 0.7446 MB / 0.5719 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1807, allocations: 112.9 kB / 0.572 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1808, allocations: 15.94 kB / 0.572 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.181, allocations: 15.98 kB / 0.572 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.1811, allocations: 11.98 kB / 0.572 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1811, allocations: 15.98 kB / 0.5721 GB, free: 5.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1814, allocations: 219 kB / 0.5723 GB, free: 4.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1814, allocations: 0 / 0.5723 GB, free: 4.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000857/0.1822, allocations: 251.6 kB / 0.5725 GB, free: 4.609 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.002036/0.1843, allocations: 1.441 MB / 0.5739 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.1854, allocations: 0.668 MB / 0.5746 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1854, allocations: 0 / 0.5746 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.1858, allocations: 191.8 kB / 0.5747 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.1863, allocations: 43.58 kB / 0.5748 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.1925, allocations: 4.533 MB / 0.5792 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.193, allocations: 0.8107 MB / 0.58 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1932, allocations: 74.17 kB / 0.5801 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1934, allocations: 99.41 kB / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1934, allocations: 0 / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.2289, allocations: 10.17 MB / 0.5901 GB, free: 2.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/9.302, allocations: 22.5 kB / 0.5901 GB, free: 2.555 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.633502537966706] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.430727689992636 9.702368953 9.536511694 Calling exit ...