Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.248/2.248, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.868e-05, allocations: 8 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 54.85 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4857, allocations: 80.42 MB / 445 MB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.486, allocations: 70.62 kB / 445 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03933/0.5253, allocations: 8.194 MB / 453.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.5254, allocations: 0 / 453.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.636e-06/0.5254, allocations: 4 kB / 453.2 MB, free: 7.836 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.0003826/0.5258, allocations: 338.5 kB / 453.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5258, allocations: 12.02 kB / 453.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.5259, allocations: 3.953 kB / 453.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.526, allocations: 159.1 kB / 453.7 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.526, allocations: 4 kB / 453.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.5261, allocations: 4 kB / 453.7 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.5262, allocations: 33.64 kB / 453.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.933e-06/0.5262, allocations: 4 kB / 453.8 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5262, allocations: 5.484 kB / 453.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-06/0.5262, allocations: 0 / 453.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.5263, allocations: 7.891 kB / 453.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.5265, allocations: 153.7 kB / 453.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.5265, allocations: 18.61 kB / 453.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.5265, allocations: 4.859 kB / 454 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5266, allocations: 3.938 kB / 454 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5266, allocations: 38.62 kB / 454 MB, free: 6.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.879e-06/0.5266, allocations: 0 / 454 MB, free: 6.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.5268, allocations: 37.69 kB / 454 MB, free: 6.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5268, allocations: 51.41 kB / 454.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.5269, allocations: 92.95 kB / 454.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5269, allocations: 25.7 kB / 454.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.527, allocations: 150.7 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.5271, allocations: 7.938 kB / 454.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.5271, allocations: 0 / 454.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5272, allocations: 311.6 kB / 454.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.5273, allocations: 8 kB / 454.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.5273, allocations: 0 / 454.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.5273, allocations: 7.938 kB / 454.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-06/0.5273, allocations: 0 / 454.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.595e-05/0.5274, allocations: 41.59 kB / 454.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5275, allocations: 8.094 kB / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5275, allocations: 0 / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5275, allocations: 0.8438 kB / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-06/0.5275, allocations: 0 / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.644e-06/0.5275, allocations: 0 / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.5276, allocations: 4 kB / 454.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-06/0.5276, allocations: 3.953 kB / 454.7 MB, free: 6.121 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 (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 7.622e-05/0.5277, allocations: 101 kB / 454.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.5277, allocations: 0 / 454.8 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.5279, allocations: 56.7 kB / 454.9 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-06/0.5279, allocations: 0 / 454.9 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-06/0.5279, allocations: 5.406 kB / 454.9 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-06/0.5279, allocations: 0 / 454.9 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.528, allocations: 149.6 kB / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5281, allocations: 0 / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-06/0.5281, allocations: 4 kB / 455 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5281, allocations: 3.938 kB / 455 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-06/0.5281, allocations: 4.031 kB / 455 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.969e-06/0.5281, allocations: 0 / 455 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-06/0.5281, allocations: 0 / 455 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.5282, allocations: 65.08 kB / 455.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.5283, allocations: 77.11 kB / 455.2 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.5283, allocations: 7.938 kB / 455.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.5284, allocations: 0 / 455.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.5284, allocations: 8.031 kB / 455.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-06/0.5284, allocations: 4 kB / 455.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.5285, allocations: 81.14 kB / 455.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.5285, allocations: 0 / 455.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.5289, allocations: 51.94 kB / 455.3 MB, free: 5.418 MB / 378.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 () * 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.0003443/0.5293, allocations: 151.1 kB / 455.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.5294, allocations: 29.7 kB / 455.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.18e-06/0.5294, allocations: 4.156 kB / 455.5 MB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.5294, allocations: 29.7 kB / 455.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.5296, allocations: 7.953 kB / 455.6 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.5298, allocations: 74.7 kB / 455.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5302, allocations: 0.677 MB / 456.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.5302, allocations: 7.438 kB / 456.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of SimCode: time 1.354e-06/0.5302, allocations: 0 / 456.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of Templates: time 0.002891/0.5331, allocations: 0.9666 MB / 457.3 MB, free: 3.406 MB / 378.7 MB