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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.403/2.403, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.071e-05, allocations: 7.984 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.519, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.7078, allocations: 79.09 MB / 443.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.7081, allocations: 63.97 kB / 443.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002011/0.7101, allocations: 0.5629 MB / 444.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7102, allocations: 1.406 kB / 444.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.7102, allocations: 0 / 444.3 MB, free: 0.7734 MB / 362.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.0003708/0.7106, allocations: 330.4 kB / 444.7 MB, free: 420 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7107, allocations: 8.031 kB / 444.7 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.7107, allocations: 38.5 kB / 444.7 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.7108, allocations: 3.953 kB / 444.7 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.7109, allocations: 166.6 kB / 444.9 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.7109, allocations: 0 / 444.9 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7109, allocations: 1.031 kB / 444.9 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.7111, allocations: 59.41 kB / 444.9 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.7111, allocations: 0 / 444.9 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7112, allocations: 4 kB / 444.9 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7112, allocations: 3.953 kB / 444.9 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.7112, allocations: 11.94 kB / 444.9 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.7117, allocations: 317.2 kB / 445.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.467e-05/0.7118, allocations: 30.58 kB / 445.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.7118, allocations: 16.86 kB / 445.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.7119, allocations: 0 / 445.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7119, allocations: 34.5 kB / 445.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.7119, allocations: 0.6562 kB / 445.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.7121, allocations: 53.64 kB / 445.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7122, allocations: 51.41 kB / 445.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.7123, allocations: 93 kB / 445.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.7123, allocations: 25.7 kB / 445.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.7124, allocations: 158.5 kB / 445.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.7124, allocations: 15.8 kB / 445.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.7125, allocations: 1.5 kB / 445.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7126, allocations: 310.8 kB / 446 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.7126, allocations: 8 kB / 446 MB, free: 14.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.7127, allocations: 23.47 kB / 446.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.7127, allocations: 15.92 kB / 446.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7128, allocations: 0 / 446.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.7129, allocations: 49.69 kB / 446.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7129, allocations: 8 kB / 446.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7129, allocations: 0 / 446.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.713, allocations: 3.953 kB / 446.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.7131, allocations: 11.94 kB / 446.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.7132, allocations: 3.281 kB / 446.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.7132, allocations: 7.969 kB / 446.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.7132, allocations: 8 kB / 446.2 MB, free: 14.72 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 8.13e-05/0.7133, allocations: 101 kB / 446.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.7134, allocations: 3.906 kB / 446.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.7135, allocations: 63.83 kB / 446.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7136, allocations: 0 / 446.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7136, allocations: 3.953 kB / 446.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7136, allocations: 4.094 kB / 446.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.7138, allocations: 153.7 kB / 446.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7138, allocations: 11.92 kB / 446.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.7139, allocations: 12 kB / 446.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7139, allocations: 1.406 kB / 446.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.714, allocations: 0 / 446.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.714, allocations: 0 / 446.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.714, allocations: 0 / 446.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.7142, allocations: 154 kB / 446.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.7142, allocations: 77.11 kB / 446.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.7143, allocations: 0 / 446.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.7143, allocations: 4 kB / 446.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.7144, allocations: 7.984 kB / 446.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.7144, allocations: 4 kB / 446.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.705e-05/0.7145, allocations: 83.23 kB / 446.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.297e-06/0.7145, allocations: 0 / 446.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.7148, allocations: 7.938 kB / 446.8 MB, free: 13.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.0006229/0.7154, allocations: 0.6852 MB / 447.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.7156, allocations: 27.92 kB / 447.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7156, allocations: 1.875 kB / 447.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.7156, allocations: 16 kB / 447.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.7158, allocations: 3.938 kB / 447.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.7163, allocations: 128.3 kB / 447.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.7166, allocations: 0.6849 MB / 448.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.7167, allocations: 11.44 kB / 448.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7167, allocations: 0 / 448.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.481/3.198, allocations: 0.767 MB / 449.2 MB, free: 11.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