Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.337e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4226, allocations: 54.86 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5791, allocations: 80.41 MB / 445 MB, free: 56 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5795, allocations: 68.03 kB / 445.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04591/0.6254, allocations: 8.207 MB / 453.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.6254, allocations: 0 / 453.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.6255, allocations: 4 kB / 453.3 MB, free: 7.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003692/0.6258, allocations: 338.5 kB / 453.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6259, allocations: 11.97 kB / 453.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.626, allocations: 30.56 kB / 453.7 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.626, allocations: 13.83 kB / 453.7 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.6261, allocations: 167.1 kB / 453.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6261, allocations: 0 / 453.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.6262, allocations: 0 / 453.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.6263, allocations: 37.69 kB / 453.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6263, allocations: 0 / 453.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6263, allocations: 4 kB / 453.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.6264, allocations: 3.953 kB / 453.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.6264, allocations: 7.938 kB / 453.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.6268, allocations: 248.9 kB / 454.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.22e-05/0.6269, allocations: 18.58 kB / 454.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.6269, allocations: 8.859 kB / 454.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.6269, allocations: 0 / 454.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.627, allocations: 34.52 kB / 454.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.627, allocations: 64 / 454.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.6271, allocations: 45.62 kB / 454.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.6272, allocations: 51.41 kB / 454.3 MB, free: 6.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.6273, allocations: 89 kB / 454.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6273, allocations: 29.7 kB / 454.4 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.6274, allocations: 154.5 kB / 454.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.6274, allocations: 5.125 kB / 454.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6274, allocations: 0 / 454.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6275, allocations: 323 kB / 454.9 MB, free: 6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.6276, allocations: 0 / 454.9 MB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.6276, allocations: 22.58 kB / 454.9 MB, free: 5.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.6276, allocations: 4 kB / 454.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6276, allocations: 0 / 454.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.6278, allocations: 49.69 kB / 455 MB, free: 5.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6278, allocations: 8 kB / 455 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.6278, allocations: 3.953 kB / 455 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6278, allocations: 0 / 455 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.6279, allocations: 8 kB / 455 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6279, allocations: 3.938 kB / 455 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.6279, allocations: 4.75 kB / 455 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.628, allocations: 0 / 455 MB, free: 5.883 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.619e-05/0.6281, allocations: 105 kB / 455.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.6281, allocations: 0 / 455.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.6282, allocations: 52.8 kB / 455.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.6283, allocations: 3.953 kB / 455.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6283, allocations: 0 / 455.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6283, allocations: 0 / 455.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.6285, allocations: 154.7 kB / 455.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6285, allocations: 0 / 455.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-06/0.6285, allocations: 0 / 455.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6285, allocations: 3.938 kB / 455.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.6285, allocations: 7.969 kB / 455.3 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.6285, allocations: 4 kB / 455.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6285, allocations: 3.953 kB / 455.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.6287, allocations: 131.5 kB / 455.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.6287, allocations: 77.11 kB / 455.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.6288, allocations: 0 / 455.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.6288, allocations: 0 / 455.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.6289, allocations: 9.016 kB / 455.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.6289, allocations: 4 kB / 455.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.023e-05/0.6289, allocations: 75.28 kB / 455.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.629, allocations: 0 / 455.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.6294, allocations: 51.92 kB / 455.7 MB, free: 5.117 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007325/0.6301, allocations: 0.7242 MB / 456.4 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.6303, allocations: 33.7 kB / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6303, allocations: 0 / 456.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.6303, allocations: 33.64 kB / 456.5 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.6305, allocations: 4.938 kB / 456.5 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.6309, allocations: 132.2 kB / 456.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.6312, allocations: 0.6773 MB / 457.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.6312, allocations: 11.44 kB / 457.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of SimCode: time 3.787e-06/0.6312, allocations: 0 / 457.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.435/3.066, allocations: 1.148 MB / 458.4 MB, free: 2.254 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat