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.0008993/0.0008993, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009705/0.0009705, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9092/0.9092, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2428/0.2428, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.651e-05, allocations: 4.25 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001969/0.001986, allocations: 1.804 MB / 441.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.003485, allocations: 1.294 MB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.003581, allocations: 7.938 kB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.003722, allocations: 31.66 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.003774, allocations: 35.72 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.005018, allocations: 0.6853 MB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.005226, allocations: 231.3 kB / 443.7 MB, free: 176 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005339, allocations: 32.55 kB / 443.7 MB, free: 140 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005524, allocations: 139.6 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1629/0.1684, allocations: 145 kB / 444 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.1685, allocations: 24.81 kB / 444 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1698, allocations: 1.216 MB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.17, allocations: 118.9 kB / 445.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.1701, allocations: 91.06 kB / 445.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1714, allocations: 1.197 MB / 446.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1715, allocations: 4.406 kB / 446.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1715, allocations: 0.7188 kB / 446.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1715, allocations: 0 / 446.6 MB, free: 43.52 MB / 410.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.001062/0.1725, allocations: 0.6676 MB / 447.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1726, allocations: 11.91 kB / 447.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1726, allocations: 44.77 kB / 447.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1727, allocations: 44.89 kB / 447.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.1733, allocations: 219.5 kB / 447.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1733, allocations: 14.81 kB / 447.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.1734, allocations: 31.77 kB / 447.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.1738, allocations: 323.6 kB / 448 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1738, allocations: 5.406 kB / 448 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1738, allocations: 3.812 kB / 448 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1738, allocations: 2.906 kB / 448 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1742, allocations: 223.6 kB / 448.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009551/0.1751, allocations: 0.6752 MB / 448.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.1755, allocations: 292.4 kB / 449.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1757, allocations: 183.3 kB / 449.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1758, allocations: 4.438 kB / 449.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1758, allocations: 40.97 kB / 449.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.414e-06/0.1758, allocations: 0 / 449.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008242/0.1766, allocations: 0.543 MB / 449.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.1766, allocations: 79.92 kB / 450 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1769, allocations: 351 kB / 450.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1769, allocations: 33.7 kB / 450.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.177, allocations: 140 kB / 450.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.1771, allocations: 108 kB / 450.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1772, allocations: 117.9 kB / 450.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.1772, allocations: 352.8 kB / 451.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.1776, allocations: 287.2 kB / 451.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1779, allocations: 346.3 kB / 451.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.1808, allocations: 1.753 MB / 453.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1808, allocations: 4 kB / 453.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001233/0.182, allocations: 0.7688 MB / 454.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.182, allocations: 8.5 kB / 454.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.182, allocations: 6.156 kB / 454.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1821, allocations: 0 / 454.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1823, allocations: 101.8 kB / 454.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1823, allocations: 0 / 454.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1825, allocations: 66.64 kB / 454.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1825, allocations: 17.53 kB / 454.4 MB, free: 40.12 MB / 410.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.0001896/0.1827, allocations: 194.9 kB / 454.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.1827, allocations: 29.8 kB / 454.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.1828, allocations: 37.94 kB / 454.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1828, allocations: 6.422 kB / 454.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1828, allocations: 4 kB / 454.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1828, allocations: 0 / 454.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1831, allocations: 280.8 kB / 454.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1831, allocations: 0 / 454.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1832, allocations: 46.5 kB / 455 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1833, allocations: 3.156 kB / 455 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1833, allocations: 17.66 kB / 455 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1833, allocations: 0 / 455 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1833, allocations: 3.281 kB / 455 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.1839, allocations: 0.7554 MB / 455.8 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.1839, allocations: 36.06 kB / 455.8 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1839, allocations: 13.8 kB / 455.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.184, allocations: 10.39 kB / 455.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1841, allocations: 13 kB / 455.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1841, allocations: 15.17 kB / 455.9 MB, free: 39.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.1842, allocations: 219.9 kB / 456.1 MB, free: 39.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1842, allocations: 0 / 456.1 MB, free: 39.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006319/0.1848, allocations: 258.1 kB / 456.3 MB, free: 39.12 MB / 410.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.0009292/0.1858, allocations: 1.463 MB / 457.8 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.1863, allocations: 0.6588 MB / 458.4 MB, free: 37.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1863, allocations: 0 / 458.4 MB, free: 37.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1865, allocations: 191.4 kB / 458.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1868, allocations: 48.77 kB / 458.7 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1896, allocations: 4.469 MB / 463.1 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1897, allocations: 207.5 kB / 463.4 MB, free: 35.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1899, allocations: 69.03 kB / 463.4 MB, free: 35.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.19, allocations: 110 kB / 463.5 MB, free: 35.24 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.19, allocations: 3.938 kB / 463.5 MB, free: 35.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2128, allocations: 10.96 MB / 474.5 MB, free: 33.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.278, allocations: 3.938 kB / 474.5 MB, free: 33.88 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.194577445276082] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.3648678148165345 7.377180311 7.203574166 Calling exit ...