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/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.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.387/2.387, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.13e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3792, allocations: 54.84 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5349, allocations: 79.75 MB / 437.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5353, allocations: 67.95 kB / 437.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05299/0.5883, allocations: 8.176 MB / 446.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5883, allocations: 0 / 446.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.5884, allocations: 4 kB / 446.1 MB, free: 6.824 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.0005101/0.5889, allocations: 346.4 kB / 446.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.589, allocations: 12.02 kB / 446.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.589, allocations: 7.953 kB / 446.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5892, allocations: 159.1 kB / 446.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5892, allocations: 0 / 446.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.5892, allocations: 0 / 446.6 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.883e-05/0.5893, allocations: 4 kB / 446.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.174e-05/0.5894, allocations: 25.7 kB / 446.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5894, allocations: 7.938 kB / 446.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5894, allocations: 4 kB / 446.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.5894, allocations: 3.953 kB / 446.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.5896, allocations: 130.2 kB / 446.8 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.5897, allocations: 22.61 kB / 446.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.5897, allocations: 4.859 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5897, allocations: 0 / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5898, allocations: 38.62 kB / 446.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.5898, allocations: 0 / 446.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002066/0.59, allocations: 33.69 kB / 446.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.5901, allocations: 55.34 kB / 447 MB, free: 5.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.5902, allocations: 89 kB / 447 MB, free: 5.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.5902, allocations: 25.7 kB / 447.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.5903, allocations: 154.6 kB / 447.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.5903, allocations: 8.094 kB / 447.2 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.5904, allocations: 0 / 447.2 MB, free: 5.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5905, allocations: 318.8 kB / 447.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.5906, allocations: 0 / 447.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.5906, allocations: 0 / 447.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.5906, allocations: 4 kB / 447.5 MB, free: 5.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5907, allocations: 0 / 447.5 MB, free: 5.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.5908, allocations: 37.69 kB / 447.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5908, allocations: 7.938 kB / 447.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5908, allocations: 4.094 kB / 447.6 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5909, allocations: 4 kB / 447.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.5909, allocations: 0 / 447.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5909, allocations: 0 / 447.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.5909, allocations: 0 / 447.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.591, allocations: 0 / 447.6 MB, free: 5.152 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 (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.819e-05/0.5911, allocations: 104.9 kB / 447.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.658e-05/0.5912, allocations: 45.53 kB / 447.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.5912, allocations: 8 kB / 447.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.5914, allocations: 49.44 kB / 447.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5914, allocations: 0 / 447.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5914, allocations: 0 / 447.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5914, allocations: 3.984 kB / 447.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.5916, allocations: 130.2 kB / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.5916, allocations: 0 / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.5916, allocations: 0 / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5916, allocations: 3.938 kB / 447.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.5916, allocations: 4.031 kB / 447.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5916, allocations: 3.938 kB / 447.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.5916, allocations: 3.984 kB / 447.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5918, allocations: 65.09 kB / 448 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.5918, allocations: 81.09 kB / 448.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.5919, allocations: 0 / 448.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.592, allocations: 7.984 kB / 448.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.592, allocations: 4.031 kB / 448.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.592, allocations: 0 / 448.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.5921, allocations: 79.28 kB / 448.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5921, allocations: 0 / 448.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000448/0.5925, allocations: 47.94 kB / 448.2 MB, free: 4.434 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 (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.0008334/0.5934, allocations: 0.6515 MB / 448.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.5935, allocations: 33.69 kB / 448.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5936, allocations: 0 / 448.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.5936, allocations: 29.7 kB / 448.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5938, allocations: 1.719 kB / 448.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.5943, allocations: 120.6 kB / 449.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5946, allocations: 0.6768 MB / 449.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.5947, allocations: 11.56 kB / 449.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5947, allocations: 0 / 449.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.208, allocations: 1.171 MB / 450.9 MB, free: 1.633 MB / 378.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