Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.024e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4323, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5933, allocations: 81.1 MB / 439.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5937, allocations: 63.97 kB / 439.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06479/0.6585, allocations: 9.312 MB / 448.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6585, allocations: 4 kB / 448.6 MB, free: 4.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.955e-05/0.6586, allocations: 8 kB / 448.6 MB, free: 4.312 MB / 378.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.00237/0.661, allocations: 0.6555 MB / 449.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.6611, allocations: 12.03 kB / 449.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.6612, allocations: 35.48 kB / 449.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.6621, allocations: 288.1 kB / 449.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6621, allocations: 8 kB / 449.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6622, allocations: 15.91 kB / 449.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007755/0.663, allocations: 195.9 kB / 449.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.6639, allocations: 255.1 kB / 450.1 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6639, allocations: 0 / 450.1 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.664, allocations: 7.953 kB / 450.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.664, allocations: 0 / 450.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.6667, allocations: 0.7232 MB / 450.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.6676, allocations: 265.2 kB / 451 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.6681, allocations: 177.8 kB / 451.2 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/0.6682, allocations: 7.938 kB / 451.2 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.6683, allocations: 34.56 kB / 451.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 4.508e-06/0.6683, allocations: 0 / 451.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001405/0.6697, allocations: 357.8 kB / 451.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.6698, allocations: 81.11 kB / 451.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.6704, allocations: 305 kB / 452 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.6705, allocations: 25.7 kB / 452 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.6707, allocations: 203.5 kB / 452.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6709, allocations: 94.62 kB / 452.3 MB, free: 412 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.671, allocations: 4 kB / 452.3 MB, free: 408 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6712, allocations: 338.8 kB / 452.6 MB, free: 60 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008429/0.672, allocations: 260.8 kB / 452.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.673, allocations: 318.3 kB / 453.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.6741, allocations: 305.8 kB / 453.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6742, allocations: 7.984 kB / 453.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002315/0.6765, allocations: 0.6929 MB / 454.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.6766, allocations: 4 kB / 454.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/0.6766, allocations: 15.98 kB / 454.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.6767, allocations: 0 / 454.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.678, allocations: 99.88 kB / 454.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.678, allocations: 4 kB / 454.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.6785, allocations: 59.11 kB / 454.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.6786, allocations: 12 kB / 454.4 MB, free: 14.29 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0003052/0.6789, allocations: 139.5 kB / 454.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001342/0.6803, allocations: 361.5 kB / 454.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.6805, allocations: 27.62 kB / 454.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.6807, allocations: 38.83 kB / 454.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6807, allocations: 0 / 454.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6807, allocations: 4 kB / 455 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6808, allocations: 0 / 455 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.6817, allocations: 313.7 kB / 455.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6817, allocations: 0 / 455.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6828, allocations: 47.97 kB / 455.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.6828, allocations: 0 / 455.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.073e-05/0.6829, allocations: 12 kB / 455.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.683, allocations: 7.922 kB / 455.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.683, allocations: 7.938 kB / 455.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.685, allocations: 0.7109 MB / 456 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.6852, allocations: 100.7 kB / 456.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6853, allocations: 11.98 kB / 456.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.686, allocations: 4 kB / 456.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6861, allocations: 19.97 kB / 456.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.6862, allocations: 8 kB / 456.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.6866, allocations: 200.6 kB / 456.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6866, allocations: 0 / 456.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001751/0.6884, allocations: 275.7 kB / 456.7 MB, free: 11.95 MB / 394.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 () * 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.002753/0.6912, allocations: 1.509 MB / 458.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.6928, allocations: 0.6932 MB / 458.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6928, allocations: 0 / 458.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.6933, allocations: 175.8 kB / 459 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.6939, allocations: 33.19 kB / 459.1 MB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.6968, allocations: 1.023 MB / 460.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.6975, allocations: 0.8143 MB / 460.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.6979, allocations: 107.4 kB / 461 MB, free: 7.465 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6979, allocations: 0 / 461 MB, free: 7.465 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.493/4.191, allocations: 8.038 MB / 469 MB, free: 99.86 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay2_res.mat does not exist to compare? outputFormat=mat