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.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.671e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4, allocations: 79.04 MB / 437.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4003, allocations: 59.97 kB / 437.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.4143, allocations: 3.064 MB / 440.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.4144, allocations: 4 kB / 440.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4144, allocations: 0 / 440.2 MB, free: 12.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004183/0.4148, allocations: 370.2 kB / 440.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4149, allocations: 12.03 kB / 440.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.4149, allocations: 4 kB / 440.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4151, allocations: 178.8 kB / 440.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4151, allocations: 4 kB / 440.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.4151, allocations: 4 kB / 440.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/0.4153, allocations: 39.97 kB / 440.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4154, allocations: 57.58 kB / 440.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4154, allocations: 3.984 kB / 440.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4155, allocations: 0 / 440.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-06/0.4155, allocations: 8 kB / 440.9 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.4157, allocations: 142.1 kB / 441 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4159, allocations: 74.55 kB / 441.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.4159, allocations: 28.86 kB / 441.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.4162, allocations: 109.1 kB / 441.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4163, allocations: 38.55 kB / 441.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.4163, allocations: 0 / 441.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2009/0.6173, allocations: 5.079 MB / 446.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.6173, allocations: 55.41 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.6174, allocations: 89 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6175, allocations: 25.7 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.6176, allocations: 150.9 kB / 446.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.6177, allocations: 74.91 kB / 446.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.6177, allocations: 4 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6179, allocations: 310.8 kB / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.6181, allocations: 75.91 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.6183, allocations: 64.8 kB / 447.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.6197, allocations: 192 kB / 447.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6197, allocations: 0 / 447.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001775/0.6215, allocations: 321.3 kB / 447.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6215, allocations: 15.23 kB / 447.7 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-06/0.6215, allocations: 0 / 447.7 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6216, allocations: 0 / 447.7 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.6221, allocations: 99.84 kB / 447.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6221, allocations: 0 / 447.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.6224, allocations: 31.97 kB / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.6225, allocations: 23.97 kB / 447.8 MB, free: 4.777 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 (23): * Single equations (assignments): 23 * 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 0.0001267/0.6226, allocations: 101 kB / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.6227, allocations: 11.89 kB / 447.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.6247, allocations: 405.9 kB / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-06/0.6248, allocations: 0 / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-06/0.6248, allocations: 0 / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-06/0.6248, allocations: 0 / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.6279, allocations: 0.7755 MB / 449.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-06/0.628, allocations: 0 / 449.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.6284, allocations: 87.98 kB / 449.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.364e-06/0.6284, allocations: 0 / 449.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.6285, allocations: 11.98 kB / 449.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.754e-06/0.6285, allocations: 0 / 449.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-06/0.6285, allocations: 11.88 kB / 449.2 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6302, allocations: 428.4 kB / 449.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.6303, allocations: 85 kB / 449.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.6303, allocations: 4 kB / 449.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.6306, allocations: 31.97 kB / 449.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.6307, allocations: 19.94 kB / 449.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.6307, allocations: 19.92 kB / 449.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.6308, allocations: 75.28 kB / 449.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.6308, allocations: 96 / 449.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001903/0.6327, allocations: 0.609 MB / 450.5 MB, free: 2.008 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.003607/0.6363, allocations: 330.7 kB / 450.8 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.6368, allocations: 163.7 kB / 451 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.418e-06/0.6368, allocations: 4 kB / 451 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.637, allocations: 71.92 kB / 451 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6372, allocations: 9.875 kB / 451.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.6382, allocations: 276 kB / 451.3 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.6386, allocations: 0.7014 MB / 452 MB, free: 404 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.6388, allocations: 51.39 kB / 452.1 MB, free: 352 kB / 378.7 MB Notification: Performance of SimCode: time 1.595e-06/0.6388, allocations: 0 / 452.1 MB, free: 352 kB / 378.7 MB Notification: Performance of Templates: time 0.03164/0.6704, allocations: 15.54 MB / 467.6 MB, free: 0.7969 MB / 394.7 MB