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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007366/0.0007369, allocations: 12 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.424, allocations: 54.87 MB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.583, allocations: 311.3 MB / 0.6647 GB, free: 134 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.584, allocations: 89.72 kB / 0.6648 GB, free: 134 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3521/1.936, allocations: 96.73 MB / 0.7593 GB, free: 82.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.936, allocations: 0 / 0.7593 GB, free: 82.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.067e-05/1.936, allocations: 12 kB / 0.7593 GB, free: 82.5 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.002274/1.938, allocations: 0.8904 MB / 0.7602 GB, free: 81.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.938, allocations: 12.03 kB / 0.7602 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/1.939, allocations: 70.52 kB / 0.7602 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/1.939, allocations: 55.44 kB / 0.7603 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.94, allocations: 489.1 kB / 0.7608 GB, free: 80.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/1.94, allocations: 20.56 kB / 0.7608 GB, free: 80.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/1.94, allocations: 31.98 kB / 0.7608 GB, free: 80.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.941, allocations: 0.5076 MB / 0.7613 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/1.941, allocations: 3.953 kB / 0.7613 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/1.941, allocations: 19.98 kB / 0.7613 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/1.942, allocations: 28.55 kB / 0.7614 GB, free: 80.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/1.943, allocations: 450 kB / 0.7618 GB, free: 79.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/1.947, allocations: 2.258 MB / 0.764 GB, free: 77.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/1.947, allocations: 210.6 kB / 0.7642 GB, free: 77.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.949, allocations: 1.002 MB / 0.7652 GB, free: 76.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/1.949, allocations: 145 kB / 0.7653 GB, free: 75.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/1.949, allocations: 0 / 0.7653 GB, free: 75.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007083/1.95, allocations: 362.6 kB / 0.7656 GB, free: 75.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.95, allocations: 170.1 kB / 0.7658 GB, free: 75.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/1.951, allocations: 433 kB / 0.7662 GB, free: 74.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.951, allocations: 25.7 kB / 0.7662 GB, free: 74.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.951, allocations: 357.4 kB / 0.7666 GB, free: 74.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/1.951, allocations: 47.44 kB / 0.7666 GB, free: 74.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/1.951, allocations: 8 kB / 0.7666 GB, free: 74.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/1.951, allocations: 326.8 kB / 0.767 GB, free: 74.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.951, allocations: 104.8 kB / 0.7671 GB, free: 74.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/1.952, allocations: 334.3 kB / 0.7674 GB, free: 73.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.952, allocations: 191.8 kB / 0.7676 GB, free: 73.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.952, allocations: 4 kB / 0.7676 GB, free: 73.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009761/1.953, allocations: 484.6 kB / 0.768 GB, free: 72.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005507/1.954, allocations: 2.826 MB / 0.7708 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.954, allocations: 4 kB / 0.7708 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/1.954, allocations: 12 kB / 0.7708 GB, free: 69.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/1.954, allocations: 91.83 kB / 0.7709 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.954, allocations: 15.94 kB / 0.7709 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/1.955, allocations: 63.42 kB / 0.771 GB, free: 69.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.955, allocations: 20 kB / 0.771 GB, free: 69.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.955, allocations: 4 kB / 0.771 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009381/1.956, allocations: 453.6 kB / 0.7714 GB, free: 69.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.956, allocations: 8 kB / 0.7714 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.956, allocations: 20.08 kB / 0.7714 GB, free: 69.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/1.957, allocations: 83.84 kB / 0.7715 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.957, allocations: 15.92 kB / 0.7715 GB, free: 69.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/1.957, allocations: 39.69 kB / 0.7716 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/1.957, allocations: 27.98 kB / 0.7716 GB, free: 69 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.0003885/1.958, allocations: 306.6 kB / 0.7719 GB, free: 68.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.958, allocations: 51.44 kB / 0.7719 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/1.958, allocations: 291 kB / 0.7722 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.958, allocations: 0 / 0.7722 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.958, allocations: 0 / 0.7722 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.959, allocations: 3.984 kB / 0.7722 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/1.959, allocations: 381.3 kB / 0.7726 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.959, allocations: 3.984 kB / 0.7726 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/1.959, allocations: 19.94 kB / 0.7726 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.959, allocations: 7.953 kB / 0.7726 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.959, allocations: 4 kB / 0.7726 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.959, allocations: 3.938 kB / 0.7726 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.959, allocations: 0 / 0.7726 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/1.96, allocations: 292.2 kB / 0.7729 GB, free: 67.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/1.96, allocations: 128.5 kB / 0.773 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.96, allocations: 8 kB / 0.773 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/1.96, allocations: 15.98 kB / 0.773 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/1.96, allocations: 15.98 kB / 0.7731 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.961, allocations: 4 kB / 0.7731 GB, free: 67.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004838/1.961, allocations: 338.8 kB / 0.7734 GB, free: 67.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.961, allocations: 0 / 0.7734 GB, free: 67.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001851/1.963, allocations: 455.3 kB / 0.7738 GB, free: 66.61 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.00231/1.965, allocations: 1.226 MB / 0.775 GB, free: 65.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/1.967, allocations: 0.6259 MB / 0.7756 GB, free: 64.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.967, allocations: 7.875 kB / 0.7756 GB, free: 64.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/1.967, allocations: 167.3 kB / 0.7758 GB, free: 64.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.968, allocations: 130.7 kB / 0.7759 GB, free: 64.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/1.972, allocations: 6.365 MB / 0.7821 GB, free: 57.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.973, allocations: 0.8546 MB / 0.783 GB, free: 56.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.973, allocations: 143.4 kB / 0.7831 GB, free: 56.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.973, allocations: 4 kB / 0.7831 GB, free: 56.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.991/4.964, allocations: 11.48 MB / 0.7943 GB, free: 45.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat