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.Test02RegFun3.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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.993/1.993, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004871, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.364, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5017, allocations: 74.13 MB / 405.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.502, allocations: 67.97 kB / 405.6 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0465/0.5486, allocations: 8.202 MB / 413.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5486, allocations: 0 / 413.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.5486, allocations: 0 / 413.8 MB, free: 11.89 MB / 346.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.0004646/0.5491, allocations: 350.2 kB / 414.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5492, allocations: 8.031 kB / 414.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.5492, allocations: 42.55 kB / 414.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.5493, allocations: 0 / 414.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5494, allocations: 167 kB / 414.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.5494, allocations: 0 / 414.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.5495, allocations: 4 kB / 414.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5496, allocations: 37.69 kB / 414.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5496, allocations: 0 / 414.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5497, allocations: 0 / 414.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5497, allocations: 3.938 kB / 414.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.5497, allocations: 4 kB / 414.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.5501, allocations: 248.9 kB / 414.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.5502, allocations: 22.58 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.5502, allocations: 0 / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.5503, allocations: 30.56 kB / 414.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.5503, allocations: 0 / 414.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.5505, allocations: 37.7 kB / 414.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5505, allocations: 51.53 kB / 414.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.5506, allocations: 101 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.5506, allocations: 25.7 kB / 414.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.5507, allocations: 154.5 kB / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.5508, allocations: 3.906 kB / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5508, allocations: 0 / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5509, allocations: 318.8 kB / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.551, allocations: 0 / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.551, allocations: 34.67 kB / 415.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.551, allocations: 7.938 kB / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5511, allocations: 0 / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.5512, allocations: 45.64 kB / 415.4 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.5512, allocations: 11.98 kB / 415.4 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5512, allocations: 0 / 415.4 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5513, allocations: 96 / 415.4 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.5513, allocations: 8 kB / 415.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.5513, allocations: 3.938 kB / 415.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.5514, allocations: 7.938 kB / 415.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.5514, allocations: 0 / 415.5 MB, free: 9.973 MB / 346.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 () * Number of clocked 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 9.723e-05/0.5515, allocations: 113.8 kB / 415.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.5515, allocations: 0 / 415.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.5517, allocations: 52.75 kB / 415.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5517, allocations: 0 / 415.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5517, allocations: 0 / 415.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5517, allocations: 0 / 415.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.5519, allocations: 161.6 kB / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.552, allocations: 0 / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.552, allocations: 0 / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.552, allocations: 0 / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.552, allocations: 0 / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.552, allocations: 0 / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.552, allocations: 4 kB / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.5522, allocations: 131.5 kB / 415.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.5522, allocations: 81.11 kB / 416 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5523, allocations: 0 / 416 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.5523, allocations: 0 / 416 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.5524, allocations: 7.938 kB / 416 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.5524, allocations: 4 kB / 416 MB, free: 9.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.939e-05/0.5525, allocations: 79.31 kB / 416.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5525, allocations: 0 / 416.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.553, allocations: 51.92 kB / 416.1 MB, free: 9.199 MB / 346.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.0007643/0.5537, allocations: 0.7162 MB / 416.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5539, allocations: 45.89 kB / 416.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5539, allocations: 0 / 416.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.554, allocations: 25.7 kB / 416.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.5541, allocations: 7.938 kB / 416.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.5547, allocations: 166.4 kB / 417.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.555, allocations: 0.6731 MB / 417.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.555, allocations: 7.438 kB / 417.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.555, allocations: 0 / 417.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.454/3.009, allocations: 1.151 MB / 418.9 MB, free: 6.301 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat