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.499/2.499, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004656, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3518, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.503, allocations: 80.5 MB / 449.9 MB, free: 9.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5034, allocations: 75.91 kB / 449.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04873/0.5521, allocations: 8.199 MB / 458.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5522, allocations: 0 / 458.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5523, allocations: 4 kB / 458.1 MB, free: 1.699 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.0006005/0.5529, allocations: 347.2 kB / 458.5 MB, free: 1.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/0.553, allocations: 8.031 kB / 458.5 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.553, allocations: 42.5 kB / 458.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.5531, allocations: 11.89 kB / 458.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.5533, allocations: 159.1 kB / 458.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5533, allocations: 0 / 458.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.5533, allocations: 0 / 458.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.5535, allocations: 45.67 kB / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5536, allocations: 0 / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5536, allocations: 0 / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5536, allocations: 0 / 458.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.5537, allocations: 7.953 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.5543, allocations: 248.9 kB / 459 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.5544, allocations: 18.58 kB / 459 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.5544, allocations: 4.062 kB / 459 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.5545, allocations: 30.56 kB / 459 MB, free: 0.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.046e-06/0.5545, allocations: 0 / 459 MB, free: 0.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002504/0.5548, allocations: 49.58 kB / 459.1 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.5548, allocations: 51.41 kB / 459.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5549, allocations: 89 kB / 459.2 MB, free: 424 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.555, allocations: 25.7 kB / 459.3 MB, free: 392 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.5551, allocations: 158.5 kB / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.457e-06/0.5551, allocations: 0 / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5552, allocations: 0 / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5554, allocations: 314.8 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.5554, allocations: 8.25 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.5555, allocations: 22.58 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.5555, allocations: 0 / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5556, allocations: 4 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001744/0.5558, allocations: 57.53 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5558, allocations: 4 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.5558, allocations: 8.094 kB / 459.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.5559, allocations: 3.953 kB / 459.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.556, allocations: 7.938 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.556, allocations: 3.938 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.5561, allocations: 0 / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.5561, allocations: 4 kB / 459.8 MB, free: 15.77 MB / 394.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 0.0001651/0.5563, allocations: 109.8 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.5563, allocations: 0 / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.5565, allocations: 48.77 kB / 460 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5566, allocations: 0 / 460 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.5566, allocations: 7.953 kB / 460 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5566, allocations: 0 / 460 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.5569, allocations: 145.7 kB / 460.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5569, allocations: 0 / 460.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.5569, allocations: 4 kB / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5569, allocations: 3.938 kB / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5569, allocations: 4 kB / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5569, allocations: 4.031 kB / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5569, allocations: 0 / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.5571, allocations: 131.5 kB / 460.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.5571, allocations: 77.11 kB / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5572, allocations: 0 / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.5572, allocations: 4 kB / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.5573, allocations: 0 / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.5573, allocations: 8.031 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.5573, allocations: 87.22 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5574, allocations: 0 / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000474/0.5578, allocations: 47.94 kB / 460.5 MB, free: 15.01 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.0006784/0.5585, allocations: 0.7125 MB / 461.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.5587, allocations: 41.69 kB / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5587, allocations: 0 / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.5587, allocations: 33.64 kB / 461.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.5589, allocations: 0 / 461.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.5594, allocations: 169.9 kB / 461.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.5597, allocations: 0.6771 MB / 462.1 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.5597, allocations: 11.69 kB / 462.1 MB, free: 13.25 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5597, allocations: 0 / 462.1 MB, free: 13.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.513/3.073, allocations: 1.146 MB / 463.3 MB, free: 12.11 MB / 394.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