Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.000455, allocations: 15.94 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3524, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7302/1.083, allocations: 304.9 MB / 0.6213 GB, free: 11.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.083, allocations: 86.58 kB / 0.6214 GB, free: 11.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6171/1.7, allocations: 96.63 MB / 0.7158 GB, free: 105.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.7, allocations: 0 / 0.7158 GB, free: 105.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.741e-05/1.7, allocations: 16 kB / 0.7158 GB, free: 105.7 MB / 442.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.002336/1.703, allocations: 0.8869 MB / 0.7166 GB, free: 104.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.703, allocations: 12.03 kB / 0.7167 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/1.703, allocations: 66.53 kB / 0.7167 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/1.703, allocations: 67.34 kB / 0.7168 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.704, allocations: 469.3 kB / 0.7172 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/1.705, allocations: 24.55 kB / 0.7173 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/1.705, allocations: 24 kB / 0.7173 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/1.706, allocations: 0.5078 MB / 0.7178 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.706, allocations: 0 / 0.7178 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/1.706, allocations: 15.94 kB / 0.7178 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.675e-05/1.706, allocations: 32.53 kB / 0.7178 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/1.707, allocations: 441.8 kB / 0.7182 GB, free: 103.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/1.711, allocations: 2.249 MB / 0.7204 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/1.712, allocations: 209.9 kB / 0.7206 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/1.713, allocations: 0.9829 MB / 0.7216 GB, free: 99.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/1.714, allocations: 148.9 kB / 0.7217 GB, free: 99.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.786e-06/1.714, allocations: 0 / 0.7217 GB, free: 99.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007646/1.715, allocations: 355.9 kB / 0.7221 GB, free: 98.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.715, allocations: 162.2 kB / 0.7222 GB, free: 98.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/1.715, allocations: 436.9 kB / 0.7227 GB, free: 98.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/1.715, allocations: 33.7 kB / 0.7227 GB, free: 98.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.716, allocations: 345.4 kB / 0.723 GB, free: 97.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/1.716, allocations: 43.39 kB / 0.7231 GB, free: 97.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/1.716, allocations: 8 kB / 0.7231 GB, free: 97.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/1.716, allocations: 334.8 kB / 0.7234 GB, free: 97.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.716, allocations: 100.8 kB / 0.7235 GB, free: 97.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/1.716, allocations: 322.3 kB / 0.7238 GB, free: 96.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/1.717, allocations: 193.5 kB / 0.724 GB, free: 96.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.717, allocations: 0 / 0.724 GB, free: 96.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001021/1.718, allocations: 483 kB / 0.7244 GB, free: 96.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005973/1.718, allocations: 2.823 MB / 0.7272 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.718, allocations: 7.984 kB / 0.7272 GB, free: 93.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/1.719, allocations: 12 kB / 0.7272 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/1.719, allocations: 91.84 kB / 0.7273 GB, free: 93.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/1.719, allocations: 15.92 kB / 0.7273 GB, free: 93.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/1.72, allocations: 59.38 kB / 0.7274 GB, free: 92.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/1.72, allocations: 32.08 kB / 0.7274 GB, free: 92.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.72, allocations: 7.938 kB / 0.7274 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009802/1.721, allocations: 453.2 kB / 0.7278 GB, free: 92.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.721, allocations: 11.98 kB / 0.7278 GB, free: 92.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.721, allocations: 8 kB / 0.7279 GB, free: 92.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/1.722, allocations: 87.83 kB / 0.7279 GB, free: 92.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.722, allocations: 11.94 kB / 0.728 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.722, allocations: 48.36 kB / 0.728 GB, free: 92.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/1.722, allocations: 24 kB / 0.728 GB, free: 92.32 MB / 442.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: 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 (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.0004078/1.722, allocations: 310.5 kB / 0.7283 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/1.723, allocations: 39.53 kB / 0.7284 GB, free: 91.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/1.723, allocations: 282.9 kB / 0.7286 GB, free: 91.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.723, allocations: 4.031 kB / 0.7286 GB, free: 91.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.723, allocations: 0 / 0.7286 GB, free: 91.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.723, allocations: 3.938 kB / 0.7286 GB, free: 91.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/1.724, allocations: 381.2 kB / 0.729 GB, free: 91.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.724, allocations: 0 / 0.729 GB, free: 91.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.724, allocations: 19.98 kB / 0.729 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.724, allocations: 0 / 0.729 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.724, allocations: 8 kB / 0.729 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.724, allocations: 4 kB / 0.729 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.724, allocations: 0 / 0.729 GB, free: 91.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/1.725, allocations: 282.8 kB / 0.7293 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.725, allocations: 132.4 kB / 0.7294 GB, free: 90.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.725, allocations: 0 / 0.7294 GB, free: 90.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.725, allocations: 19.92 kB / 0.7294 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/1.725, allocations: 15.98 kB / 0.7295 GB, free: 90.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.725, allocations: 4 kB / 0.7295 GB, free: 90.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004856/1.726, allocations: 334.9 kB / 0.7298 GB, free: 90.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.726, allocations: 0 / 0.7298 GB, free: 90.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001789/1.728, allocations: 455.3 kB / 0.7302 GB, free: 89.95 MB / 442.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.002295/1.73, allocations: 1.208 MB / 0.7314 GB, free: 88.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/1.731, allocations: 0.5684 MB / 0.7319 GB, free: 88.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.731, allocations: 7.938 kB / 0.732 GB, free: 88.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/1.732, allocations: 139.4 kB / 0.7321 GB, free: 87.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.733, allocations: 140.1 kB / 0.7322 GB, free: 87.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/1.737, allocations: 6.361 MB / 0.7384 GB, free: 81.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.737, allocations: 0.8467 MB / 0.7393 GB, free: 80.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.737, allocations: 147.4 kB / 0.7394 GB, free: 80.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/1.737, allocations: 0 / 0.7394 GB, free: 80.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/4.503, allocations: 11.35 MB / 0.7505 GB, free: 68.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat