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.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.39e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3613, allocations: 54.84 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.5875, allocations: 78.95 MB / 437.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.5879, allocations: 67.95 kB / 437.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02009/0.608, allocations: 2.939 MB / 440.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6081, allocations: 0 / 440.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.6081, allocations: 0 / 440.1 MB, free: 12.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004953/0.6086, allocations: 374.3 kB / 440.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6087, allocations: 8.031 kB / 440.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.6087, allocations: 7.906 kB / 440.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.6089, allocations: 159.1 kB / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6089, allocations: 4 kB / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.609, allocations: 0 / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.6091, allocations: 31.92 kB / 440.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.6092, allocations: 49.64 kB / 440.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6093, allocations: 4 kB / 440.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6093, allocations: 4 kB / 440.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6093, allocations: 0 / 440.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.6095, allocations: 142.2 kB / 440.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.6098, allocations: 54.59 kB / 440.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.6099, allocations: 20.86 kB / 440.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.6103, allocations: 117.1 kB / 441 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6103, allocations: 36.73 kB / 441.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.6103, allocations: 0 / 441.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.2335/0.8439, allocations: 5.331 MB / 446.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.844, allocations: 51.41 kB / 446.4 MB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.8441, allocations: 96.94 kB / 446.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.8442, allocations: 25.7 kB / 446.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.8442, allocations: 158.6 kB / 446.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.8444, allocations: 55.02 kB / 446.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.8444, allocations: 0 / 446.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8446, allocations: 330.8 kB / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.845, allocations: 164.2 kB / 447.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.8454, allocations: 168 kB / 447.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.8474, allocations: 268.4 kB / 447.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8474, allocations: 0 / 447.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002538/0.8499, allocations: 0.5109 MB / 448.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.85, allocations: 8 kB / 448.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.85, allocations: 0 / 448.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.8501, allocations: 0 / 448.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/0.851, allocations: 103.8 kB / 448.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.851, allocations: 4 kB / 448.3 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.8516, allocations: 23.97 kB / 448.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.8517, allocations: 23.97 kB / 448.4 MB, free: 4.281 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 (19): * Single equations (assignments): 19 * 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.0001725/0.8519, allocations: 101 kB / 448.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002639/0.8545, allocations: 0.5196 MB / 449 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.8546, allocations: 7.906 kB / 449 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.8576, allocations: 0.6073 MB / 449.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8576, allocations: 0 / 449.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.8577, allocations: 3.984 kB / 449.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8577, allocations: 0 / 449.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.8628, allocations: 1.001 MB / 450.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8628, allocations: 0 / 450.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/0.8636, allocations: 88.09 kB / 450.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.8636, allocations: 7.938 kB / 450.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.8637, allocations: 19.97 kB / 450.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.8637, allocations: 4.25 kB / 450.7 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.8637, allocations: 4 kB / 450.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.8661, allocations: 0.5768 MB / 451.3 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.8662, allocations: 85.02 kB / 451.4 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.8663, allocations: 3.953 kB / 451.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.8668, allocations: 27.97 kB / 451.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.8669, allocations: 11.98 kB / 451.4 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.8669, allocations: 27.97 kB / 451.4 MB, free: 1.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.867, allocations: 79.28 kB / 451.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.867, allocations: 0 / 451.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002408/0.8694, allocations: 0.6247 MB / 452.1 MB, free: 312 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.007517/0.877, allocations: 1.751 MB / 453.9 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009846/0.878, allocations: 315.9 kB / 454.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8781, allocations: 3.938 kB / 454.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.8785, allocations: 131.9 kB / 454.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.8788, allocations: 3.984 kB / 454.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.8831, allocations: 0.5473 MB / 454.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.8835, allocations: 0.7004 MB / 455.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.884, allocations: 79.28 kB / 455.7 MB, free: 12.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.884, allocations: 0 / 455.7 MB, free: 12.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.761/4.645, allocations: 17.24 MB / 472.9 MB, free: 93.28 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat