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.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006079/0.000608, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4116, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5667, allocations: 80.5 MB / 449.9 MB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5671, allocations: 71.97 kB / 449.9 MB, free: 9.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05777/0.6249, allocations: 8.208 MB / 458.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.625, allocations: 0 / 458.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.625, allocations: 0 / 458.1 MB, free: 1.707 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004376/0.6255, allocations: 351.2 kB / 458.5 MB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6255, allocations: 12.03 kB / 458.5 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.6256, allocations: 42.44 kB / 458.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.6256, allocations: 3.953 kB / 458.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6258, allocations: 159.1 kB / 458.7 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.6258, allocations: 0 / 458.7 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.6258, allocations: 4 kB / 458.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.6259, allocations: 33.67 kB / 458.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6259, allocations: 4 kB / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.626, allocations: 0 / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.626, allocations: 0 / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.626, allocations: 7.953 kB / 458.7 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6262, allocations: 153.6 kB / 458.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.6263, allocations: 22.5 kB / 458.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.6263, allocations: 4.094 kB / 458.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6263, allocations: 30.56 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6264, allocations: 0 / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001606/0.6265, allocations: 37.83 kB / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.6266, allocations: 55.41 kB / 459 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.6267, allocations: 92.94 kB / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6267, allocations: 25.7 kB / 459.2 MB, free: 500 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.6268, allocations: 154.5 kB / 459.3 MB, free: 344 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.6268, allocations: 0 / 459.3 MB, free: 344 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6268, allocations: 0 / 459.3 MB, free: 344 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.627, allocations: 314.8 kB / 459.6 MB, free: 20 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.627, allocations: 8.125 kB / 459.6 MB, free: 12 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.627, allocations: 4 kB / 459.6 MB, free: 8 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.627, allocations: 0 / 459.6 MB, free: 8 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6271, allocations: 0 / 459.6 MB, free: 8 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.707e-05/0.6272, allocations: 33.88 kB / 459.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6272, allocations: 4 kB / 459.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.6272, allocations: 4 kB / 459.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6273, allocations: 3.984 kB / 459.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.6273, allocations: 3.938 kB / 459.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6273, allocations: 96 / 459.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.6273, allocations: 7.906 kB / 459.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.6273, allocations: 0 / 459.7 MB, free: 15.94 MB / 394.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.653e-05/0.6274, allocations: 117.6 kB / 459.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.6275, allocations: 3.938 kB / 459.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.6276, allocations: 44.81 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6276, allocations: 4 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6277, allocations: 4.031 kB / 459.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.6277, allocations: 0 / 459.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.6278, allocations: 153.6 kB / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6278, allocations: 0 / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.6278, allocations: 0 / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6279, allocations: 0 / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6279, allocations: 4 kB / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6279, allocations: 0 / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6279, allocations: 0 / 460 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.628, allocations: 69.03 kB / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.6281, allocations: 81.09 kB / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.6281, allocations: 0 / 460.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.6282, allocations: 4 kB / 460.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.6282, allocations: 0 / 460.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.6282, allocations: 0 / 460.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.6283, allocations: 83.28 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6283, allocations: 128 / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004218/0.6287, allocations: 55.92 kB / 460.3 MB, free: 15.23 MB / 394.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.0007298/0.6294, allocations: 0.6436 MB / 460.9 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.6296, allocations: 37.7 kB / 461 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6296, allocations: 96 / 461 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.6296, allocations: 29.7 kB / 461 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.6298, allocations: 4 kB / 461 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.6303, allocations: 162.2 kB / 461.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.6306, allocations: 0.6731 MB / 461.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.6306, allocations: 7.438 kB / 461.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6306, allocations: 0 / 461.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.317/2.948, allocations: 1.147 MB / 463 MB, free: 12.41 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat