Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.076/2.076, allocations: 209.2 MB / 224.8 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 8 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 48.71 MB / 331.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5536, allocations: 74.13 MB / 405.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.554, allocations: 63.97 kB / 405.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04518/0.5992, allocations: 8.198 MB / 413.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5992, allocations: 0 / 413.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5992, allocations: 0 / 413.8 MB, free: 2.633 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004342/0.5997, allocations: 355.3 kB / 414.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5998, allocations: 12.03 kB / 414.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.5998, allocations: 30.56 kB / 414.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.5998, allocations: 0 / 414.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.6, allocations: 167 kB / 414.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6, allocations: 4 kB / 414.3 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.6, allocations: 0 / 414.3 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.6001, allocations: 37.69 kB / 414.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6002, allocations: 0 / 414.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.6002, allocations: 0 / 414.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6002, allocations: 4 kB / 414.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.6002, allocations: 3.938 kB / 414.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.6004, allocations: 153.6 kB / 414.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.6005, allocations: 22.58 kB / 414.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.6005, allocations: 3.984 kB / 414.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.6006, allocations: 34.62 kB / 414.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.6006, allocations: 0 / 414.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.6007, allocations: 41.62 kB / 414.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6008, allocations: 51.41 kB / 414.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.6009, allocations: 89.12 kB / 414.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6009, allocations: 25.7 kB / 414.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.601, allocations: 158.6 kB / 414.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.601, allocations: 3.906 kB / 414.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.6011, allocations: 0 / 414.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6012, allocations: 314.8 kB / 415.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.6012, allocations: 0 / 415.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.6012, allocations: 4 kB / 415.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.6013, allocations: 192 / 415.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6013, allocations: 7.938 kB / 415.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.124e-05/0.6014, allocations: 41.59 kB / 415.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6014, allocations: 4 kB / 415.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6014, allocations: 0 / 415.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.6014, allocations: 4 kB / 415.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.6015, allocations: 0 / 415.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6015, allocations: 3.984 kB / 415.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.6015, allocations: 3.938 kB / 415.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.6015, allocations: 0 / 415.3 MB, free: 0.8672 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.084e-05/0.6016, allocations: 117.9 kB / 415.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.6016, allocations: 3.953 kB / 415.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.6018, allocations: 40.81 kB / 415.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6018, allocations: 0 / 415.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6018, allocations: 4 kB / 415.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6018, allocations: 0 / 415.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.602, allocations: 149.7 kB / 415.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.602, allocations: 11.95 kB / 415.6 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.602, allocations: 0 / 415.6 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.602, allocations: 3.953 kB / 415.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.602, allocations: 0 / 415.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.602, allocations: 0 / 415.6 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6021, allocations: 4 kB / 415.6 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.789e-05/0.6022, allocations: 57.14 kB / 415.7 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.6022, allocations: 77.11 kB / 415.8 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.6022, allocations: 11.97 kB / 415.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.6023, allocations: 0 / 415.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.6024, allocations: 4 kB / 415.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.6024, allocations: 0 / 415.8 MB, free: 296 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.6024, allocations: 75.28 kB / 415.8 MB, free: 220 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6024, allocations: 0 / 415.8 MB, free: 220 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.6029, allocations: 51.92 kB / 415.9 MB, free: 168 kB / 330.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 () * Number of clocked 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.0007243/0.6036, allocations: 0.6476 MB / 416.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.6037, allocations: 29.7 kB / 416.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6038, allocations: 0 / 416.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.6038, allocations: 29.7 kB / 416.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.604, allocations: 8.5 kB / 416.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.6045, allocations: 166.6 kB / 416.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.6048, allocations: 0.6809 MB / 417.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.6048, allocations: 7.438 kB / 417.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6048, allocations: 0 / 417.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/3.135, allocations: 1.141 MB / 418.6 MB, free: 13.34 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat