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.TestRegStep.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.218e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.407, allocations: 78.42 MB / 436.4 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.4074, allocations: 59.97 kB / 436.5 MB, free: 364 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003395/0.4108, allocations: 0.6254 MB / 437.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.943e-06/0.4109, allocations: 0 / 437.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4109, allocations: 0 / 437.1 MB, free: 15.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003686/0.4113, allocations: 311.2 kB / 437.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4114, allocations: 8.031 kB / 437.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.4114, allocations: 11.86 kB / 437.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4116, allocations: 163 kB / 437.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4116, allocations: 0 / 437.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4116, allocations: 4 kB / 437.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.049e-05/0.4117, allocations: 8 kB / 437.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.4118, allocations: 37.67 kB / 437.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4118, allocations: 3.938 kB / 437.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-06/0.4118, allocations: 0 / 437.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-06/0.4118, allocations: 7.953 kB / 437.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.412, allocations: 126.2 kB / 437.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4122, allocations: 34.55 kB / 437.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.4122, allocations: 16.86 kB / 437.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.4126, allocations: 117.2 kB / 438 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4126, allocations: 30.56 kB / 438 MB, free: 14.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.137e-06/0.4127, allocations: 8 kB / 438 MB, free: 14.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001252/0.4139, allocations: 169.4 kB / 438.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.414, allocations: 55.41 kB / 438.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.4141, allocations: 85 kB / 438.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4141, allocations: 25.7 kB / 438.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.4142, allocations: 154.6 kB / 438.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.4142, allocations: 11.8 kB / 438.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-06/0.4142, allocations: 0 / 438.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4144, allocations: 318.8 kB / 438.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.4144, allocations: 12.12 kB / 438.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.4145, allocations: 12.06 kB / 438.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.4146, allocations: 15.98 kB / 438.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4146, allocations: 0 / 438.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.4148, allocations: 69.61 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4148, allocations: 4 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-06/0.4148, allocations: 0 / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4149, allocations: 0 / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.415, allocations: 15.98 kB / 438.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.421e-06/0.4151, allocations: 0 / 438.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4152, allocations: 15.98 kB / 438.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4152, allocations: 0 / 438.9 MB, free: 13.7 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 (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 8.964e-05/0.4153, allocations: 108.9 kB / 439 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.4153, allocations: 4 kB / 439.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4156, allocations: 77.72 kB / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-06/0.4156, allocations: 4 kB / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.21e-06/0.4156, allocations: 0 / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-06/0.4156, allocations: 0 / 439.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.4163, allocations: 323.8 kB / 439.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.874e-06/0.4164, allocations: 0 / 439.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4165, allocations: 27.95 kB / 439.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.363e-06/0.4165, allocations: 0 / 439.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4166, allocations: 3.938 kB / 439.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4166, allocations: 0 / 439.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.108e-06/0.4166, allocations: 0 / 439.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4169, allocations: 178.4 kB / 439.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.4169, allocations: 85.11 kB / 439.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.417, allocations: 0 / 439.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4171, allocations: 8 kB / 439.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.4171, allocations: 3.984 kB / 439.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.4172, allocations: 11.95 kB / 439.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.4172, allocations: 79.22 kB / 439.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4172, allocations: 0 / 439.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.4176, allocations: 8 kB / 439.8 MB, free: 12.69 MB / 378.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.0001493/0.4177, allocations: 103.5 kB / 439.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4178, allocations: 27.98 kB / 440 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.589e-06/0.4179, allocations: 0 / 440 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.4179, allocations: 15.94 kB / 440 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.4181, allocations: 4 kB / 440 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.4185, allocations: 110.6 kB / 440.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4189, allocations: 0.6807 MB / 440.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.4189, allocations: 15.42 kB / 440.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.429e-06/0.4189, allocations: 0 / 440.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of Templates: time 0.002296/0.4213, allocations: 0.6662 MB / 441.5 MB, free: 11.01 MB / 378.7 MB