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.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.976e-05/4.981e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5659, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.7784, allocations: 79.08 MB / 443.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.7788, allocations: 71.95 kB / 443.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003109/0.7819, allocations: 0.624 MB / 444.4 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.782, allocations: 0 / 444.4 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.782, allocations: 0.6562 kB / 444.4 MB, free: 0.7148 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003767/0.7824, allocations: 317.9 kB / 444.7 MB, free: 372 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.7825, allocations: 8.031 kB / 444.7 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.7825, allocations: 31.69 kB / 444.7 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7826, allocations: 3.953 kB / 444.7 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.7828, allocations: 170.9 kB / 444.9 MB, free: 108 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.7828, allocations: 8.625 kB / 444.9 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.7828, allocations: 8 kB / 444.9 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.783, allocations: 29.7 kB / 445 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.783, allocations: 0 / 445 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.783, allocations: 0 / 445 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.783, allocations: 3.953 kB / 445 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.7831, allocations: 8 kB / 445 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.7834, allocations: 149.7 kB / 445.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.7837, allocations: 46.55 kB / 445.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.7837, allocations: 13.52 kB / 445.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/0.7844, allocations: 117.2 kB / 445.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7844, allocations: 34.56 kB / 445.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.816e-06/0.7845, allocations: 0 / 445.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.002281/0.7868, allocations: 165.9 kB / 445.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.7869, allocations: 55.36 kB / 445.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.787, allocations: 89 kB / 445.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.787, allocations: 26.45 kB / 445.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.7871, allocations: 150.6 kB / 445.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.7872, allocations: 15.8 kB / 445.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.7872, allocations: 0 / 445.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.7874, allocations: 319 kB / 446.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.7875, allocations: 8 kB / 446.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.7875, allocations: 12 kB / 446.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.7876, allocations: 8.859 kB / 446.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7876, allocations: 1.031 kB / 446.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002292/0.7879, allocations: 61.62 kB / 446.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.7879, allocations: 8 kB / 446.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.788, allocations: 1.938 kB / 446.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.788, allocations: 0 / 446.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.7883, allocations: 19.98 kB / 446.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.7883, allocations: 0 / 446.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.7885, allocations: 7.953 kB / 446.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.7886, allocations: 15.27 kB / 446.3 MB, free: 14.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001079/0.7887, allocations: 104.9 kB / 446.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.7887, allocations: 0 / 446.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.789, allocations: 81.92 kB / 446.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7891, allocations: 4.141 kB / 446.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7891, allocations: 0 / 446.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7891, allocations: 3.984 kB / 446.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.79, allocations: 336.6 kB / 446.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7901, allocations: 8.031 kB / 446.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.7903, allocations: 15.98 kB / 446.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.7903, allocations: 0 / 446.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7903, allocations: 0 / 446.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.7903, allocations: 4.797 kB / 446.8 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7903, allocations: 4 kB / 446.8 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.7906, allocations: 174.8 kB / 447 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.7907, allocations: 81.09 kB / 447.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.7907, allocations: 3.953 kB / 447.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7909, allocations: 8 kB / 447.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.7909, allocations: 3.984 kB / 447.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.7909, allocations: 6.75 kB / 447.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.791, allocations: 83.28 kB / 447.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.791, allocations: 0.5625 kB / 447.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.7913, allocations: 8 kB / 447.2 MB, free: 13.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0006481/0.792, allocations: 0.7836 MB / 448 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.7922, allocations: 32.09 kB / 448 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7922, allocations: 0 / 448 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.7923, allocations: 11.94 kB / 448 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.7925, allocations: 11.92 kB / 448 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.7932, allocations: 149.1 kB / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.7935, allocations: 0.681 MB / 448.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.7936, allocations: 15.44 kB / 448.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7936, allocations: 0 / 448.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.523/3.317, allocations: 0.8501 MB / 449.7 MB, free: 10.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat