Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004287, allocations: 8 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.276, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.04185/0.3179, allocations: 29.96 MB / 399.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02515/0.3431, allocations: 13.95 MB / 413.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3451, allocations: 51.56 kB / 413.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.3474, allocations: 0.5324 MB / 413.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007177/0.3546, allocations: 1.932 MB / 415.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.3649, allocations: 2.763 MB / 418.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004675/0.3696, allocations: 2.223 MB / 420.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.3714, allocations: 0.8253 MB / 421.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.3744, allocations: 1.172 MB / 422.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.3764, allocations: 0.8523 MB / 423.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.3768, allocations: 64 kB / 423.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007139/0.3839, allocations: 2.699 MB / 426.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.3847, allocations: 330.9 kB / 426.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.3854, allocations: 305 kB / 426.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.3918, allocations: 2.647 MB / 429.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.254e-06/0.3919, allocations: 0 / 429.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.553e-06/0.3919, allocations: 7.938 kB / 429.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.3919, allocations: 0 / 429.5 MB, free: 14.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.004511/0.3964, allocations: 1.852 MB / 431.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3965, allocations: 12.03 kB / 431.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.3975, allocations: 182.1 kB / 431.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.4002, allocations: 1.035 MB / 432.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4004, allocations: 78 kB / 432.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.4007, allocations: 91.98 kB / 432.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.404, allocations: 1.434 MB / 434.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.4041, allocations: 0 / 434.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.4043, allocations: 51.94 kB / 434.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.4044, allocations: 57.97 kB / 434.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.4076, allocations: 1.327 MB / 435.6 MB, free: 7.918 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.4202, allocations: 6.718 MB / 442.3 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4216, allocations: 0.5145 MB / 442.8 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02511/0.4467, allocations: 15.47 MB / 458.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/0.4474, allocations: 284.9 kB / 458.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.106e-06/0.4474, allocations: 0 / 458.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.001888/0.4493, allocations: 0.7596 MB / 459.3 MB, free: 12.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.4496, allocations: 269 kB / 459.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.4517, allocations: 1.124 MB / 460.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.4518, allocations: 33.7 kB / 460.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007672/0.4526, allocations: 0.7752 MB / 461.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.4528, allocations: 154 kB / 461.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.4529, allocations: 20 kB / 461.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4532, allocations: 358.8 kB / 462.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.4539, allocations: 270.5 kB / 462.3 MB, free: 9.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4552, allocations: 0.9831 MB / 463.3 MB, free: 8.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.4562, allocations: 473.7 kB / 463.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.4563, allocations: 7.953 kB / 463.8 MB, free: 7.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003012/0.4593, allocations: 1.249 MB / 465 MB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007897/0.4601, allocations: 0.811 MB / 465.8 MB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.4602, allocations: 28 kB / 465.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.217e-05/0.4602, allocations: 36 kB / 465.9 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.4623, allocations: 387.4 kB / 466.3 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.4635, allocations: 1.254 MB / 467.5 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.465, allocations: 186.5 kB / 467.7 MB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4652, allocations: 83.97 kB / 467.8 MB, free: 3.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4652, allocations: 8 kB / 467.8 MB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/0.4679, allocations: 1.174 MB / 469 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.4679, allocations: 23.98 kB / 469 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-05/0.468, allocations: 36 kB / 469 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4694, allocations: 327.4 kB / 469.4 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005767/0.47, allocations: 0.6332 MB / 470 MB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.4711, allocations: 131.1 kB / 470.1 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.4713, allocations: 87.97 kB / 470.2 MB, free: 1.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009337/0.4723, allocations: 453.6 kB / 470.6 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.4726, allocations: 122.5 kB / 470.8 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2522/0.7248, allocations: 1.226 MB / 472 MB, free: 93.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.7249, allocations: 11.81 kB / 472 MB, free: 93.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7249, allocations: 0.75 kB / 472 MB, free: 93.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.7249, allocations: 3.844 kB / 472 MB, free: 93.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.7288, allocations: 1.829 MB / 473.8 MB, free: 92.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.141e-06/0.7288, allocations: 1.531 kB / 473.8 MB, free: 92.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.7303, allocations: 229.9 kB / 474.1 MB, free: 92.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7304, allocations: 2.625 kB / 474.1 MB, free: 92.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.748e-05/0.7305, allocations: 22.44 kB / 474.1 MB, free: 92.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005367/0.731, allocations: 1.193 MB / 475.3 MB, free: 91.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7311, allocations: 0 / 475.3 MB, free: 91.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.7326, allocations: 0.8247 MB / 476.1 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.733, allocations: 253.3 kB / 476.4 MB, free: 91.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.7333, allocations: 14.78 kB / 476.4 MB, free: 91.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.734, allocations: 46.33 kB / 476.4 MB, free: 91.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.7341, allocations: 45.67 kB / 476.5 MB, free: 91.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.7342, allocations: 25.98 kB / 476.5 MB, free: 91.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.7356, allocations: 0.7657 MB / 477.2 MB, free: 90.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-07/0.7356, allocations: 0 / 477.2 MB, free: 90.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003966/0.7396, allocations: 1.22 MB / 478.5 MB, free: 90.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002742/0.7424, allocations: 0.948 MB / 479.4 MB, free: 90.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004362/0.7468, allocations: 1.684 MB / 481.1 MB, free: 89.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.204e-06/0.7468, allocations: 1.25 kB / 481.1 MB, free: 89.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.749, allocations: 0.5607 MB / 481.7 MB, free: 89.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7514, allocations: 415.6 kB / 482.1 MB, free: 89.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.7554, allocations: 2.563 MB / 484.6 MB, free: 88.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.7561, allocations: 1.198 MB / 485.8 MB, free: 87.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.7566, allocations: 134.8 kB / 486 MB, free: 87.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.588e-06/0.7566, allocations: 0 / 486 MB, free: 87.52 MB / 394.7 MB Notification: Performance of Templates: time 0.05005/0.8067, allocations: 37.59 MB / 0.5113 GB, free: 52.15 MB / 394.7 MB