Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.994/1.994, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004145, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 48.69 MB / 331.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.473, allocations: 73.43 MB / 405.2 MB, free: 5.027 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4733, allocations: 67.97 kB / 405.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.4891, allocations: 3.086 MB / 408.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4892, allocations: 3.938 kB / 408.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4892, allocations: 0 / 408.4 MB, free: 1.871 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.0004869/0.4897, allocations: 358.2 kB / 408.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4898, allocations: 8.031 kB / 408.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.4898, allocations: 7.906 kB / 408.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.49, allocations: 174.9 kB / 408.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.49, allocations: 8 kB / 408.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.49, allocations: 8 kB / 408.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4902, allocations: 69.66 kB / 409 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4903, allocations: 4 kB / 409 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4903, allocations: 0 / 409 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4903, allocations: 0 / 409 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.4905, allocations: 47.95 kB / 409 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.4907, allocations: 177.5 kB / 409.2 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.491, allocations: 88.61 kB / 409.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.4913, allocations: 117.1 kB / 409.4 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4914, allocations: 30.56 kB / 409.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.4914, allocations: 0 / 409.4 MB, free: 0.6211 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.2514/0.7428, allocations: 5.534 MB / 415 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.7429, allocations: 59.36 kB / 415 MB, free: 10.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.743, allocations: 89.86 kB / 415.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.7431, allocations: 33.7 kB / 415.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.7432, allocations: 150.9 kB / 415.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7433, allocations: 75.03 kB / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.7433, allocations: 4 kB / 415.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7435, allocations: 318.8 kB / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.7442, allocations: 131.9 kB / 415.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/0.7449, allocations: 139.8 kB / 416 MB, free: 10.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.7464, allocations: 186.4 kB / 416.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7464, allocations: 0 / 416.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002393/0.7488, allocations: 401.2 kB / 416.5 MB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.7489, allocations: 7.938 kB / 416.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7489, allocations: 0 / 416.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.7489, allocations: 0 / 416.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.7497, allocations: 103.8 kB / 416.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.7497, allocations: 3.953 kB / 416.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.7501, allocations: 35.97 kB / 416.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.7502, allocations: 15.98 kB / 416.7 MB, free: 9.281 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.0001622/0.7504, allocations: 117.8 kB / 416.8 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.7504, allocations: 7.906 kB / 416.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.7532, allocations: 481.7 kB / 417.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.7533, allocations: 0 / 417.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7533, allocations: 4 kB / 417.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7533, allocations: 3.953 kB / 417.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.7576, allocations: 0.8732 MB / 418.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7576, allocations: 0 / 418.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.7582, allocations: 91.94 kB / 418.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.7583, allocations: 4 kB / 418.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.7583, allocations: 15.92 kB / 418.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.7583, allocations: 0 / 418.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7583, allocations: 0 / 418.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.7606, allocations: 483.8 kB / 418.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.7607, allocations: 85.02 kB / 418.8 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.7608, allocations: 8 kB / 418.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.7612, allocations: 43.95 kB / 418.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.7613, allocations: 11.98 kB / 418.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.7613, allocations: 15.98 kB / 418.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.7614, allocations: 75.28 kB / 419 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7614, allocations: 4 kB / 419 MB, free: 6.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002538/0.764, allocations: 0.6012 MB / 419.6 MB, free: 6.27 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.005013/0.769, allocations: 358.6 kB / 419.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.7707, allocations: 291.8 kB / 420.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.7708, allocations: 0 / 420.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.7715, allocations: 159.9 kB / 420.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.7717, allocations: 19.89 kB / 420.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.7735, allocations: 415.4 kB / 420.8 MB, free: 5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.7738, allocations: 0.7056 MB / 421.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.7741, allocations: 47.41 kB / 421.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of SimCode: time 3.096e-06/0.7741, allocations: 0 / 421.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of Templates: time 0.03657/0.8107, allocations: 14.98 MB / 436.5 MB, free: 5.262 MB / 362.7 MB