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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.825/1.825, allocations: 209.3 MB / 224.8 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 12 kB / 282.6 MB, free: 9.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.08643, allocations: 48.71 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4501, allocations: 72.78 MB / 404.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.4503, allocations: 71.89 kB / 404.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002055/0.4524, allocations: 0.6052 MB / 404.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4524, allocations: 4 kB / 404.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.906e-06/0.4524, allocations: 0 / 404.7 MB, free: 11.59 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.0003098/0.4528, allocations: 325.5 kB / 405.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4528, allocations: 11.97 kB / 405.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.4528, allocations: 0 / 405.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.453, allocations: 167 kB / 405.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.453, allocations: 7.984 kB / 405.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4531, allocations: 0 / 405.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.4532, allocations: 37.69 kB / 405.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4532, allocations: 0 / 405.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-06/0.4532, allocations: 0 / 405.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-06/0.4532, allocations: 0 / 405.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.4533, allocations: 11.98 kB / 405.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.4535, allocations: 153.6 kB / 405.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4536, allocations: 42.55 kB / 405.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.454, allocations: 117.2 kB / 405.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.454, allocations: 34.56 kB / 405.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.063e-06/0.4541, allocations: 0 / 405.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001365/0.4554, allocations: 213.3 kB / 405.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4555, allocations: 55.41 kB / 405.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.4556, allocations: 85 kB / 406 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.4556, allocations: 25.7 kB / 406 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.196e-05/0.4557, allocations: 150.6 kB / 406.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.4558, allocations: 23.73 kB / 406.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.115e-06/0.4558, allocations: 1.859 kB / 406.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4559, allocations: 310.8 kB / 406.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4561, allocations: 28.11 kB / 406.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.4562, allocations: 20.86 kB / 406.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4563, allocations: 23.98 kB / 406.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.166e-06/0.4563, allocations: 0 / 406.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002843/0.4566, allocations: 97.23 kB / 406.6 MB, free: 9.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4566, allocations: 4 kB / 406.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-06/0.4567, allocations: 0 / 406.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4567, allocations: 4 kB / 406.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4568, allocations: 15.98 kB / 406.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.519e-06/0.4569, allocations: 0 / 406.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.457, allocations: 11.98 kB / 406.7 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.457, allocations: 4 kB / 406.7 MB, free: 9.434 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 () * 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.773e-05/0.4571, allocations: 109.8 kB / 406.8 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.4571, allocations: 7.891 kB / 406.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.4575, allocations: 105 kB / 406.9 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4575, allocations: 6.297 kB / 406.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-06/0.4575, allocations: 0 / 406.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4575, allocations: 0 / 406.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.4584, allocations: 367.3 kB / 407.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4584, allocations: 0 / 407.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4585, allocations: 15.98 kB / 407.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-06/0.4586, allocations: 0 / 407.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4586, allocations: 8.031 kB / 407.3 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.403e-06/0.4586, allocations: 0 / 407.3 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-06/0.4586, allocations: 0 / 407.3 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.459, allocations: 202.3 kB / 407.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.459, allocations: 85.09 kB / 407.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4591, allocations: 1.625 kB / 407.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4592, allocations: 7.984 kB / 407.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.4592, allocations: 4 kB / 407.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.4593, allocations: 0 / 407.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.4593, allocations: 83.27 kB / 407.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.64e-07/0.4593, allocations: 4.094 kB / 407.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.4597, allocations: 12 kB / 407.7 MB, free: 8.324 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 () * 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.0001498/0.4598, allocations: 103.2 kB / 407.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.4601, allocations: 59.89 kB / 407.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.71e-06/0.4601, allocations: 0 / 407.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4602, allocations: 27.98 kB / 407.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.4604, allocations: 15.39 kB / 407.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.4609, allocations: 165.8 kB / 408 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4613, allocations: 0.6809 MB / 408.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.4614, allocations: 15.42 kB / 408.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.295e-06/0.4614, allocations: 0 / 408.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of Templates: time 0.002338/0.4637, allocations: 0.6633 MB / 409.4 MB, free: 6.535 MB / 330.7 MB