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/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.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 2/2, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.632e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4163, allocations: 72.66 MB / 392.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4166, allocations: 63.97 kB / 392.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.4303, allocations: 3.065 MB / 395.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4304, allocations: 0 / 395.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4304, allocations: 0 / 395.8 MB, free: 4.672 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.0004188/0.4308, allocations: 362.4 kB / 396.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4309, allocations: 8.031 kB / 396.2 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4309, allocations: 7.906 kB / 396.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4311, allocations: 171 kB / 396.3 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4311, allocations: 4 kB / 396.3 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.4311, allocations: 7.938 kB / 396.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/0.4313, allocations: 43.91 kB / 396.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4314, allocations: 54.19 kB / 396.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4314, allocations: 4 kB / 396.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4315, allocations: 3.984 kB / 396.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-06/0.4315, allocations: 0 / 396.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.4317, allocations: 154.1 kB / 396.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4319, allocations: 66.56 kB / 396.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.4319, allocations: 24.86 kB / 396.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.4322, allocations: 109.1 kB / 396.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4323, allocations: 38.55 kB / 396.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 4.438e-06/0.4323, allocations: 0 / 396.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.1225/0.5548, allocations: 5.09 MB / 401.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.5549, allocations: 55.41 kB / 402 MB, free: 14.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.555, allocations: 88.95 kB / 402.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.555, allocations: 33.64 kB / 402.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.5551, allocations: 154.9 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.5552, allocations: 70.91 kB / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.5552, allocations: 0 / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5554, allocations: 319 kB / 402.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.5556, allocations: 67.92 kB / 402.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.5558, allocations: 68.17 kB / 402.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.5572, allocations: 183.9 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5572, allocations: 0 / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001839/0.5591, allocations: 329.2 kB / 403.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5591, allocations: 4 kB / 403.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-06/0.5592, allocations: 0 / 403.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5592, allocations: 0 / 403.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.5597, allocations: 103.8 kB / 403.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.847e-06/0.5598, allocations: 0 / 403.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.56, allocations: 35.97 kB / 403.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.5601, allocations: 15.94 kB / 403.4 MB, free: 12.8 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 (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.0001268/0.5602, allocations: 104.1 kB / 403.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.5603, allocations: 11.91 kB / 403.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.5623, allocations: 401.9 kB / 403.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.379e-06/0.5624, allocations: 4 kB / 403.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-06/0.5624, allocations: 0 / 403.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.235e-06/0.5624, allocations: 0 / 403.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.5655, allocations: 0.7686 MB / 404.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.819e-06/0.5656, allocations: 0 / 404.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.566, allocations: 87.88 kB / 404.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-06/0.566, allocations: 0 / 404.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.5661, allocations: 16.05 kB / 404.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-06/0.5661, allocations: 7.938 kB / 404.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.425e-06/0.5661, allocations: 0 / 404.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5678, allocations: 432.3 kB / 405.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.5679, allocations: 89.02 kB / 405.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.5679, allocations: 7.984 kB / 405.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.5682, allocations: 31.97 kB / 405.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.5683, allocations: 19.92 kB / 405.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.5683, allocations: 11.98 kB / 405.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.5684, allocations: 83.28 kB / 405.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.5684, allocations: 0 / 405.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00192/0.5703, allocations: 0.5973 MB / 406.1 MB, free: 10.05 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 () * 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.003669/0.574, allocations: 330.6 kB / 406.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.5745, allocations: 159.9 kB / 406.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5745, allocations: 0 / 406.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.5747, allocations: 87.94 kB / 406.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.575, allocations: 3.953 kB / 406.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.5759, allocations: 272.8 kB / 406.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5763, allocations: 0.7014 MB / 407.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5765, allocations: 51.39 kB / 407.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-06/0.5765, allocations: 0 / 407.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of Templates: time 0.03203/0.6086, allocations: 15.56 MB / 423.2 MB, free: 8.809 MB / 362.7 MB