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.835/1.835, allocations: 209.3 MB / 224.8 MB, free: 1.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004292, allocations: 12 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.0864, allocations: 48.71 MB / 331.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006169/0.08706, allocations: 260.5 kB / 331.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.08787, allocations: 368.6 kB / 331.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.08791, allocations: 3.938 kB / 331.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-06/0.08794, allocations: 0 / 331.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.394e-05/0.08797, allocations: 0 / 331.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.08841, allocations: 103.8 kB / 331.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.08849, allocations: 19.92 kB / 331.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.08855, allocations: 3.984 kB / 331.9 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.08859, allocations: 8 kB / 331.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.08865, allocations: 23.91 kB / 332 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.08868, allocations: 0 / 332 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.08897, allocations: 135.8 kB / 332.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.089, allocations: 15.92 kB / 332.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.08904, allocations: 29.7 kB / 332.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.08922, allocations: 71.89 kB / 332.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.48e-06/0.08923, allocations: 0 / 332.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.761e-06/0.08925, allocations: 4 kB / 332.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.295e-06/0.08926, allocations: 0 / 332.2 MB, free: 7.941 MB / 282.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.0004255/0.08969, allocations: 351.6 kB / 332.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.08974, allocations: 12.03 kB / 332.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.08979, allocations: 3.906 kB / 332.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.08995, allocations: 171 kB / 332.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.08998, allocations: 0 / 332.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.09002, allocations: 8 kB / 332.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.09018, allocations: 73.66 kB / 332.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.09021, allocations: 4 kB / 332.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.09023, allocations: 4 kB / 332.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-06/0.09025, allocations: 7.984 kB / 332.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.09037, allocations: 39.95 kB / 332.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.09062, allocations: 185.4 kB / 333.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.09081, allocations: 82.55 kB / 333.1 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.09111, allocations: 113.1 kB / 333.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.09116, allocations: 38.5 kB / 333.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.239e-06/0.09117, allocations: 0 / 333.3 MB, free: 6.691 MB / 282.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.1816/0.2727, allocations: 5.817 MB / 339.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.2728, allocations: 59.36 kB / 339.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.2729, allocations: 93.84 kB / 339.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.273, allocations: 33.7 kB / 339.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.2731, allocations: 150.9 kB / 339.4 MB, free: 488 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.2732, allocations: 78.78 kB / 339.5 MB, free: 408 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.2732, allocations: 4 kB / 339.5 MB, free: 404 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2734, allocations: 327 kB / 339.8 MB, free: 68 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2046/0.478, allocations: 125.6 kB / 340 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.4786, allocations: 142 kB / 340.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4798, allocations: 177.1 kB / 340.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-06/0.4798, allocations: 0 / 340.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001933/0.4818, allocations: 405.9 kB / 340.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4818, allocations: 4.531 kB / 340.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.93e-06/0.4818, allocations: 0.75 kB / 340.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4818, allocations: 1.188 kB / 340.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.4824, allocations: 94.03 kB / 340.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.279e-06/0.4824, allocations: 4.547 kB / 340.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4827, allocations: 37.8 kB / 340.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.4827, allocations: 20.5 kB / 340.8 MB, free: 14.15 MB / 282.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.0001177/0.4829, allocations: 119.8 kB / 340.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.4829, allocations: 11.75 kB / 341 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.4851, allocations: 477.8 kB / 341.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4852, allocations: 6.094 kB / 341.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-06/0.4852, allocations: 0 / 341.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-06/0.4852, allocations: 4.422 kB / 341.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.4882, allocations: 0.8608 MB / 342.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-06/0.4882, allocations: 1.406 kB / 342.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.4887, allocations: 86.12 kB / 342.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.4888, allocations: 6.844 kB / 342.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4888, allocations: 16.39 kB / 342.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.908e-06/0.4888, allocations: 2.016 kB / 342.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4888, allocations: 1.156 kB / 342.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4906, allocations: 474.6 kB / 342.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.4907, allocations: 84.39 kB / 342.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.4907, allocations: 6.438 kB / 343 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.491, allocations: 42.97 kB / 343 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.4911, allocations: 17.8 kB / 343 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.4911, allocations: 16.17 kB / 343 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.4912, allocations: 77.22 kB / 343.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4912, allocations: 0 / 343.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002013/0.4932, allocations: 0.6259 MB / 343.7 MB, free: 13.33 MB / 282.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.003837/0.4971, allocations: 307.4 kB / 344 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4982, allocations: 312.1 kB / 344.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.394e-06/0.4982, allocations: 0 / 344.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.4987, allocations: 158 kB / 344.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.4989, allocations: 6.203 kB / 344.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5001, allocations: 430.8 kB / 344.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.5002, allocations: 0.7014 MB / 345.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.5004, allocations: 50.36 kB / 345.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5004, allocations: 0 / 345.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Templates: time 0.02915/0.5296, allocations: 16.57 MB / 362.2 MB, free: 5.27 MB / 282.7 MB