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.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.934e-05, allocations: 3.938 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.398, allocations: 78.52 MB / 436.6 MB, free: 320 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3983, allocations: 67.97 kB / 436.6 MB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00355/0.4019, allocations: 0.8943 MB / 437.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.4019, allocations: 0 / 437.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.136e-06/0.4019, allocations: 0 / 437.5 MB, free: 15.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000317/0.4023, allocations: 338.4 kB / 437.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4023, allocations: 12.03 kB / 437.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.4024, allocations: 3.953 kB / 437.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.4025, allocations: 167 kB / 438 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-06/0.4026, allocations: 0 / 438 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4026, allocations: 4 kB / 438 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/0.4027, allocations: 56.11 kB / 438.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4029, allocations: 49.69 kB / 438.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-06/0.4029, allocations: 3.938 kB / 438.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-06/0.4029, allocations: 0 / 438.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-06/0.4029, allocations: 7.953 kB / 438.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.4031, allocations: 142.1 kB / 438.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.4033, allocations: 66.56 kB / 438.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.4034, allocations: 33.08 kB / 438.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.4038, allocations: 247.3 kB / 438.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4038, allocations: 34.56 kB / 438.7 MB, free: 14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.307e-06/0.4038, allocations: 0 / 438.7 MB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000323/0.4041, allocations: 89.55 kB / 438.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.4042, allocations: 51.41 kB / 438.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.4043, allocations: 85 kB / 438.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4043, allocations: 25.7 kB / 438.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.4044, allocations: 150.6 kB / 439 MB, free: 13.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.4045, allocations: 35.45 kB / 439.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-06/0.4045, allocations: 128 / 439.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4046, allocations: 326.8 kB / 439.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.4047, allocations: 15.98 kB / 439.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.4048, allocations: 12 kB / 439.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4049, allocations: 23.98 kB / 439.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4049, allocations: 0 / 439.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002503/0.4052, allocations: 81.61 kB / 439.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4052, allocations: 8 kB / 439.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.163e-06/0.4052, allocations: 0 / 439.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4053, allocations: 0 / 439.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4054, allocations: 16 kB / 439.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4054, allocations: 3.984 kB / 439.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.4055, allocations: 4 kB / 439.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4055, allocations: 0 / 439.6 MB, free: 13.05 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 (10): * Single equations (assignments): 10 * 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.345e-05/0.4056, allocations: 108.9 kB / 439.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.4056, allocations: 7.906 kB / 439.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.4059, allocations: 98.38 kB / 439.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-06/0.406, allocations: 96 / 439.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-06/0.406, allocations: 7.938 kB / 439.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-06/0.406, allocations: 0 / 439.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.4062, allocations: 150.1 kB / 439.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-06/0.4062, allocations: 3.938 kB / 439.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.4063, allocations: 19.98 kB / 439.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-06/0.4063, allocations: 0 / 439.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-06/0.4063, allocations: 0 / 439.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.529e-06/0.4063, allocations: 0 / 439.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4063, allocations: 4 kB / 440 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4066, allocations: 117 kB / 440.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.4067, allocations: 85.06 kB / 440.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4067, allocations: 0 / 440.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.4068, allocations: 3.984 kB / 440.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.4068, allocations: 4 kB / 440.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1e-05/0.4068, allocations: 0 / 440.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.4069, allocations: 79.28 kB / 440.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4069, allocations: 0 / 440.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.4072, allocations: 20.03 kB / 440.3 MB, free: 12.27 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 (10): * Single equations (assignments): 10 * 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.0001843/0.4074, allocations: 119.2 kB / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.4076, allocations: 44 kB / 440.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4076, allocations: 0 / 440.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.4077, allocations: 35.92 kB / 440.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.4078, allocations: 0 / 440.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.4081, allocations: 109.5 kB / 440.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4085, allocations: 0.6928 MB / 441.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.4085, allocations: 11.44 kB / 441.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.671e-06/0.4085, allocations: 0 / 441.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.002673/0.4112, allocations: 0.8222 MB / 442.1 MB, free: 10.38 MB / 378.7 MB