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.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4339, allocations: 48.69 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5639, allocations: 72.8 MB / 404.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5642, allocations: 63.95 kB / 404.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001934/0.5661, allocations: 0.5591 MB / 404.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5662, allocations: 0 / 404.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5662, allocations: 0 / 404.8 MB, free: 4.867 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003817/0.5666, allocations: 343.2 kB / 405.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5666, allocations: 8.031 kB / 405.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.5667, allocations: 30.56 kB / 405.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.5667, allocations: 0 / 405.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5669, allocations: 171 kB / 405.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.5669, allocations: 0 / 405.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5669, allocations: 4 kB / 405.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5671, allocations: 59.39 kB / 405.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5671, allocations: 0 / 405.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5671, allocations: 0 / 405.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5671, allocations: 4 kB / 405.4 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.5672, allocations: 11.94 kB / 405.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.5676, allocations: 325 kB / 405.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.5677, allocations: 26.56 kB / 405.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.5677, allocations: 4 kB / 405.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5677, allocations: 34.56 kB / 405.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.5678, allocations: 3.938 kB / 405.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002414/0.568, allocations: 53.78 kB / 405.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5681, allocations: 53.27 kB / 405.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.5681, allocations: 89 kB / 406 MB, free: 3.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5682, allocations: 29.7 kB / 406 MB, free: 3.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.5683, allocations: 154.7 kB / 406.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.5683, allocations: 15.73 kB / 406.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.5683, allocations: 0 / 406.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5685, allocations: 322.8 kB / 406.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.311e-05/0.5685, allocations: 4 kB / 406.5 MB, free: 2.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.5686, allocations: 25.7 kB / 406.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.5686, allocations: 7.938 kB / 406.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5686, allocations: 4 kB / 406.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000143/0.5688, allocations: 53.69 kB / 406.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5688, allocations: 8 kB / 406.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5688, allocations: 0 / 406.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5689, allocations: 0 / 406.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.569, allocations: 11.94 kB / 406.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.569, allocations: 0 / 406.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.569, allocations: 6.125 kB / 406.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5691, allocations: 8.219 kB / 406.6 MB, free: 2.812 MB / 330.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 () * 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.799e-05/0.5692, allocations: 117.8 kB / 406.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.5692, allocations: 3.906 kB / 406.7 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.5694, allocations: 61.17 kB / 406.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5694, allocations: 0 / 406.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5694, allocations: 0 / 406.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5694, allocations: 4 kB / 406.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5697, allocations: 161.6 kB / 407 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5697, allocations: 0 / 407 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.5698, allocations: 11.94 kB / 407 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5698, allocations: 3.984 kB / 407 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5698, allocations: 4 kB / 407 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5698, allocations: 0 / 407 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5698, allocations: 0 / 407 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.57, allocations: 143.5 kB / 407.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.5701, allocations: 88.97 kB / 407.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5701, allocations: 4 kB / 407.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.5702, allocations: 256 / 407.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.5702, allocations: 7.938 kB / 407.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.5702, allocations: 8 kB / 407.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.5703, allocations: 79.27 kB / 407.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5703, allocations: 0 / 407.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.5706, allocations: 8 kB / 407.3 MB, free: 2.02 MB / 330.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 () * 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.0005303/0.5711, allocations: 0.6891 MB / 408 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.5713, allocations: 27.94 kB / 408 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5713, allocations: 0 / 408 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.5714, allocations: 11.98 kB / 408 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.5716, allocations: 4 kB / 408 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.5721, allocations: 166.5 kB / 408.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5724, allocations: 0.6809 MB / 408.9 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.5724, allocations: 15.48 kB / 408.9 MB, free: 336 kB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5725, allocations: 0 / 408.9 MB, free: 336 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.201, allocations: 0.7476 MB / 409.6 MB, free: 15.58 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat