Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004541, allocations: 16 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 48.71 MB / 331.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5293, allocations: 72.78 MB / 404.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5296, allocations: 67.97 kB / 404.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002515/0.5321, allocations: 0.6232 MB / 404.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5322, allocations: 0 / 404.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.5322, allocations: 3.938 kB / 404.8 MB, free: 11.52 MB / 330.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.0003466/0.5326, allocations: 324.2 kB / 405.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5326, allocations: 8.031 kB / 405.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.5327, allocations: 30.56 kB / 405.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.5327, allocations: 4 kB / 405.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5329, allocations: 171 kB / 405.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5329, allocations: 0 / 405.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.5329, allocations: 0 / 405.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.533, allocations: 37.62 kB / 405.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5331, allocations: 0 / 405.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5331, allocations: 8.547 kB / 405.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5331, allocations: 0 / 405.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.5332, allocations: 11.98 kB / 405.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.5334, allocations: 149.7 kB / 405.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.5336, allocations: 34.56 kB / 405.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.5341, allocations: 129.7 kB / 405.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5342, allocations: 34.56 kB / 405.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5342, allocations: 0 / 405.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.002035/0.5362, allocations: 209.4 kB / 406 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5363, allocations: 55.41 kB / 406 MB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.5364, allocations: 85 kB / 406.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5364, allocations: 29.31 kB / 406.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.5365, allocations: 154.6 kB / 406.3 MB, free: 9.863 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.5365, allocations: 15.73 kB / 406.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.5366, allocations: 4 kB / 406.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5367, allocations: 315 kB / 406.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5369, allocations: 23.98 kB / 406.6 MB, free: 9.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.537, allocations: 19.98 kB / 406.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.5372, allocations: 20.86 kB / 406.7 MB, free: 9.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5372, allocations: 4 kB / 406.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000411/0.5376, allocations: 93.61 kB / 406.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5376, allocations: 4 kB / 406.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5377, allocations: 3.938 kB / 406.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5377, allocations: 0 / 406.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5379, allocations: 15.98 kB / 406.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5379, allocations: 7.938 kB / 406.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.5381, allocations: 11.98 kB / 406.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5381, allocations: 0 / 406.8 MB, free: 9.324 MB / 330.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 (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.624e-05/0.5382, allocations: 109.8 kB / 406.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.5383, allocations: 11.86 kB / 406.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.5387, allocations: 97.48 kB / 407 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5387, allocations: 0 / 407 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5387, allocations: 7.875 kB / 407 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5388, allocations: 3.984 kB / 407 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5398, allocations: 359.4 kB / 407.4 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5398, allocations: 0 / 407.4 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.54, allocations: 19.92 kB / 407.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.54, allocations: 8.031 kB / 407.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5401, allocations: 0 / 407.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5401, allocations: 0 / 407.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5401, allocations: 0 / 407.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.5405, allocations: 202 kB / 407.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.5406, allocations: 77.11 kB / 407.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5406, allocations: 7.719 kB / 407.7 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.5408, allocations: 11.98 kB / 407.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5408, allocations: 3.938 kB / 407.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.5409, allocations: 7.984 kB / 407.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.5409, allocations: 79.28 kB / 407.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5409, allocations: 0 / 407.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.5413, allocations: 8 kB / 407.8 MB, free: 8.219 MB / 330.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 () * Number of clocked 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.0008839/0.5421, allocations: 0.8038 MB / 408.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.5425, allocations: 55.89 kB / 408.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5425, allocations: 4 kB / 408.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.5427, allocations: 27.98 kB / 408.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.5429, allocations: 0 / 408.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.5438, allocations: 216.4 kB / 408.9 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5441, allocations: 0.6776 MB / 409.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.5442, allocations: 15.44 kB / 409.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5442, allocations: 0 / 409.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.42/2.964, allocations: 0.839 MB / 410.4 MB, free: 5.48 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat