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.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.64/2.64, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.607e-05, allocations: 8 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3978, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5494, allocations: 79.72 MB / 444.3 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.5497, allocations: 63.97 kB / 444.4 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.5655, allocations: 3.094 MB / 447.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5656, allocations: 0 / 447.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5656, allocations: 0 / 447.5 MB, free: 13.64 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004777/0.5661, allocations: 354.4 kB / 447.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5661, allocations: 12.03 kB / 447.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.5662, allocations: 38.55 kB / 447.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.5662, allocations: 8.656 kB / 447.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.5664, allocations: 167 kB / 448.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5664, allocations: 4 kB / 448.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.5665, allocations: 15.92 kB / 448.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5667, allocations: 67.84 kB / 448.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5667, allocations: 4 kB / 448.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.5667, allocations: 4 kB / 448.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5667, allocations: 0 / 448.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.5669, allocations: 39.97 kB / 448.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.5671, allocations: 177.4 kB / 448.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.5673, allocations: 90.48 kB / 448.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.5674, allocations: 29.48 kB / 448.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.5678, allocations: 105.1 kB / 448.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5679, allocations: 42.5 kB / 448.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.5679, allocations: 0.8438 kB / 448.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2396/0.8075, allocations: 4.961 MB / 453.6 MB, free: 7.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.8076, allocations: 55.39 kB / 453.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.8077, allocations: 89 kB / 453.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.8077, allocations: 29.83 kB / 453.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.8078, allocations: 154.9 kB / 453.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8079, allocations: 70.91 kB / 454 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.808, allocations: 8 kB / 454 MB, free: 6.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8081, allocations: 318.8 kB / 454.3 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.8084, allocations: 67.98 kB / 454.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.8087, allocations: 69 kB / 454.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.8096, allocations: 112 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8096, allocations: 3.953 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001346/0.811, allocations: 269.2 kB / 454.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.8111, allocations: 8 kB / 454.8 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8111, allocations: 3.984 kB / 454.8 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8111, allocations: 0 / 454.8 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.8118, allocations: 87.92 kB / 454.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8119, allocations: 8 kB / 454.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.8123, allocations: 31.97 kB / 454.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.8124, allocations: 19.97 kB / 455 MB, free: 5.906 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 (23): * Single equations (assignments): 23 * 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.0001441/0.8125, allocations: 116.9 kB / 455.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.8126, allocations: 11.86 kB / 455.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.8144, allocations: 342.6 kB / 455.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.8144, allocations: 7.938 kB / 455.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8144, allocations: 0 / 455.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8145, allocations: 0 / 455.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.8177, allocations: 0.7334 MB / 456.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.8177, allocations: 0 / 456.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.8184, allocations: 91.98 kB / 456.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.8184, allocations: 0 / 456.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.8184, allocations: 15.92 kB / 456.3 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.8185, allocations: 11.89 kB / 456.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8185, allocations: 0 / 456.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.8198, allocations: 367.4 kB / 456.6 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.8198, allocations: 88.97 kB / 456.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.8199, allocations: 4 kB / 456.7 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.8203, allocations: 39.97 kB / 456.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.8204, allocations: 15.97 kB / 456.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.8204, allocations: 12 kB / 456.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.8205, allocations: 79.28 kB / 456.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8205, allocations: 0 / 456.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002371/0.8229, allocations: 0.6012 MB / 457.5 MB, free: 3.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.006353/0.8293, allocations: 1.264 MB / 458.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.83, allocations: 171.9 kB / 458.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.83, allocations: 0 / 458.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.8303, allocations: 83.91 kB / 459 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8305, allocations: 4 kB / 459 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.8332, allocations: 434.7 kB / 459.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.8336, allocations: 0.7056 MB / 460.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.8339, allocations: 56.14 kB / 460.2 MB, free: 456 kB / 378.7 MB Notification: Performance of SimCode: time 1.133e-06/0.8339, allocations: 0 / 460.2 MB, free: 456 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.493/4.326, allocations: 14.88 MB / 475.1 MB, free: 1.582 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat