Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01521/0.01522, allocations: 108.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001877/0.001877, allocations: 179.5 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.029/2.029, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2654/0.2654, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005065, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002902/0.1347, allocations: 1.489 MB / 417.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1379, allocations: 1.297 MB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1381, allocations: 4 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1383, allocations: 27.78 kB / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1384, allocations: 23.95 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1405, allocations: 438.9 kB / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.1409, allocations: 159.7 kB / 419.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1411, allocations: 36.3 kB / 419.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1414, allocations: 115.5 kB / 419.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1417, allocations: 155.5 kB / 419.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.1417, allocations: 12 kB / 419.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.1433, allocations: 0.6317 MB / 420.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1435, allocations: 91.77 kB / 420.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1436, allocations: 69.52 kB / 420.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.1452, allocations: 0.8227 MB / 421.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1452, allocations: 0 / 421.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1452, allocations: 0 / 421.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1452, allocations: 0 / 421.4 MB, free: 13.19 MB / 362.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.001737/0.147, allocations: 0.6776 MB / 422 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.147, allocations: 16.02 kB / 422.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/0.1471, allocations: 46.56 kB / 422.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.1472, allocations: 27.62 kB / 422.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.1477, allocations: 279.2 kB / 422.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1478, allocations: 15.95 kB / 422.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.1479, allocations: 27.91 kB / 422.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.1487, allocations: 275.1 kB / 422.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1487, allocations: 4 kB / 422.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.1487, allocations: 11.98 kB / 422.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1488, allocations: 4 kB / 422.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.1495, allocations: 227.8 kB / 423 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1516, allocations: 0.7695 MB / 423.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.1524, allocations: 289.1 kB / 424 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.1525, allocations: 4.219 kB / 424 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1525, allocations: 42.5 kB / 424.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 3.627e-06/0.1525, allocations: 0 / 424.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001754/0.1543, allocations: 0.5482 MB / 424.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.1544, allocations: 81.11 kB / 424.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.155, allocations: 348.4 kB / 425 MB, free: 9.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.155, allocations: 33.7 kB / 425.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1552, allocations: 140.7 kB / 425.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1553, allocations: 98.56 kB / 425.3 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1554, allocations: 4 kB / 425.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1555, allocations: 350.8 kB / 425.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.1563, allocations: 292.8 kB / 425.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.1571, allocations: 339.5 kB / 426.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.1581, allocations: 329.1 kB / 426.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1581, allocations: 4 kB / 426.6 MB, free: 7.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001962/0.1601, allocations: 0.7563 MB / 427.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.1601, allocations: 4 kB / 427.3 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.1602, allocations: 7.984 kB / 427.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.1602, allocations: 11.89 kB / 427.4 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.1612, allocations: 103.9 kB / 427.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1612, allocations: 3.938 kB / 427.5 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.1616, allocations: 71.05 kB / 427.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.1616, allocations: 12 kB / 427.5 MB, free: 6.742 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.162, allocations: 175.2 kB / 427.7 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1621, allocations: 27.62 kB / 427.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1622, allocations: 42.7 kB / 427.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1623, allocations: 0 / 427.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.1623, allocations: 7.953 kB / 427.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1623, allocations: 0 / 427.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.1629, allocations: 341.2 kB / 428.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.163, allocations: 0 / 428.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.1637, allocations: 47.92 kB / 428.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1637, allocations: 4 kB / 428.2 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.1638, allocations: 23.98 kB / 428.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1638, allocations: 0 / 428.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1638, allocations: 0 / 428.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.1656, allocations: 0.769 MB / 429 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.1657, allocations: 116.7 kB / 429.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.1658, allocations: 12 kB / 429.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.1662, allocations: 15.98 kB / 429.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1663, allocations: 15.94 kB / 429.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.1664, allocations: 11.98 kB / 429.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.1668, allocations: 219 kB / 429.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1668, allocations: 3.938 kB / 429.3 MB, free: 4.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001127/0.1679, allocations: 248 kB / 429.6 MB, free: 4.59 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002938/0.1709, allocations: 1.524 MB / 431.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.1726, allocations: 0.7365 MB / 431.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1727, allocations: 0 / 431.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.1732, allocations: 196.6 kB / 432 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.1738, allocations: 40.95 kB / 432.1 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.177, allocations: 1.565 MB / 433.6 MB, free: 432 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.1776, allocations: 0.8148 MB / 434.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.1779, allocations: 66.25 kB / 434.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.1783, allocations: 103.4 kB / 434.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1783, allocations: 0 / 434.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.2157, allocations: 9.555 MB / 444.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/0.2161, allocations: 164.5 kB / 444.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.081, allocations: 0 / 444.3 MB, free: 5.688 MB / 378.7 MB