Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004405, allocations: 12 kB / 314.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3739, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5575, allocations: 83.32 MB / 452.7 MB, free: 9.223 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5579, allocations: 75.91 kB / 452.8 MB, free: 9.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03012/0.588, allocations: 6.559 MB / 459.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5881, allocations: 0 / 459.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.5881, allocations: 4 kB / 459.3 MB, free: 2.547 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001367/0.5895, allocations: 0.5582 MB / 459.9 MB, free: 1.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.5896, allocations: 8.031 kB / 459.9 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.5897, allocations: 62.53 kB / 459.9 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.5898, allocations: 35.58 kB / 460 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.5904, allocations: 275 kB / 460.3 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.5905, allocations: 20.56 kB / 460.3 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.5905, allocations: 24 kB / 460.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.5913, allocations: 240.9 kB / 460.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5913, allocations: 0 / 460.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.5914, allocations: 12 kB / 460.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5914, allocations: 8 kB / 460.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.5923, allocations: 250 kB / 460.8 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.5945, allocations: 0.8793 MB / 461.7 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.5959, allocations: 351.5 kB / 462 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.5959, allocations: 7.969 kB / 462 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.596, allocations: 38.56 kB / 462.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.596, allocations: 0 / 462.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.007642/0.6037, allocations: 1.232 MB / 463.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.6038, allocations: 55.41 kB / 463.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.6041, allocations: 188.2 kB / 463.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.6041, allocations: 33.7 kB / 463.6 MB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.6043, allocations: 223.5 kB / 463.8 MB, free: 13.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.6044, allocations: 102.5 kB / 463.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.6045, allocations: 4 kB / 463.9 MB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6046, allocations: 330.8 kB / 464.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.605, allocations: 99.89 kB / 464.3 MB, free: 13.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.6055, allocations: 123.7 kB / 464.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.6059, allocations: 113.3 kB / 464.5 MB, free: 13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6059, allocations: 3.953 kB / 464.5 MB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003171/0.6091, allocations: 0.5532 MB / 465.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6091, allocations: 4 kB / 465.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6092, allocations: 0 / 465.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.6119, allocations: 315.1 kB / 465.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.6122, allocations: 31.91 kB / 465.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.6232, allocations: 6.395 MB / 471.8 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.6237, allocations: 35.69 kB / 471.9 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.6237, allocations: 12.06 kB / 471.9 MB, free: 5.094 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.624, allocations: 137.8 kB / 472 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.624, allocations: 31.66 kB / 472 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.6271, allocations: 0.5505 MB / 472.6 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6272, allocations: 0 / 472.6 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6272, allocations: 4 kB / 472.6 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6272, allocations: 11.88 kB / 472.6 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.6279, allocations: 361.2 kB / 473 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.6279, allocations: 3.984 kB / 473 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.6282, allocations: 23.92 kB / 473 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/0.6309, allocations: 323.1 kB / 473.3 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.6309, allocations: 4 kB / 473.3 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.6414, allocations: 6.358 MB / 479.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6414, allocations: 0 / 479.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.6445, allocations: 0.6232 MB / 480.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.6447, allocations: 100.8 kB / 480.4 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.6448, allocations: 8.578 kB / 480.4 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.6451, allocations: 15.98 kB / 480.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6453, allocations: 35.95 kB / 480.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.6454, allocations: 8 kB / 480.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.6456, allocations: 160.5 kB / 480.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6456, allocations: 0 / 480.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007634/0.6464, allocations: 115.8 kB / 480.7 MB, free: 11.58 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003483/0.6499, allocations: 1.18 MB / 481.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.6517, allocations: 0.7563 MB / 482.7 MB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6518, allocations: 4.062 kB / 482.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.6534, allocations: 0.6742 MB / 483.3 MB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.6537, allocations: 16.44 kB / 483.4 MB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/0.6599, allocations: 1.978 MB / 485.3 MB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.6605, allocations: 0.7756 MB / 486.1 MB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.6607, allocations: 75.47 kB / 486.2 MB, free: 5.863 MB / 410.7 MB Notification: Performance of SimCode: time 3.146e-06/0.6607, allocations: 0 / 486.2 MB, free: 5.863 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.852/3.512, allocations: 8.746 MB / 494.9 MB, free: 13.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat