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.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.867e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.35, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.5443, allocations: 78.41 MB / 436.5 MB, free: 344 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5447, allocations: 67.95 kB / 436.6 MB, free: 276 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002484/0.5472, allocations: 0.5677 MB / 437.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5472, allocations: 0 / 437.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5472, allocations: 0 / 437.2 MB, free: 15.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000466/0.5477, allocations: 330.4 kB / 437.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/0.5478, allocations: 12.03 kB / 437.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.5479, allocations: 7.953 kB / 437.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.5481, allocations: 167 kB / 437.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5481, allocations: 0 / 437.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5481, allocations: 4 kB / 437.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.583e-05/0.5483, allocations: 8 kB / 437.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5484, allocations: 47.41 kB / 437.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5484, allocations: 0 / 437.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5485, allocations: 0 / 437.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.5485, allocations: 7.953 kB / 437.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.549, allocations: 297.7 kB / 438 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.5491, allocations: 22.52 kB / 438.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.5492, allocations: 12.86 kB / 438.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.5493, allocations: 4 kB / 438.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.5493, allocations: 34.56 kB / 438.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.205e-06/0.5493, allocations: 0 / 438.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003756/0.5497, allocations: 49.77 kB / 438.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5498, allocations: 55.36 kB / 438.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.5499, allocations: 96.91 kB / 438.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.55, allocations: 29.69 kB / 438.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5501, allocations: 150.6 kB / 438.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.5501, allocations: 11.88 kB / 438.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5502, allocations: 4 kB / 438.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5504, allocations: 314.8 kB / 438.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.5504, allocations: 8 kB / 438.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.5505, allocations: 17.72 kB / 438.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.901e-05/0.5506, allocations: 7.984 kB / 438.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5506, allocations: 3.938 kB / 438.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002395/0.5509, allocations: 49.69 kB / 438.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5509, allocations: 15.97 kB / 438.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.551, allocations: 0 / 438.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.551, allocations: 3.938 kB / 438.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5511, allocations: 11.98 kB / 438.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5512, allocations: 0 / 438.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.5513, allocations: 7.891 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5513, allocations: 4 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001097/0.5514, allocations: 103 kB / 439 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002356/0.5516, allocations: 45.69 kB / 439.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.5517, allocations: 11.91 kB / 439.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.552, allocations: 57.94 kB / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.552, allocations: 4 kB / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5521, allocations: 7.953 kB / 439.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.5521, allocations: 3.984 kB / 439.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.5524, allocations: 130.2 kB / 439.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5524, allocations: 0 / 439.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.5525, allocations: 11.98 kB / 439.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5525, allocations: 0 / 439.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5526, allocations: 0 / 439.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5526, allocations: 4 kB / 439.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5526, allocations: 0 / 439.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.553, allocations: 151.4 kB / 439.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.5531, allocations: 81.11 kB / 439.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.5531, allocations: 0 / 439.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5533, allocations: 0 / 439.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.5533, allocations: 3.984 kB / 439.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5534, allocations: 4 kB / 439.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.5534, allocations: 79.28 kB / 439.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5535, allocations: 0 / 439.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005856/0.5541, allocations: 8 kB / 439.6 MB, free: 12.95 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 (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.0008013/0.5549, allocations: 0.6772 MB / 440.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.5551, allocations: 32.03 kB / 440.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5551, allocations: 0 / 440.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.5551, allocations: 11.98 kB / 440.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.5555, allocations: 1.406 kB / 440.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.5561, allocations: 127.2 kB / 440.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.5569, allocations: 0.6807 MB / 441.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.557, allocations: 7.438 kB / 441.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.557, allocations: 11.88 kB / 441.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.533/3.09, allocations: 0.7655 MB / 441.9 MB, free: 10.54 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat