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.Pipes.StaticPipe.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.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.169/2.169, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004405, allocations: 16 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8812/1.158, allocations: 311.3 MB / 0.6646 GB, free: 186.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.158, allocations: 86.45 kB / 0.6647 GB, free: 186.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.293/1.451, allocations: 96.72 MB / 0.7592 GB, free: 95.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.246e-06/1.451, allocations: 0 / 0.7592 GB, free: 95.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/1.451, allocations: 15.94 kB / 0.7592 GB, free: 95.03 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.001758/1.453, allocations: 0.8862 MB / 0.76 GB, free: 94.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.453, allocations: 8.031 kB / 0.7601 GB, free: 94.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/1.453, allocations: 59.44 kB / 0.7601 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/1.454, allocations: 493.1 kB / 0.7606 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/1.454, allocations: 24.56 kB / 0.7606 GB, free: 93.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/1.454, allocations: 39.95 kB / 0.7606 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/1.455, allocations: 0.5038 MB / 0.7611 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/1.455, allocations: 4 kB / 0.7611 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/1.455, allocations: 15.95 kB / 0.7612 GB, free: 92.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/1.455, allocations: 28.55 kB / 0.7612 GB, free: 92.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/1.456, allocations: 446 kB / 0.7616 GB, free: 92.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/1.46, allocations: 2.25 MB / 0.7638 GB, free: 90 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/1.46, allocations: 202.6 kB / 0.764 GB, free: 89.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.461, allocations: 1.006 MB / 0.765 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/1.462, allocations: 156.4 kB / 0.7651 GB, free: 88.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.329e-06/1.462, allocations: 0 / 0.7651 GB, free: 88.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.000626/1.462, allocations: 355.8 kB / 0.7655 GB, free: 88.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.462, allocations: 166.2 kB / 0.7656 GB, free: 87.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/1.463, allocations: 433.1 kB / 0.766 GB, free: 87.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/1.463, allocations: 33.7 kB / 0.7661 GB, free: 87.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/1.463, allocations: 349.3 kB / 0.7664 GB, free: 87.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.463, allocations: 43.45 kB / 0.7664 GB, free: 87.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/1.463, allocations: 8 kB / 0.7665 GB, free: 87.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/1.463, allocations: 326.8 kB / 0.7668 GB, free: 86.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.464, allocations: 112.8 kB / 0.7669 GB, free: 86.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/1.464, allocations: 326.4 kB / 0.7672 GB, free: 86.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/1.464, allocations: 198.3 kB / 0.7674 GB, free: 86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.036e-06/1.464, allocations: 0 / 0.7674 GB, free: 86 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008812/1.465, allocations: 484.4 kB / 0.7678 GB, free: 85.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005491/1.466, allocations: 2.827 MB / 0.7706 GB, free: 82.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.466, allocations: 8 kB / 0.7706 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.466, allocations: 20.03 kB / 0.7706 GB, free: 82.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.466, allocations: 83.83 kB / 0.7707 GB, free: 82.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.466, allocations: 8 kB / 0.7707 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/1.467, allocations: 67.42 kB / 0.7708 GB, free: 82.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/1.467, allocations: 24 kB / 0.7708 GB, free: 82.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.467, allocations: 7.938 kB / 0.7708 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008512/1.468, allocations: 457.6 kB / 0.7712 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.468, allocations: 4 kB / 0.7712 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.468, allocations: 12 kB / 0.7713 GB, free: 81.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/1.468, allocations: 87.8 kB / 0.7713 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/1.468, allocations: 19.92 kB / 0.7714 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/1.469, allocations: 39.69 kB / 0.7714 GB, free: 81.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/1.469, allocations: 27.98 kB / 0.7714 GB, free: 81.61 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.0003369/1.469, allocations: 306.7 kB / 0.7717 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/1.469, allocations: 47.44 kB / 0.7718 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/1.47, allocations: 284.7 kB / 0.772 GB, free: 80.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.287e-06/1.47, allocations: 4 kB / 0.772 GB, free: 80.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.392e-06/1.47, allocations: 4 kB / 0.772 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-06/1.47, allocations: 3.984 kB / 0.772 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/1.47, allocations: 381.2 kB / 0.7724 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-06/1.47, allocations: 0 / 0.7724 GB, free: 80.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/1.47, allocations: 20 kB / 0.7724 GB, free: 80.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.47, allocations: 3.953 kB / 0.7724 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.47, allocations: 11.94 kB / 0.7724 GB, free: 80.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.12e-06/1.47, allocations: 0 / 0.7724 GB, free: 80.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/1.47, allocations: 0 / 0.7724 GB, free: 80.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/1.471, allocations: 302.1 kB / 0.7727 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.471, allocations: 124.5 kB / 0.7729 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/1.471, allocations: 8 kB / 0.7729 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/1.471, allocations: 11.98 kB / 0.7729 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/1.472, allocations: 11.98 kB / 0.7729 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/1.472, allocations: 8 kB / 0.7729 GB, free: 79.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004294/1.472, allocations: 334.9 kB / 0.7732 GB, free: 79.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.93e-07/1.472, allocations: 4 kB / 0.7732 GB, free: 79.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001549/1.474, allocations: 455.3 kB / 0.7736 GB, free: 79.22 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.001356/1.475, allocations: 0.4981 MB / 0.7741 GB, free: 78.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/1.476, allocations: 0.6344 MB / 0.7748 GB, free: 78.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.562e-06/1.476, allocations: 4 kB / 0.7748 GB, free: 78.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/1.476, allocations: 155.4 kB / 0.7749 GB, free: 77.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.477, allocations: 153.2 kB / 0.775 GB, free: 77.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.479, allocations: 1.031 MB / 0.7761 GB, free: 76.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/1.479, allocations: 0.8546 MB / 0.7769 GB, free: 75.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.479, allocations: 39.44 kB / 0.7769 GB, free: 75.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.551e-06/1.479, allocations: 0 / 0.7769 GB, free: 75.76 MB / 490.7 MB Notification: Performance of Templates: time 0.01507/1.494, allocations: 9.488 MB / 0.7862 GB, free: 66.29 MB / 490.7 MB