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.327/2.327, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004481, allocations: 16 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2981, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01816/0.3163, allocations: 10.63 MB / 379.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009537/0.3259, allocations: 4.731 MB / 384.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.3267, allocations: 19.81 kB / 384.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.3274, allocations: 163.2 kB / 384.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.3296, allocations: 0.5648 MB / 385.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.3343, allocations: 1.177 MB / 386.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.336, allocations: 0.7611 MB / 387.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.3366, allocations: 261.5 kB / 387.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.3377, allocations: 414.7 kB / 387.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.3384, allocations: 306.9 kB / 388.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.3385, allocations: 23.94 kB / 388.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.3409, allocations: 0.9479 MB / 389.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.3413, allocations: 131.6 kB / 389.3 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.3415, allocations: 121.5 kB / 389.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.3437, allocations: 0.8972 MB / 390.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3437, allocations: 7.938 kB / 390.3 MB, free: 7.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.3437, allocations: 0 / 390.3 MB, free: 7.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.422e-06/0.3438, allocations: 0 / 390.3 MB, free: 7.559 MB / 314.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.00201/0.3458, allocations: 0.8429 MB / 391.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3459, allocations: 12.03 kB / 391.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.3462, allocations: 55.44 kB / 391.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000967/0.3472, allocations: 433.5 kB / 391.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.3473, allocations: 24.55 kB / 391.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.3474, allocations: 28 kB / 391.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3485, allocations: 0.5223 MB / 392.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3486, allocations: 0 / 392.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.3486, allocations: 12 kB / 392.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/0.3487, allocations: 32.55 kB / 392.3 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3498, allocations: 446 kB / 392.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.3545, allocations: 2.284 MB / 395 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.3551, allocations: 214.5 kB / 395.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/0.3569, allocations: 1.029 MB / 396.2 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.3573, allocations: 149 kB / 396.4 MB, free: 1.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.564e-06/0.3573, allocations: 0 / 396.4 MB, free: 1.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007845/0.3581, allocations: 361.1 kB / 396.7 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.3582, allocations: 162.2 kB / 396.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008434/0.3591, allocations: 493.8 kB / 397.4 MB, free: 8 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.3591, allocations: 25.7 kB / 397.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.3595, allocations: 349.3 kB / 397.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.3596, allocations: 47.44 kB / 397.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3596, allocations: 12 kB / 397.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3598, allocations: 330.8 kB / 398.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.3601, allocations: 108.8 kB / 398.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.3606, allocations: 343 kB / 398.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.361, allocations: 202.3 kB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.715e-06/0.361, allocations: 4.094 kB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001114/0.3622, allocations: 493.5 kB / 399.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.3625, allocations: 346.8 kB / 399.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3626, allocations: 8 kB / 399.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.3626, allocations: 15.94 kB / 399.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.3631, allocations: 87.84 kB / 399.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.3631, allocations: 15.92 kB / 399.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.3636, allocations: 59.45 kB / 399.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.3637, allocations: 32 kB / 399.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.053e-06/0.3637, allocations: 0 / 399.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/0.3648, allocations: 453.1 kB / 400.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3648, allocations: 8 kB / 400.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3648, allocations: 19.94 kB / 400.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3652, allocations: 87.84 kB / 400.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.3653, allocations: 16.58 kB / 400.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3656, allocations: 51.59 kB / 400.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.3657, allocations: 20 kB / 400.4 MB, free: 12.68 MB / 330.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: 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 (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.0004522/0.3662, allocations: 308.3 kB / 400.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3663, allocations: 43.53 kB / 400.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.367, allocations: 290.9 kB / 401.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-06/0.367, allocations: 0 / 401.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.3671, allocations: 4 kB / 401.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-06/0.3671, allocations: 0 / 401.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.3677, allocations: 385.3 kB / 401.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.835e-06/0.3677, allocations: 3.984 kB / 401.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3679, allocations: 23.98 kB / 401.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-06/0.3679, allocations: 0 / 401.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3679, allocations: 8 kB / 401.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.772e-06/0.3679, allocations: 3.953 kB / 401.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.368, allocations: 0 / 401.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.3686, allocations: 299.1 kB / 401.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3688, allocations: 120.5 kB / 401.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.3689, allocations: 4 kB / 401.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.3691, allocations: 19.92 kB / 401.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.3692, allocations: 15.95 kB / 401.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.3693, allocations: 15.92 kB / 401.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005496/0.3698, allocations: 330.9 kB / 402.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.3699, allocations: 0 / 402.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001545/0.3714, allocations: 411.5 kB / 402.7 MB, free: 10.32 MB / 330.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.001194/0.3726, allocations: 373.6 kB / 403 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3741, allocations: 0.6572 MB / 403.7 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.466e-06/0.3741, allocations: 0.5 kB / 403.7 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3745, allocations: 171.4 kB / 403.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.3754, allocations: 137.1 kB / 404 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3773, allocations: 0.9724 MB / 405 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.378, allocations: 0.8585 MB / 405.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3782, allocations: 39.42 kB / 405.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of SimCode: time 1.635e-06/0.3782, allocations: 0 / 405.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of Templates: time 0.01937/0.3976, allocations: 9.102 MB / 415 MB, free: 13.94 MB / 346.7 MB