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.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.3 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 12 kB / 282.5 MB, free: 9.656 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2857, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01421/0.3, allocations: 10.59 MB / 341.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.3095, allocations: 4.708 MB / 346.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/0.3104, allocations: 21.56 kB / 346.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.3111, allocations: 168.6 kB / 346.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3134, allocations: 0.5678 MB / 347.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.3181, allocations: 1.165 MB / 348.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3197, allocations: 0.7624 MB / 349.2 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.3203, allocations: 261.1 kB / 349.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3214, allocations: 404.5 kB / 349.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.3221, allocations: 304 kB / 350.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.3222, allocations: 18.81 kB / 350.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3247, allocations: 0.9541 MB / 351.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.325, allocations: 126.4 kB / 351.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3253, allocations: 126.4 kB / 351.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.3274, allocations: 0.8936 MB / 352.2 MB, free: 7.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.963e-06/0.3275, allocations: 3.938 kB / 352.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.537e-06/0.3275, allocations: 0 / 352.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3275, allocations: 1.188 kB / 352.2 MB, free: 7.758 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001969/0.3295, allocations: 0.8452 MB / 353.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3295, allocations: 9.062 kB / 353.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.3299, allocations: 62.41 kB / 353.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3308, allocations: 428.9 kB / 353.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3309, allocations: 24.91 kB / 353.6 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.3309, allocations: 25.91 kB / 353.6 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.3321, allocations: 0.506 MB / 354.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3321, allocations: 0 / 354.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.3322, allocations: 9.5 kB / 354.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/0.3323, allocations: 31.78 kB / 354.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3333, allocations: 454 kB / 354.6 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.338, allocations: 2.269 MB / 356.9 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.3386, allocations: 217.6 kB / 357.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/0.3404, allocations: 1.005 MB / 358.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.3408, allocations: 153.7 kB / 358.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.571e-06/0.3408, allocations: 0 / 358.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007883/0.3416, allocations: 360.4 kB / 358.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.3417, allocations: 161.4 kB / 358.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.3426, allocations: 488.3 kB / 359.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3426, allocations: 25.7 kB / 359.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.3429, allocations: 349.4 kB / 359.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.343, allocations: 47.39 kB / 359.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.3431, allocations: 8 kB / 359.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3433, allocations: 330.8 kB / 360 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.3436, allocations: 108.8 kB / 360.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.344, allocations: 331.2 kB / 360.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.3445, allocations: 193.5 kB / 360.6 MB, free: 480 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.15e-06/0.3445, allocations: 4 kB / 360.6 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001117/0.3456, allocations: 483.3 kB / 361.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.3459, allocations: 342.7 kB / 361.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.346, allocations: 8.094 kB / 361.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.346, allocations: 15.94 kB / 361.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.3464, allocations: 91.83 kB / 361.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.3465, allocations: 11.94 kB / 361.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.347, allocations: 63.42 kB / 361.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.3471, allocations: 24 kB / 361.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3471, allocations: 4 kB / 361.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.3481, allocations: 461 kB / 362.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3482, allocations: 12.03 kB / 362.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3482, allocations: 19.92 kB / 362.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.3486, allocations: 87.84 kB / 362.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3486, allocations: 8 kB / 362.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.349, allocations: 43.67 kB / 362.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.3491, allocations: 24 kB / 362.3 MB, free: 14.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.0004483/0.3495, allocations: 306.6 kB / 362.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.3497, allocations: 51.39 kB / 362.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.3504, allocations: 282.8 kB / 362.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-06/0.3504, allocations: 0 / 362.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-06/0.3504, allocations: 0 / 362.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-06/0.3505, allocations: 8 kB / 362.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.3511, allocations: 373.2 kB / 363.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3511, allocations: 0 / 363.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3513, allocations: 19.98 kB / 363.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.198e-06/0.3513, allocations: 0 / 363.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3513, allocations: 11.95 kB / 363.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.791e-06/0.3513, allocations: 0 / 363.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3513, allocations: 0 / 363.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.3519, allocations: 287.6 kB / 363.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.3522, allocations: 136.5 kB / 363.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.3523, allocations: 4 kB / 363.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.3526, allocations: 16 kB / 363.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.3526, allocations: 15.91 kB / 363.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3527, allocations: 12 kB / 363.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005529/0.3533, allocations: 330.9 kB / 364.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.58e-07/0.3533, allocations: 0 / 364.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001552/0.3548, allocations: 407.5 kB / 364.5 MB, free: 12.34 MB / 298.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.001214/0.3561, allocations: 385.6 kB / 364.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.3574, allocations: 0.5864 MB / 365.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.273e-06/0.3574, allocations: 0 / 365.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3576, allocations: 139.6 kB / 365.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.3586, allocations: 139.7 kB / 365.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3604, allocations: 0.9567 MB / 366.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.3611, allocations: 0.8468 MB / 367.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.3613, allocations: 39.44 kB / 367.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.552e-06/0.3613, allocations: 0 / 367.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of Templates: time 0.01866/0.3799, allocations: 9.011 MB / 376.6 MB, free: 168 kB / 298.7 MB