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.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.733e-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.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4022, allocations: 78.95 MB / 437 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4025, allocations: 67.91 kB / 437 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.4161, allocations: 2.927 MB / 440 MB, free: 12.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.618e-06/0.4162, allocations: 0 / 440 MB, free: 12.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.546e-06/0.4162, allocations: 0 / 440 MB, free: 12.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00048/0.4167, allocations: 366.3 kB / 440.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4167, allocations: 8.031 kB / 440.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.4168, allocations: 4 kB / 440.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.417, allocations: 174.9 kB / 440.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.417, allocations: 0 / 440.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.417, allocations: 4 kB / 440.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001104/0.4171, allocations: 23.98 kB / 440.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.4173, allocations: 49.64 kB / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4173, allocations: 3.938 kB / 440.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4173, allocations: 4 kB / 440.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-06/0.4173, allocations: 0 / 440.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.4175, allocations: 146.2 kB / 440.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.4178, allocations: 54.56 kB / 440.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.4179, allocations: 20.86 kB / 440.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.4182, allocations: 117.1 kB / 440.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4183, allocations: 30.56 kB / 441 MB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.87e-06/0.4183, allocations: 0 / 441 MB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.1275/0.5458, allocations: 5.332 MB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.5459, allocations: 51.41 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.546, allocations: 101 kB / 446.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.5461, allocations: 25.7 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.5462, allocations: 150.8 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5463, allocations: 67 kB / 446.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5463, allocations: 3.938 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5465, allocations: 318.8 kB / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.5469, allocations: 164 kB / 447.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.5473, allocations: 170.6 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.5488, allocations: 267.8 kB / 447.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.5488, allocations: 0 / 447.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002125/0.5509, allocations: 0.5238 MB / 448.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.551, allocations: 4 kB / 448.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.551, allocations: 0 / 448.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.551, allocations: 0 / 448.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.5517, allocations: 103.8 kB / 448.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.183e-06/0.5517, allocations: 256 / 448.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.5521, allocations: 19.98 kB / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.5522, allocations: 27.97 kB / 448.3 MB, free: 4.363 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 (19): * Single equations (assignments): 19 * 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.0001614/0.5524, allocations: 112.9 kB / 448.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.5524, allocations: 8 kB / 448.4 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.555, allocations: 0.5994 MB / 449 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.405e-06/0.555, allocations: 4 kB / 449 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-06/0.555, allocations: 0 / 449 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.711e-06/0.555, allocations: 3.984 kB / 449 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.559, allocations: 0.9859 MB / 450 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.776e-06/0.5591, allocations: 4 kB / 450 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.5596, allocations: 88.09 kB / 450.1 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-06/0.5597, allocations: 3.938 kB / 450.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.5597, allocations: 19.97 kB / 450.1 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-06/0.5597, allocations: 4 kB / 450.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-06/0.5598, allocations: 4 kB / 450.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.5618, allocations: 0.5688 MB / 450.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.5619, allocations: 89 kB / 450.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.562, allocations: 7.953 kB / 450.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.5624, allocations: 19.98 kB / 450.8 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.5624, allocations: 23.98 kB / 450.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.5625, allocations: 23.97 kB / 450.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.5626, allocations: 75.28 kB / 450.9 MB, free: 1.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.5626, allocations: 4 kB / 450.9 MB, free: 1.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002007/0.5646, allocations: 0.6169 MB / 451.5 MB, free: 0.9258 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003919/0.5686, allocations: 334.5 kB / 451.8 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.5694, allocations: 326.9 kB / 452.2 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5695, allocations: 0 / 452.2 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.5698, allocations: 143.9 kB / 452.3 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5701, allocations: 7.875 kB / 452.3 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.572, allocations: 423.5 kB / 452.7 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.5725, allocations: 0.6965 MB / 453.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.5728, allocations: 67.36 kB / 453.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.72e-06/0.5728, allocations: 0 / 453.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Templates: time 0.2706/0.8435, allocations: 16.93 MB / 470.4 MB, free: 92.77 MB / 394.7 MB