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.TestRegRootDerivative.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.033/2.033, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004525, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2895, allocations: 48.69 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.3988, allocations: 72.8 MB / 404.1 MB, free: 5.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.399, allocations: 63.97 kB / 404.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001648/0.4007, allocations: 0.5626 MB / 404.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.819e-06/0.4007, allocations: 0 / 404.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.611e-06/0.4007, allocations: 8 kB / 404.7 MB, free: 5.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00036/0.4011, allocations: 330.8 kB / 405 MB, free: 4.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4012, allocations: 8.031 kB / 405 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.4012, allocations: 6.125 kB / 405 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4014, allocations: 159.1 kB / 405.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4014, allocations: 7.953 kB / 405.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4014, allocations: 0 / 405.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4016, allocations: 55.41 kB / 405.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.721e-06/0.4016, allocations: 0 / 405.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-06/0.4016, allocations: 0 / 405.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-06/0.4016, allocations: 3.938 kB / 405.3 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.4017, allocations: 19.92 kB / 405.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.4021, allocations: 321.1 kB / 405.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.4022, allocations: 22.58 kB / 405.6 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.4022, allocations: 4 kB / 405.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4022, allocations: 42.58 kB / 405.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.384e-06/0.4022, allocations: 0 / 405.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002223/0.4025, allocations: 57.59 kB / 405.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4025, allocations: 51.41 kB / 405.8 MB, free: 3.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.4026, allocations: 85 kB / 405.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4026, allocations: 25.7 kB / 405.9 MB, free: 3.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.4028, allocations: 158.7 kB / 406 MB, free: 3.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.4028, allocations: 19.69 kB / 406.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-06/0.4028, allocations: 0 / 406.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.403, allocations: 314.8 kB / 406.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.403, allocations: 8 kB / 406.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.4031, allocations: 17.72 kB / 406.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.4031, allocations: 15.89 kB / 406.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-06/0.4031, allocations: 4 kB / 406.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001352/0.4033, allocations: 49.69 kB / 406.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4033, allocations: 8.766 kB / 406.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-06/0.4033, allocations: 4 kB / 406.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4034, allocations: 0 / 406.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.4035, allocations: 15.94 kB / 406.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.353e-06/0.4035, allocations: 0 / 406.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.4035, allocations: 0 / 406.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4035, allocations: 4 kB / 406.5 MB, free: 3.023 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0001033/0.4037, allocations: 113.8 kB / 406.6 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.4037, allocations: 3.906 kB / 406.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.4039, allocations: 69.3 kB / 406.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-06/0.4039, allocations: 0 / 406.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-06/0.4039, allocations: 0 / 406.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-06/0.4039, allocations: 0 / 406.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.4041, allocations: 161.7 kB / 406.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4042, allocations: 7.891 kB / 406.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.4042, allocations: 4 kB / 406.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.622e-06/0.4042, allocations: 4.234 kB / 406.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.4043, allocations: 4 kB / 406.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-06/0.4043, allocations: 0 / 406.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.656e-06/0.4043, allocations: 0 / 406.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.4045, allocations: 151.5 kB / 407 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.4045, allocations: 85.06 kB / 407.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.4046, allocations: 3.938 kB / 407.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.4047, allocations: 0 / 407.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.4047, allocations: 3.984 kB / 407.1 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-06/0.4047, allocations: 8 kB / 407.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.141e-05/0.4048, allocations: 79.28 kB / 407.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.153e-06/0.4048, allocations: 3.938 kB / 407.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.4051, allocations: 11.94 kB / 407.2 MB, free: 2.223 MB / 330.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 () * Number of clocked 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.0001384/0.4053, allocations: 99.25 kB / 407.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.4054, allocations: 27.98 kB / 407.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.308e-06/0.4054, allocations: 0 / 407.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.4055, allocations: 20.09 kB / 407.3 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.4057, allocations: 4 kB / 407.3 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.406, allocations: 140.8 kB / 407.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4064, allocations: 0.6809 MB / 408.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.4064, allocations: 7.438 kB / 408.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.39e-06/0.4064, allocations: 0 / 408.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of Templates: time 0.002203/0.4086, allocations: 0.5605 MB / 408.7 MB, free: 0.6211 MB / 330.7 MB