Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.4 MB / 217.3 MB, free: 4.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.746e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3848, allocations: 72.56 MB / 392.6 MB, free: 7.902 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3851, allocations: 63.97 kB / 392.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.3985, allocations: 2.917 MB / 395.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.105e-06/0.3985, allocations: 0 / 395.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.251e-06/0.3986, allocations: 4 kB / 395.6 MB, free: 4.914 MB / 330.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.0004185/0.399, allocations: 366.3 kB / 395.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.399, allocations: 8.031 kB / 395.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3991, allocations: 7.906 kB / 395.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3993, allocations: 175 kB / 396.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-06/0.3993, allocations: 0 / 396.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3993, allocations: 4 kB / 396.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.664e-05/0.3994, allocations: 24 kB / 396.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3995, allocations: 45.69 kB / 396.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3996, allocations: 3.938 kB / 396.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-06/0.3996, allocations: 0 / 396.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-06/0.3996, allocations: 7.984 kB / 396.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.3998, allocations: 154 kB / 396.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.4, allocations: 50.56 kB / 396.4 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.4001, allocations: 20.86 kB / 396.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.4004, allocations: 121.1 kB / 396.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4004, allocations: 30.56 kB / 396.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.249e-06/0.4005, allocations: 0 / 396.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.1289/0.5293, allocations: 5.34 MB / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5294, allocations: 55.39 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.5295, allocations: 93 kB / 402 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.5296, allocations: 25.7 kB / 402.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.5297, allocations: 154.6 kB / 402.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/0.5298, allocations: 55.11 kB / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.5298, allocations: 0 / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.53, allocations: 318.8 kB / 402.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.5304, allocations: 175.9 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.5307, allocations: 167.9 kB / 402.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.5322, allocations: 263.8 kB / 403.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-06/0.5322, allocations: 0 / 403.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002045/0.5343, allocations: 0.5149 MB / 403.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5343, allocations: 4 kB / 403.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5343, allocations: 3.984 kB / 403.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5344, allocations: 0 / 403.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.535, allocations: 99.84 kB / 403.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5351, allocations: 0 / 403.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.5354, allocations: 23.97 kB / 403.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.5355, allocations: 19.97 kB / 403.8 MB, free: 12.39 MB / 346.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.0001587/0.5357, allocations: 112.9 kB / 403.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.5358, allocations: 11.84 kB / 404 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.5382, allocations: 0.6115 MB / 404.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-06/0.5382, allocations: 4 kB / 404.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5383, allocations: 0 / 404.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-06/0.5383, allocations: 0 / 404.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.542, allocations: 0.9836 MB / 405.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.118e-06/0.5421, allocations: 4 kB / 405.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.5426, allocations: 88.09 kB / 405.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-06/0.5427, allocations: 192 / 405.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.5427, allocations: 19.97 kB / 405.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.369e-06/0.5428, allocations: 11.88 kB / 405.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5428, allocations: 3.953 kB / 405.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.5447, allocations: 0.5712 MB / 406.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.5447, allocations: 88.95 kB / 406.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.5448, allocations: 4 kB / 406.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.5452, allocations: 23.97 kB / 406.4 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5453, allocations: 15.94 kB / 406.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.5453, allocations: 31.91 kB / 406.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.5454, allocations: 79.28 kB / 406.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.5454, allocations: 0 / 406.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001949/0.5474, allocations: 0.6208 MB / 407.1 MB, free: 8.953 MB / 346.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.003618/0.551, allocations: 334.6 kB / 407.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007824/0.5518, allocations: 315.8 kB / 407.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.51e-06/0.5518, allocations: 0 / 407.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.5521, allocations: 135.9 kB / 407.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.5524, allocations: 4 kB / 407.9 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.5543, allocations: 439.4 kB / 408.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5547, allocations: 0.6926 MB / 409 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.555, allocations: 71.34 kB / 409.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.555, allocations: 0 / 409.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of Templates: time 0.03214/0.5872, allocations: 16.94 MB / 426 MB, free: 5.93 MB / 362.7 MB