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.TestRegRoot2ZeroDerivative.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.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.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.3 MB / 224.9 MB, free: 184 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3352, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4441, allocations: 73.42 MB / 404.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4444, allocations: 71.89 kB / 404.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.4586, allocations: 3.085 MB / 407.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.237e-06/0.4586, allocations: 0 / 407.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.075e-06/0.4587, allocations: 0 / 407.8 MB, free: 1.859 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004418/0.4591, allocations: 363.3 kB / 408.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4592, allocations: 8.031 kB / 408.2 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.4592, allocations: 7.906 kB / 408.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4594, allocations: 174.9 kB / 408.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.4594, allocations: 4 kB / 408.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.4595, allocations: 15.98 kB / 408.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4596, allocations: 61.67 kB / 408.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4597, allocations: 0 / 408.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4597, allocations: 7.938 kB / 408.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-06/0.4597, allocations: 4 kB / 408.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4598, allocations: 39.95 kB / 408.5 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.4601, allocations: 177.5 kB / 408.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4603, allocations: 94.42 kB / 408.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.4605, allocations: 105.1 kB / 408.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4606, allocations: 40.62 kB / 408.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.237e-06/0.4606, allocations: 0 / 408.9 MB, free: 0.6016 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1254/0.586, allocations: 5.516 MB / 414.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.5861, allocations: 59.36 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.5862, allocations: 85 kB / 414.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.522e-05/0.5863, allocations: 29.7 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.5864, allocations: 159 kB / 414.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5865, allocations: 74.91 kB / 414.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.5865, allocations: 4 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5867, allocations: 318.8 kB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.5872, allocations: 135.9 kB / 415.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.5877, allocations: 139.8 kB / 415.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.5887, allocations: 187 kB / 415.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-06/0.5888, allocations: 0 / 415.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0017/0.5905, allocations: 397.2 kB / 416 MB, free: 9.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5905, allocations: 4 kB / 416 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5905, allocations: 3.984 kB / 416 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5906, allocations: 7.938 kB / 416 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.5911, allocations: 91.86 kB / 416.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.21e-06/0.5911, allocations: 0 / 416.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.5914, allocations: 43.92 kB / 416.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.5915, allocations: 23.97 kB / 416.2 MB, free: 9.277 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 () * Number of clocked 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.0001515/0.5916, allocations: 117.8 kB / 416.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.5917, allocations: 7.906 kB / 416.3 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.5938, allocations: 481.7 kB / 416.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5939, allocations: 4 kB / 416.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.318e-06/0.5939, allocations: 0 / 416.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5939, allocations: 0 / 416.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.5971, allocations: 0.8733 MB / 417.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.5971, allocations: 0 / 417.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.5976, allocations: 91.92 kB / 417.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-06/0.5976, allocations: 0 / 417.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.5976, allocations: 15.98 kB / 417.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.086e-06/0.5977, allocations: 0 / 417.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-06/0.5977, allocations: 4 kB / 417.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5994, allocations: 0.4911 MB / 418.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.5995, allocations: 88.95 kB / 418.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.5995, allocations: 4 kB / 418.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.5998, allocations: 39.97 kB / 418.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.5998, allocations: 15.97 kB / 418.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.5999, allocations: 12 kB / 418.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.5999, allocations: 87.22 kB / 418.5 MB, free: 6.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.6, allocations: 8.031 kB / 418.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001969/0.6019, allocations: 0.6012 MB / 419.1 MB, free: 6.23 MB / 346.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 () * Number of clocked 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.003689/0.6057, allocations: 346.6 kB / 419.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.6068, allocations: 303.7 kB / 419.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.6069, allocations: 4 kB / 419.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.6074, allocations: 159.9 kB / 419.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.6076, allocations: 7.922 kB / 419.9 MB, free: 5.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.6089, allocations: 427.4 kB / 420.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.6093, allocations: 0.6978 MB / 421 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.6095, allocations: 47.39 kB / 421.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.018e-06/0.6095, allocations: 0 / 421.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of Templates: time 0.02922/0.6387, allocations: 14.97 MB / 436 MB, free: 5.234 MB / 362.7 MB