Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay1.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.PadeDelay1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.687/2.687, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.197e-05, allocations: 0 / 303.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3763, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5355, allocations: 81.37 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5358, allocations: 63.92 kB / 439.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06415/0.6, allocations: 9.204 MB / 448.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6001, allocations: 0 / 448.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.6001, allocations: 12 kB / 448.8 MB, free: 4.082 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003984/0.6041, allocations: 0.956 MB / 449.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.6042, allocations: 12.02 kB / 449.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.6045, allocations: 51.2 kB / 449.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6056, allocations: 355.6 kB / 450.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.6056, allocations: 12 kB / 450.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.6059, allocations: 35.89 kB / 450.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002487/0.6084, allocations: 0.6812 MB / 450.9 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.6105, allocations: 0.6078 MB / 451.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.6106, allocations: 11.91 kB / 451.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.6107, allocations: 3.953 kB / 451.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.6107, allocations: 8 kB / 451.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.6164, allocations: 1.559 MB / 453 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.6181, allocations: 0.7334 MB / 453.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.6193, allocations: 0.5466 MB / 454.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/0.6201, allocations: 310.5 kB / 454.6 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6202, allocations: 35.03 kB / 454.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.6202, allocations: 0 / 454.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.002595/0.6228, allocations: 1.068 MB / 455.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.6229, allocations: 89 kB / 455.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.6235, allocations: 334 kB / 456.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.6236, allocations: 25.7 kB / 456.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.6237, allocations: 204.3 kB / 456.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.6241, allocations: 354.6 kB / 456.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.6242, allocations: 3.938 kB / 456.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.6245, allocations: 378.8 kB / 457.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.6257, allocations: 0.5765 MB / 457.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.6271, allocations: 0.6744 MB / 458.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.6289, allocations: 0.7236 MB / 459.1 MB, free: 9.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.629, allocations: 0 / 459.1 MB, free: 9.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003679/0.6327, allocations: 1.622 MB / 460.7 MB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.6328, allocations: 9.25 kB / 460.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.6328, allocations: 4 kB / 460.7 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.6328, allocations: 4 kB / 460.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.6345, allocations: 167.8 kB / 460.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.6345, allocations: 4 kB / 460.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.6351, allocations: 114.3 kB / 461 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.6352, allocations: 24 kB / 461 MB, free: 7.547 MB / 394.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] 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 (96): * Single equations (assignments): 92 * 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.000424/0.6357, allocations: 198.7 kB / 461.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002547/0.6382, allocations: 1.066 MB / 462.3 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.6384, allocations: 51.34 kB / 462.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.6418, allocations: 1.707 MB / 464 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6419, allocations: 4 kB / 464 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6419, allocations: 3.953 kB / 464 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.6419, allocations: 3.984 kB / 464 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/0.6461, allocations: 1.697 MB / 465.7 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.6461, allocations: 4 kB / 465.7 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/0.6483, allocations: 127.7 kB / 465.9 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.192e-05/0.6484, allocations: 4 kB / 465.9 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.6486, allocations: 27.97 kB / 465.9 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.6487, allocations: 7.938 kB / 465.9 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6487, allocations: 0 / 465.9 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.6519, allocations: 1.359 MB / 467.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.6522, allocations: 168.1 kB / 467.4 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.6524, allocations: 23.97 kB / 467.4 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.653, allocations: 11.98 kB / 467.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.6532, allocations: 43.83 kB / 467.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.6533, allocations: 19.98 kB / 467.5 MB, free: 0.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007021/0.654, allocations: 338.9 kB / 467.9 MB, free: 472 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.654, allocations: 0 / 467.9 MB, free: 472 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00142/0.6555, allocations: 251.9 kB / 468.1 MB, free: 220 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.3471/1.003, allocations: 2.116 MB / 470.2 MB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003381/1.006, allocations: 1.497 MB / 471.7 MB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.006, allocations: 0.9062 kB / 471.7 MB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/1.007, allocations: 421.8 kB / 472.1 MB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/1.008, allocations: 44.48 kB / 472.2 MB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/1.013, allocations: 2.089 MB / 474.3 MB, free: 99.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.013, allocations: 0.9416 MB / 475.2 MB, free: 98.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/1.014, allocations: 203.6 kB / 475.4 MB, free: 98.8 MB / 394.7 MB Notification: Performance of SimCode: time 3.055e-06/1.014, allocations: 0 / 475.4 MB, free: 98.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.032/4.047, allocations: 11.77 MB / 487.2 MB, free: 92.48 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.PadeDelay1_res.mat does not exist to compare? outputFormat=mat