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.TestRegFunctions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.777e-05, allocations: 0 / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3838, allocations: 54.85 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5293, allocations: 78.52 MB / 436.6 MB, free: 1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.5297, allocations: 59.97 kB / 436.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003804/0.5335, allocations: 0.9025 MB / 437.6 MB, free: 36 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5335, allocations: 0 / 437.6 MB, free: 36 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5335, allocations: 0 / 437.6 MB, free: 36 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003378/0.5339, allocations: 338.4 kB / 437.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.534, allocations: 8.031 kB / 437.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.534, allocations: 7.953 kB / 437.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5341, allocations: 167 kB / 438.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5342, allocations: 4 kB / 438.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.5342, allocations: 4 kB / 438.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001563/0.5344, allocations: 47.91 kB / 438.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.5345, allocations: 53.62 kB / 438.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5345, allocations: 4 kB / 438.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5345, allocations: 0 / 438.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5346, allocations: 7.953 kB / 438.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.5348, allocations: 146.1 kB / 438.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.5349, allocations: 70.55 kB / 438.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.535, allocations: 33.08 kB / 438.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.5354, allocations: 251.3 kB / 438.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.5355, allocations: 34.56 kB / 438.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.5355, allocations: 0 / 438.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.00034/0.5358, allocations: 81.61 kB / 438.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5359, allocations: 51.41 kB / 438.9 MB, free: 14.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.536, allocations: 93 kB / 439 MB, free: 14.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.536, allocations: 25.7 kB / 439 MB, free: 14.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.5361, allocations: 150.6 kB / 439.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.5361, allocations: 31.69 kB / 439.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.5361, allocations: 0 / 439.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5363, allocations: 326.7 kB / 439.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.5363, allocations: 12 kB / 439.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.5364, allocations: 16 kB / 439.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5366, allocations: 24.11 kB / 439.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5366, allocations: 288 / 439.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002837/0.5369, allocations: 89.55 kB / 439.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5369, allocations: 4 kB / 439.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5369, allocations: 0 / 439.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5369, allocations: 0 / 439.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.5371, allocations: 19.98 kB / 439.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5371, allocations: 3.984 kB / 439.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.5372, allocations: 0 / 439.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5372, allocations: 4 kB / 439.7 MB, free: 13.72 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 (10): * Single equations (assignments): 10 * 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 9.081e-05/0.5373, allocations: 112.9 kB / 439.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000248/0.5376, allocations: 81.58 kB / 439.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.5376, allocations: 7.938 kB / 439.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.538, allocations: 97.91 kB / 440 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.538, allocations: 0 / 440 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.538, allocations: 0 / 440 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.538, allocations: 0 / 440 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.5382, allocations: 146.2 kB / 440.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5382, allocations: 4 kB / 440.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5383, allocations: 23.92 kB / 440.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5383, allocations: 0 / 440.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5383, allocations: 0 / 440.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.5384, allocations: 4 kB / 440.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5384, allocations: 0 / 440.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.5387, allocations: 113.2 kB / 440.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.5387, allocations: 89 kB / 440.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5387, allocations: 0 / 440.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.5388, allocations: 4 kB / 440.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.5388, allocations: 4 kB / 440.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5389, allocations: 8 kB / 440.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.5389, allocations: 79.27 kB / 440.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5389, allocations: 0 / 440.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.5392, allocations: 19.94 kB / 440.4 MB, free: 12.85 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006514/0.5399, allocations: 0.6553 MB / 441.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.5401, allocations: 47.94 kB / 441.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5401, allocations: 0 / 441.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.5402, allocations: 31.94 kB / 441.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5403, allocations: 4.203 kB / 441.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.5408, allocations: 147.2 kB / 441.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.5413, allocations: 0.6885 MB / 442 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.5413, allocations: 15.42 kB / 442 MB, free: 11.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5413, allocations: 0 / 442 MB, free: 11.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.534/3.075, allocations: 1.033 MB / 443.1 MB, free: 10.14 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat