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.Test01RegFun3.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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 11.98 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 54.86 MB / 369.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4941, allocations: 80.49 MB / 450.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.4945, allocations: 75.97 kB / 450.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04839/0.543, allocations: 8.206 MB / 458.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.543, allocations: 0 / 458.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.543, allocations: 8 kB / 458.6 MB, free: 1.859 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004386/0.5435, allocations: 351.2 kB / 458.9 MB, free: 1.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5436, allocations: 8.031 kB / 458.9 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.5436, allocations: 3.953 kB / 458.9 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5437, allocations: 163 kB / 459.1 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.5438, allocations: 0 / 459.1 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.5438, allocations: 7.938 kB / 459.1 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5439, allocations: 25.7 kB / 459.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5439, allocations: 8 kB / 459.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.544, allocations: 0 / 459.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.544, allocations: 3.984 kB / 459.1 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.544, allocations: 3.953 kB / 459.1 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.5442, allocations: 153.6 kB / 459.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.5443, allocations: 18.52 kB / 459.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.5443, allocations: 4.094 kB / 459.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5443, allocations: 42.55 kB / 459.3 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.5444, allocations: 0 / 459.3 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.5445, allocations: 33.7 kB / 459.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.5446, allocations: 51.41 kB / 459.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.5446, allocations: 93.86 kB / 459.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5447, allocations: 25.7 kB / 459.5 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.5447, allocations: 150.6 kB / 459.7 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.5448, allocations: 4 kB / 459.7 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5448, allocations: 4.25 kB / 459.7 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5449, allocations: 318.8 kB / 460 MB, free: 216 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.545, allocations: 7.938 kB / 460 MB, free: 208 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.545, allocations: 0 / 460 MB, free: 208 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.545, allocations: 0 / 460 MB, free: 208 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.545, allocations: 4 kB / 460 MB, free: 204 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.745e-05/0.5451, allocations: 29.7 kB / 460.1 MB, free: 168 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5452, allocations: 4 kB / 460.1 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.5452, allocations: 4 kB / 460.1 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5452, allocations: 8.031 kB / 460.1 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.5452, allocations: 0 / 460.1 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5452, allocations: 0 / 460.1 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.5453, allocations: 0 / 460.1 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.5453, allocations: 3.984 kB / 460.1 MB, free: 148 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.157e-05/0.5454, allocations: 117.8 kB / 460.2 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.5454, allocations: 3.906 kB / 460.2 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5456, allocations: 44.77 kB / 460.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.5456, allocations: 3.984 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5456, allocations: 0 / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5456, allocations: 3.938 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.5458, allocations: 157.6 kB / 460.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5458, allocations: 0 / 460.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.5458, allocations: 0 / 460.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5458, allocations: 3.984 kB / 460.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5458, allocations: 4 kB / 460.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5458, allocations: 0 / 460.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5459, allocations: 4.031 kB / 460.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.546, allocations: 65.03 kB / 460.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.546, allocations: 77.11 kB / 460.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.546, allocations: 3.984 kB / 460.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.5461, allocations: 4 kB / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.5462, allocations: 0 / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.5462, allocations: 0 / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.5462, allocations: 83.31 kB / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5462, allocations: 0 / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.5467, allocations: 51.92 kB / 460.7 MB, free: 15.43 MB / 394.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004046/0.5471, allocations: 147.2 kB / 460.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.5472, allocations: 33.7 kB / 460.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5472, allocations: 0 / 460.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.5473, allocations: 29.86 kB / 460.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.5474, allocations: 11.94 kB / 460.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.5478, allocations: 112.6 kB / 461 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.548, allocations: 0.677 MB / 461.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.5481, allocations: 7.438 kB / 461.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5481, allocations: 0 / 461.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Templates: time 0.003514/0.5516, allocations: 0.9861 MB / 462.7 MB, free: 13.35 MB / 394.7 MB