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/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.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.417/2.417, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.919e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3684, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5167, allocations: 79.04 MB / 437.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.517, allocations: 63.95 kB / 437.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.5326, allocations: 3.08 MB / 440.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5326, allocations: 0 / 440.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5326, allocations: 4 kB / 440.3 MB, free: 12.63 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.0005085/0.5332, allocations: 358.3 kB / 440.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5332, allocations: 8.031 kB / 440.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.5333, allocations: 7.906 kB / 440.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.5334, allocations: 171 kB / 440.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.5335, allocations: 4 kB / 440.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.5335, allocations: 8 kB / 440.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.5337, allocations: 35.97 kB / 440.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5338, allocations: 61.62 kB / 440.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5339, allocations: 0 / 440.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.5339, allocations: 8 kB / 441 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5339, allocations: 0 / 441 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.5341, allocations: 150.1 kB / 441.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.5343, allocations: 80.67 kB / 441.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.5344, allocations: 28.86 kB / 441.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.5348, allocations: 105.1 kB / 441.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5348, allocations: 34.56 kB / 441.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.5348, allocations: 0 / 441.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2376/0.7725, allocations: 5.093 MB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7726, allocations: 55.41 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.7727, allocations: 85 kB / 446.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.7727, allocations: 25.7 kB / 446.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.7728, allocations: 150.9 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.7729, allocations: 71.05 kB / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7729, allocations: 4 kB / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7731, allocations: 318.8 kB / 447.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7733, allocations: 63.98 kB / 447.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.7735, allocations: 72.03 kB / 447.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.7752, allocations: 183.7 kB / 447.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7752, allocations: 0 / 447.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002027/0.7772, allocations: 325.3 kB / 447.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.7773, allocations: 11.95 kB / 447.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7773, allocations: 0 / 447.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7773, allocations: 7.984 kB / 447.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.7781, allocations: 87.91 kB / 447.9 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7781, allocations: 4 kB / 447.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.7785, allocations: 31.97 kB / 447.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.7786, allocations: 15.98 kB / 447.9 MB, free: 4.77 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.0001408/0.7787, allocations: 111 kB / 448 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002047/0.7808, allocations: 333.2 kB / 448.4 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.7809, allocations: 15.86 kB / 448.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.7833, allocations: 398.6 kB / 448.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.7833, allocations: 4 kB / 448.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7833, allocations: 0 / 448.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7833, allocations: 0 / 448.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.7871, allocations: 0.7699 MB / 449.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7872, allocations: 3.984 kB / 449.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.7878, allocations: 87.94 kB / 449.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.7878, allocations: 4 kB / 449.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.7878, allocations: 7.984 kB / 449.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7878, allocations: 4 kB / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.7879, allocations: 7.891 kB / 449.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.7899, allocations: 425.7 kB / 450.1 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.7899, allocations: 89 kB / 450.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.79, allocations: 3.953 kB / 450.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.7904, allocations: 35.97 kB / 450.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.7904, allocations: 11.98 kB / 450.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.7905, allocations: 19.98 kB / 450.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.7905, allocations: 75.28 kB / 450.3 MB, free: 2.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7905, allocations: 0 / 450.3 MB, free: 2.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002251/0.7928, allocations: 0.5973 MB / 450.9 MB, free: 1.676 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.006634/0.7994, allocations: 1.315 MB / 452.2 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.8, allocations: 159.8 kB / 452.4 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.8, allocations: 4 kB / 452.4 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.8002, allocations: 87.84 kB / 452.4 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.8005, allocations: 3.984 kB / 452.5 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.8028, allocations: 407.2 kB / 452.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8031, allocations: 0.7014 MB / 453.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.8034, allocations: 67.33 kB / 453.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of SimCode: time 2.675e-06/0.8034, allocations: 0 / 453.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.484/4.287, allocations: 15.85 MB / 469.5 MB, free: 103.2 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