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/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.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.488/2.488, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.388e-05, allocations: 0 / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4431, allocations: 79.08 MB / 443.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4433, allocations: 64.47 kB / 443.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002186/0.4455, allocations: 0.6238 MB / 444.3 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.278e-06/0.4456, allocations: 0 / 444.3 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.721e-06/0.4456, allocations: 0 / 444.3 MB, free: 0.7266 MB / 362.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.0002948/0.4459, allocations: 314.6 kB / 444.6 MB, free: 388 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.446, allocations: 8.875 kB / 444.6 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.446, allocations: 3.953 kB / 444.6 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4462, allocations: 170.9 kB / 444.8 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4462, allocations: 4 kB / 444.8 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4462, allocations: 0 / 444.8 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.4463, allocations: 41.2 kB / 444.8 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4463, allocations: 2.438 kB / 444.8 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-06/0.4464, allocations: 0 / 444.8 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-06/0.4464, allocations: 0 / 444.8 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.4464, allocations: 12.61 kB / 444.8 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.4466, allocations: 149.7 kB / 445 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4469, allocations: 42.55 kB / 445 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.4469, allocations: 12.86 kB / 445 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.4473, allocations: 117.2 kB / 445.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4473, allocations: 30.56 kB / 445.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.129e-06/0.4474, allocations: 0 / 445.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001238/0.4486, allocations: 166.4 kB / 445.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.4487, allocations: 59.36 kB / 445.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.4488, allocations: 85 kB / 445.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4488, allocations: 33.7 kB / 445.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.4489, allocations: 150.6 kB / 445.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.449, allocations: 11.8 kB / 445.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-06/0.449, allocations: 0 / 445.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4491, allocations: 318.8 kB / 446 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.4492, allocations: 4.125 kB / 446 MB, free: 14.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.4492, allocations: 16 kB / 446 MB, free: 14.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.4493, allocations: 11.98 kB / 446 MB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-06/0.4493, allocations: 1.5 kB / 446 MB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001537/0.4495, allocations: 61.62 kB / 446.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4495, allocations: 9.875 kB / 446.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-06/0.4495, allocations: 0 / 446.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4496, allocations: 0 / 446.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4497, allocations: 17.48 kB / 446.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.246e-06/0.4498, allocations: 0 / 446.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4499, allocations: 11.95 kB / 446.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.4499, allocations: 7.984 kB / 446.1 MB, free: 14.68 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 9.318e-05/0.45, allocations: 104.9 kB / 446.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.45, allocations: 3.281 kB / 446.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.4503, allocations: 73.17 kB / 446.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4503, allocations: 4 kB / 446.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4503, allocations: 4.562 kB / 446.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4503, allocations: 144 / 446.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.4511, allocations: 339.2 kB / 446.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.257e-06/0.4511, allocations: 7.938 kB / 446.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.4512, allocations: 23.77 kB / 446.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.714e-06/0.4513, allocations: 0 / 446.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4513, allocations: 4 kB / 446.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.842e-06/0.4513, allocations: 0 / 446.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-06/0.4513, allocations: 7.953 kB / 446.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.4515, allocations: 166.1 kB / 446.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.4516, allocations: 85.09 kB / 446.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.4516, allocations: 0 / 446.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4518, allocations: 15.95 kB / 447 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.4518, allocations: 3.984 kB / 447 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4519, allocations: 4 kB / 447 MB, free: 13.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.4519, allocations: 75.28 kB / 447 MB, free: 13.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4519, allocations: 0 / 447 MB, free: 13.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.4523, allocations: 8.094 kB / 447 MB, free: 13.66 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.0001695/0.4525, allocations: 111.2 kB / 447.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.4526, allocations: 31.92 kB / 447.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4526, allocations: 0 / 447.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.4527, allocations: 12 kB / 447.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.4529, allocations: 4 kB / 447.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.4533, allocations: 119.5 kB / 447.3 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4537, allocations: 0.6848 MB / 448 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.4538, allocations: 11.42 kB / 448 MB, free: 12.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4538, allocations: 0 / 448 MB, free: 12.62 MB / 378.7 MB Notification: Performance of Templates: time 0.002335/0.4561, allocations: 0.6643 MB / 448.7 MB, free: 11.96 MB / 378.7 MB