Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 106.6 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 83.38 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1383, allocations: 62.45 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004529/0.1429, allocations: 1.904 MB / 481.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1458, allocations: 1.396 MB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.146, allocations: 7.938 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1463, allocations: 23.86 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1465, allocations: 19.78 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1488, allocations: 0.5341 MB / 483.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1493, allocations: 275.3 kB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1494, allocations: 48.28 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.1497, allocations: 119.5 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.15, allocations: 175.4 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.1501, allocations: 20 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.1514, allocations: 0.7682 MB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1516, allocations: 111.7 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1518, allocations: 147.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1537, allocations: 1.076 MB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1537, allocations: 4 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1538, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.1538, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.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.001794/0.1556, allocations: 0.7244 MB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1556, allocations: 12.03 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.892e-05/0.1557, allocations: 46.73 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.1561, allocations: 36.56 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1565, allocations: 291.7 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1565, allocations: 12 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.1566, allocations: 27.91 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.1571, allocations: 267.7 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1571, allocations: 0 / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.1572, allocations: 8 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.1572, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.1576, allocations: 227.8 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.159, allocations: 0.7655 MB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.1595, allocations: 288.9 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.1599, allocations: 189.5 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.1599, allocations: 4 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.748e-05/0.16, allocations: 50.48 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.16, allocations: 0 / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001071/0.1611, allocations: 0.5286 MB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.1612, allocations: 81.11 kB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.1616, allocations: 352.5 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.1616, allocations: 33.7 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1617, allocations: 144.8 kB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.1618, allocations: 94.56 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.162, allocations: 121.7 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1622, allocations: 350.8 kB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1626, allocations: 284.9 kB / 491.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.1631, allocations: 339.5 kB / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.1666, allocations: 1.773 MB / 493.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1666, allocations: 3.938 kB / 493.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001162/0.1678, allocations: 0.7687 MB / 494 MB, free: 6.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1678, allocations: 6.656 kB / 494 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.1679, allocations: 11.98 kB / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1679, allocations: 0 / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.1684, allocations: 95.88 kB / 494.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1684, allocations: 4 kB / 494.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1686, allocations: 67.11 kB / 494.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1687, allocations: 16 kB / 494.2 MB, free: 6.672 MB / 366.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.0002806/0.1689, allocations: 183.3 kB / 494.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.169, allocations: 27.56 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.332e-05/0.1691, allocations: 42.7 kB / 494.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1691, allocations: 4 kB / 494.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1691, allocations: 0 / 494.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1692, allocations: 0 / 494.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.1696, allocations: 349.2 kB / 494.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1696, allocations: 3.938 kB / 494.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.1699, allocations: 43.92 kB / 494.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.17, allocations: 0 / 494.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.17, allocations: 19.98 kB / 494.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.17, allocations: 0 / 494.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.17, allocations: 0 / 494.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1711, allocations: 0.7431 MB / 495.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.1712, allocations: 120.7 kB / 495.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.1713, allocations: 12 kB / 495.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1715, allocations: 19.98 kB / 495.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.1716, allocations: 15.98 kB / 495.7 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1716, allocations: 11.98 kB / 495.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1718, allocations: 219 kB / 495.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1718, allocations: 0 / 495.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009379/0.1728, allocations: 255.9 kB / 496.2 MB, free: 4.543 MB / 366.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.00201/0.1748, allocations: 1.428 MB / 497.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1759, allocations: 0.7561 MB / 498.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1759, allocations: 4 kB / 498.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.1763, allocations: 188.9 kB / 498.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.1768, allocations: 45 kB / 498.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.1827, allocations: 4.576 MB / 0.4914 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.1832, allocations: 0.8028 MB / 0.4922 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.1834, allocations: 74.23 kB / 0.4923 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.1836, allocations: 107.4 kB / 0.4924 GB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1836, allocations: 0 / 0.4924 GB, free: 12.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.2235, allocations: 9.907 MB / 0.502 GB, free: 2.645 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.2237, allocations: 184.2 kB / 0.5022 GB, free: 2.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.355, allocations: 3.938 kB / 0.5022 GB, free: 2.387 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)