Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 8 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3734, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.561, allocations: 311.3 MB / 0.6652 GB, free: 133.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.561, allocations: 86.64 kB / 0.6652 GB, free: 133.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3555/1.917, allocations: 96.71 MB / 0.7597 GB, free: 82.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.917, allocations: 4 kB / 0.7597 GB, free: 82.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.571e-05/1.917, allocations: 19.92 kB / 0.7597 GB, free: 82.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002574/1.92, allocations: 0.8822 MB / 0.7606 GB, free: 81.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.92, allocations: 12.03 kB / 0.7606 GB, free: 81.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/1.92, allocations: 59.42 kB / 0.7606 GB, free: 81.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.922, allocations: 485.2 kB / 0.7611 GB, free: 81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/1.922, allocations: 24.56 kB / 0.7611 GB, free: 80.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/1.922, allocations: 27.98 kB / 0.7611 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.923, allocations: 0.5116 MB / 0.7616 GB, free: 80.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.923, allocations: 3.938 kB / 0.7616 GB, free: 80.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/1.923, allocations: 23.94 kB / 0.7617 GB, free: 80.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/1.923, allocations: 32.53 kB / 0.7617 GB, free: 80.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.924, allocations: 442 kB / 0.7621 GB, free: 79.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/1.929, allocations: 2.254 MB / 0.7643 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/1.93, allocations: 196.9 kB / 0.7645 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.932, allocations: 1.01 MB / 0.7655 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/1.932, allocations: 145 kB / 0.7656 GB, free: 76.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.747e-06/1.932, allocations: 3.984 kB / 0.7656 GB, free: 76.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007817/1.933, allocations: 365.7 kB / 0.766 GB, free: 75.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/1.933, allocations: 170.2 kB / 0.7662 GB, free: 75.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/1.934, allocations: 489.9 kB / 0.7666 GB, free: 74.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/1.934, allocations: 25.7 kB / 0.7666 GB, free: 74.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/1.934, allocations: 353.3 kB / 0.767 GB, free: 74.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/1.934, allocations: 47.44 kB / 0.767 GB, free: 74.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/1.934, allocations: 4 kB / 0.767 GB, free: 74.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/1.934, allocations: 330.8 kB / 0.7673 GB, free: 74.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.934, allocations: 104.8 kB / 0.7674 GB, free: 74.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/1.935, allocations: 334.3 kB / 0.7678 GB, free: 73.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.935, allocations: 204 kB / 0.768 GB, free: 73.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.935, allocations: 0 / 0.768 GB, free: 73.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001039/1.936, allocations: 473.4 kB / 0.7684 GB, free: 72.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.936, allocations: 336.6 kB / 0.7687 GB, free: 72.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.937, allocations: 11.95 kB / 0.7687 GB, free: 72.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/1.937, allocations: 12 kB / 0.7688 GB, free: 72.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/1.937, allocations: 87.83 kB / 0.7688 GB, free: 72.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.937, allocations: 11.94 kB / 0.7688 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/1.938, allocations: 67.36 kB / 0.7689 GB, free: 72.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/1.938, allocations: 35.97 kB / 0.7689 GB, free: 72.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.938, allocations: 8 kB / 0.769 GB, free: 72.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/1.939, allocations: 445.3 kB / 0.7694 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.939, allocations: 8 kB / 0.7694 GB, free: 71.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.939, allocations: 8 kB / 0.7694 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/1.94, allocations: 91.83 kB / 0.7695 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.94, allocations: 11.94 kB / 0.7695 GB, free: 71.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/1.94, allocations: 52.11 kB / 0.7695 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/1.94, allocations: 24 kB / 0.7696 GB, free: 71.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0004576/1.941, allocations: 316.3 kB / 0.7699 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.941, allocations: 47.44 kB / 0.7699 GB, free: 71.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/1.941, allocations: 287 kB / 0.7702 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.941, allocations: 3.938 kB / 0.7702 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.941, allocations: 3.953 kB / 0.7702 GB, free: 70.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.941, allocations: 0 / 0.7702 GB, free: 70.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/1.942, allocations: 385.2 kB / 0.7706 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.942, allocations: 0 / 0.7706 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/1.942, allocations: 19.98 kB / 0.7706 GB, free: 70.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.942, allocations: 0 / 0.7706 GB, free: 70.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/1.942, allocations: 4 kB / 0.7706 GB, free: 70.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.942, allocations: 0 / 0.7706 GB, free: 70.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.942, allocations: 8 kB / 0.7706 GB, free: 70.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/1.943, allocations: 291.7 kB / 0.7709 GB, free: 70.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.943, allocations: 132.4 kB / 0.771 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.943, allocations: 4 kB / 0.771 GB, free: 70.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/1.944, allocations: 19.94 kB / 0.771 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/1.944, allocations: 8 kB / 0.771 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/1.944, allocations: 15.98 kB / 0.771 GB, free: 70.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005844/1.944, allocations: 330.9 kB / 0.7714 GB, free: 69.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.944, allocations: 0 / 0.7714 GB, free: 69.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001994/1.946, allocations: 459.3 kB / 0.7718 GB, free: 69.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.001986/1.948, allocations: 0.5028 MB / 0.7723 GB, free: 68.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/1.95, allocations: 0.6216 MB / 0.7729 GB, free: 68.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.95, allocations: 0 / 0.7729 GB, free: 68.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.95, allocations: 167.3 kB / 0.7731 GB, free: 67.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.951, allocations: 131.1 kB / 0.7732 GB, free: 67.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.954, allocations: 1.051 MB / 0.7742 GB, free: 66.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/1.954, allocations: 0.8429 MB / 0.775 GB, free: 65.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.954, allocations: 39.44 kB / 0.7751 GB, free: 65.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/1.954, allocations: 0 / 0.7751 GB, free: 65.81 MB / 490.7 MB Notification: Performance of Templates: time 0.02198/1.976, allocations: 9.499 MB / 0.7843 GB, free: 56.33 MB / 490.7 MB