Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.953e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3745, allocations: 72.02 MB / 392 MB, free: 8.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.3748, allocations: 67.95 kB / 392.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002166/0.377, allocations: 0.6177 MB / 392.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.377, allocations: 0 / 392.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.424e-06/0.377, allocations: 0 / 392.7 MB, free: 7.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002977/0.3774, allocations: 314.6 kB / 393 MB, free: 7.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3774, allocations: 8.031 kB / 393 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.3774, allocations: 4 kB / 393 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3776, allocations: 167 kB / 393.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3776, allocations: 7.938 kB / 393.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3777, allocations: 0 / 393.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.397e-05/0.3777, allocations: 11.88 kB / 393.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.3778, allocations: 29.7 kB / 393.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3778, allocations: 4 kB / 393.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-06/0.3779, allocations: 3.938 kB / 393.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-06/0.3779, allocations: 0 / 393.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.378, allocations: 130.2 kB / 393.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3782, allocations: 38.58 kB / 393.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.3783, allocations: 16.97 kB / 393.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.3786, allocations: 117 kB / 393.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3787, allocations: 46.5 kB / 393.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.125e-06/0.3787, allocations: 0 / 393.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001286/0.38, allocations: 169.4 kB / 393.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3801, allocations: 51.41 kB / 393.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.3802, allocations: 89 kB / 393.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3802, allocations: 25.7 kB / 393.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3803, allocations: 150.6 kB / 394.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3803, allocations: 11.81 kB / 394.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.3803, allocations: 128 / 394.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3805, allocations: 322.8 kB / 394.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.3806, allocations: 11.98 kB / 394.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.3806, allocations: 8 kB / 394.4 MB, free: 5.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.957e-05/0.3807, allocations: 15.98 kB / 394.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-06/0.3807, allocations: 0 / 394.4 MB, free: 5.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.3809, allocations: 61.67 kB / 394.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.381, allocations: 8.734 kB / 394.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.849e-06/0.381, allocations: 0 / 394.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.381, allocations: 0 / 394.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3812, allocations: 19.98 kB / 394.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.574e-06/0.3812, allocations: 4 kB / 394.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3813, allocations: 7.984 kB / 394.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3814, allocations: 0 / 394.5 MB, free: 5.711 MB / 330.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 (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.951e-05/0.3815, allocations: 112.9 kB / 394.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.3815, allocations: 0 / 394.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3818, allocations: 81.8 kB / 394.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-06/0.3818, allocations: 0 / 394.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.088e-06/0.3818, allocations: 0 / 394.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-06/0.3818, allocations: 7.938 kB / 394.7 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.3826, allocations: 315.8 kB / 395 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-06/0.3826, allocations: 4 kB / 395 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3827, allocations: 19.94 kB / 395.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3827, allocations: 0 / 395.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3828, allocations: 320 / 395.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-06/0.3828, allocations: 0 / 395.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.716e-06/0.3828, allocations: 8 kB / 395.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3831, allocations: 182 kB / 395.2 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.3831, allocations: 81.05 kB / 395.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.3832, allocations: 4 kB / 395.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3833, allocations: 7.984 kB / 395.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3834, allocations: 4 kB / 395.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-06/0.3834, allocations: 0 / 395.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.3835, allocations: 83.27 kB / 395.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.3835, allocations: 0 / 395.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.3838, allocations: 8 kB / 395.4 MB, free: 4.707 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000167/0.384, allocations: 103.2 kB / 395.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3841, allocations: 27.94 kB / 395.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.879e-06/0.3841, allocations: 0 / 395.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.3842, allocations: 15.98 kB / 395.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.3844, allocations: 14.97 kB / 395.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.3848, allocations: 119.8 kB / 395.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3852, allocations: 0.6806 MB / 396.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.3852, allocations: 11.44 kB / 396.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of SimCode: time 4.929e-06/0.3853, allocations: 0 / 396.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Templates: time 0.002395/0.3877, allocations: 0.6618 MB / 397.1 MB, free: 3.016 MB / 330.7 MB