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.NewFittings.Bends.CurvedBend.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.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004874, allocations: 27.92 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 48.69 MB / 331.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/2.065, allocations: 0.6069 GB / 0.9305 GB, free: 75.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/2.066, allocations: 100.2 kB / 0.9306 GB, free: 75.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153/3.218, allocations: 243.3 MB / 1.168 GB, free: 15.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/3.218, allocations: 0 / 1.168 GB, free: 15.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.533e-05/3.218, allocations: 20 kB / 1.168 GB, free: 15.35 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002882/3.221, allocations: 1.037 MB / 1.169 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/3.221, allocations: 8.031 kB / 1.169 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/3.222, allocations: 86.52 kB / 1.169 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/3.223, allocations: 143.1 kB / 1.169 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/3.224, allocations: 0.5288 MB / 1.17 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/3.224, allocations: 33 kB / 1.17 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/3.224, allocations: 40 kB / 1.17 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/3.226, allocations: 0.5884 MB / 1.171 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/3.226, allocations: 11.92 kB / 1.171 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/3.226, allocations: 16 kB / 1.171 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/3.226, allocations: 12 kB / 1.171 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/3.227, allocations: 491.5 kB / 1.171 GB, free: 12.23 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/3.231, allocations: 2.589 MB / 1.174 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/3.231, allocations: 319.7 kB / 1.174 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/3.232, allocations: 325.5 kB / 1.174 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/3.232, allocations: 34.84 kB / 1.174 GB, free: 8.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/3.232, allocations: 0 / 1.174 GB, free: 8.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002352/3.234, allocations: 0.6859 MB / 1.175 GB, free: 7.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/3.234, allocations: 136.5 kB / 1.175 GB, free: 7.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/3.235, allocations: 385 kB / 1.175 GB, free: 7.418 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/3.235, allocations: 37.69 kB / 1.175 GB, free: 7.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/3.235, allocations: 337.9 kB / 1.176 GB, free: 7.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/3.236, allocations: 110.4 kB / 1.176 GB, free: 6.934 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/3.236, allocations: 12 kB / 1.176 GB, free: 6.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/3.236, allocations: 338.8 kB / 1.176 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/3.236, allocations: 189 kB / 1.176 GB, free: 6.395 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/3.237, allocations: 371.2 kB / 1.177 GB, free: 5.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/3.238, allocations: 239.8 kB / 1.177 GB, free: 5.723 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/3.238, allocations: 0 / 1.177 GB, free: 5.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001785/3.239, allocations: 0.6578 MB / 1.178 GB, free: 5.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/3.239, allocations: 11.44 kB / 1.178 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/3.239, allocations: 4 kB / 1.178 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/3.242, allocations: 237 kB / 1.178 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/3.243, allocations: 151.8 kB / 1.178 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3259/3.568, allocations: 23.1 MB / 1.201 GB, free: 56.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/3.569, allocations: 75.17 kB / 1.201 GB, free: 56.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/3.569, allocations: 49.88 kB / 1.201 GB, free: 56.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004201/3.57, allocations: 190.9 kB / 1.201 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/3.57, allocations: 46.19 kB / 1.201 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/3.573, allocations: 0.6643 MB / 1.202 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/3.573, allocations: 8.125 kB / 1.202 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.573, allocations: 3.938 kB / 1.202 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/3.573, allocations: 0.8438 kB / 1.202 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/3.576, allocations: 1.151 MB / 1.203 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/3.576, allocations: 2.938 kB / 1.203 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/3.576, allocations: 58.7 kB / 1.203 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/3.578, allocations: 234 kB / 1.203 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/3.578, allocations: 11.25 kB / 1.203 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005341/3.579, allocations: 0.5969 MB / 1.204 GB, free: 55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/3.579, allocations: 2.281 kB / 1.204 GB, free: 55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/3.58, allocations: 0.5963 MB / 1.204 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/3.581, allocations: 146.1 kB / 1.204 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/3.581, allocations: 8.641 kB / 1.204 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/3.581, allocations: 33.98 kB / 1.204 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/3.581, allocations: 27.28 kB / 1.204 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/3.581, allocations: 19.47 kB / 1.204 GB, free: 54.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006359/3.582, allocations: 324.4 kB / 1.205 GB, free: 54.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/3.582, allocations: 0 / 1.205 GB, free: 54.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002968/3.585, allocations: 483.5 kB / 1.205 GB, free: 54.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005282/3.59, allocations: 2.75 MB / 1.208 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001772/3.592, allocations: 437 kB / 1.208 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/3.592, allocations: 3.375 kB / 1.208 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/3.593, allocations: 172.1 kB / 1.208 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/3.595, allocations: 230.9 kB / 1.209 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/3.61, allocations: 6.938 MB / 1.215 GB, free: 48.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/3.611, allocations: 0.8719 MB / 1.216 GB, free: 48.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008024/3.612, allocations: 229.3 kB / 1.216 GB, free: 48.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/3.612, allocations: 1.688 kB / 1.216 GB, free: 48.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.414/7.026, allocations: 28.9 MB / 1.245 GB, free: 47.03 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat