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.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.304e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3815, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.5463, allocations: 78.4 MB / 436.5 MB, free: 428 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5466, allocations: 67.97 kB / 436.6 MB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002445/0.5491, allocations: 0.614 MB / 437.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5492, allocations: 0 / 437.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5492, allocations: 8 kB / 437.2 MB, free: 15.73 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.0003066/0.5495, allocations: 322.5 kB / 437.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.791e-05/0.5496, allocations: 8.031 kB / 437.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.5496, allocations: 3.953 kB / 437.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5498, allocations: 167 kB / 437.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5498, allocations: 4 kB / 437.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5499, allocations: 0 / 437.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.783e-05/0.5499, allocations: 11.98 kB / 437.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.55, allocations: 33.7 kB / 437.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5501, allocations: 0 / 437.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.5501, allocations: 4 kB / 437.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5501, allocations: 3.953 kB / 437.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5503, allocations: 130.3 kB / 437.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.5505, allocations: 34.52 kB / 437.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.5506, allocations: 8.859 kB / 437.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.551, allocations: 121.2 kB / 438.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5511, allocations: 34.55 kB / 438.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.5511, allocations: 0 / 438.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001872/0.553, allocations: 177.4 kB / 438.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.553, allocations: 51.41 kB / 438.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.5531, allocations: 88.98 kB / 438.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5532, allocations: 29.83 kB / 438.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.5532, allocations: 150.6 kB / 438.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.5533, allocations: 15.81 kB / 438.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.5533, allocations: 0 / 438.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5535, allocations: 318.7 kB / 438.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.5535, allocations: 12 kB / 438.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.5536, allocations: 8 kB / 438.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.5537, allocations: 15.97 kB / 438.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5537, allocations: 0 / 438.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.5539, allocations: 61.69 kB / 439 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.554, allocations: 11.98 kB / 439 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.554, allocations: 0 / 439 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.554, allocations: 0 / 439 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.5542, allocations: 19.92 kB / 439 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5543, allocations: 0 / 439 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.5544, allocations: 8 kB / 439 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5544, allocations: 3.938 kB / 439 MB, free: 13.69 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 (5): * Single equations (assignments): 5 * 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.931e-05/0.5546, allocations: 118.9 kB / 439.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001918/0.5548, allocations: 57.69 kB / 439.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.5548, allocations: 4 kB / 439.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.5551, allocations: 78 kB / 439.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5551, allocations: 0 / 439.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5551, allocations: 4.062 kB / 439.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5551, allocations: 4.125 kB / 439.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.556, allocations: 319.9 kB / 439.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.556, allocations: 0 / 439.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5562, allocations: 23.92 kB / 439.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5563, allocations: 0 / 439.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5563, allocations: 4.031 kB / 439.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5563, allocations: 0 / 439.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.5563, allocations: 7.938 kB / 439.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.5566, allocations: 174.1 kB / 439.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.5567, allocations: 77.11 kB / 439.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.5567, allocations: 4 kB / 439.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.5569, allocations: 15.94 kB / 439.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.5569, allocations: 0 / 439.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5569, allocations: 4 kB / 439.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.557, allocations: 79.22 kB / 440 MB, free: 12.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.244e-06/0.557, allocations: 0 / 440 MB, free: 12.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.5573, allocations: 11.94 kB / 440 MB, free: 12.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007306/0.5581, allocations: 0.7837 MB / 440.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.5583, allocations: 23.94 kB / 440.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5583, allocations: 0 / 440.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.5583, allocations: 16 kB / 440.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.5585, allocations: 3.984 kB / 440.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.5593, allocations: 148.2 kB / 441 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5597, allocations: 0.6768 MB / 441.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.5598, allocations: 15.44 kB / 441.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5598, allocations: 0 / 441.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.374/2.933, allocations: 0.8628 MB / 442.5 MB, free: 9.988 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat