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.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235 MB / 248 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.126e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3936, allocations: 54.85 MB / 364.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.5709, allocations: 84.98 MB / 449.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5712, allocations: 64.75 kB / 449.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0251/0.5964, allocations: 5.531 MB / 455.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5964, allocations: 0 / 455.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.5965, allocations: 9.031 kB / 455.2 MB, free: 5.918 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001546/0.598, allocations: 0.6113 MB / 455.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5981, allocations: 8.031 kB / 455.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.5982, allocations: 78.47 kB / 455.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5983, allocations: 43.53 kB / 456 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.5989, allocations: 282.1 kB / 456.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.5989, allocations: 29.81 kB / 456.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.599, allocations: 43.98 kB / 456.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.5999, allocations: 315.7 kB / 456.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5999, allocations: 3.953 kB / 456.6 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.6, allocations: 12 kB / 456.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6, allocations: 17.02 kB / 456.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.6009, allocations: 267 kB / 456.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.6044, allocations: 1.349 MB / 458.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.6052, allocations: 272.7 kB / 458.5 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.6056, allocations: 141.4 kB / 458.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.6057, allocations: 8.266 kB / 458.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.6057, allocations: 34.84 kB / 458.7 MB, free: 2.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.078e-06/0.6057, allocations: 0 / 458.7 MB, free: 2.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000768/0.6065, allocations: 251.5 kB / 458.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.6066, allocations: 55.41 kB / 459 MB, free: 1.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.607, allocations: 239 kB / 459.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.607, allocations: 37.64 kB / 459.3 MB, free: 1.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.6072, allocations: 258.4 kB / 459.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.6074, allocations: 122.2 kB / 459.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6074, allocations: 4 kB / 459.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6076, allocations: 330.8 kB / 460 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.6079, allocations: 84.88 kB / 460.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.6083, allocations: 159.5 kB / 460.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.6086, allocations: 105.5 kB / 460.3 MB, free: 0.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6087, allocations: 4 kB / 460.3 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000873/0.6096, allocations: 319.1 kB / 460.6 MB, free: 228 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6096, allocations: 8 kB / 460.6 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6096, allocations: 0 / 460.6 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6096, allocations: 4 kB / 460.6 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.6106, allocations: 119.9 kB / 460.8 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.6106, allocations: 8 kB / 460.8 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.6111, allocations: 35.67 kB / 460.8 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.6112, allocations: 16 kB / 460.8 MB, free: 36 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.6114, allocations: 124.9 kB / 460.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.6115, allocations: 31.61 kB / 461 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008786/0.6124, allocations: 304.4 kB / 461.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.6124, allocations: 8 kB / 461.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6124, allocations: 3.953 kB / 461.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6124, allocations: 0 / 461.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.6132, allocations: 401.1 kB / 461.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6132, allocations: 4 kB / 461.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.614, allocations: 83.88 kB / 461.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.614, allocations: 0 / 461.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.6141, allocations: 8 kB / 461.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6141, allocations: 0 / 461.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6141, allocations: 4 kB / 461.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6153, allocations: 490.7 kB / 462.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.6155, allocations: 128.7 kB / 462.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.6156, allocations: 4 kB / 462.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.616, allocations: 15.98 kB / 462.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.6161, allocations: 19.97 kB / 462.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.6161, allocations: 11.98 kB / 462.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002993/0.6164, allocations: 187.2 kB / 462.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6165, allocations: 0 / 462.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005166/0.617, allocations: 99.73 kB / 462.7 MB, free: 14.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.6185, allocations: 1.02 MB / 463.7 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.6193, allocations: 256.2 kB / 464 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6193, allocations: 3.938 kB / 464 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.6196, allocations: 127.8 kB / 464.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.62, allocations: 20.56 kB / 464.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.6221, allocations: 0.6299 MB / 464.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.6226, allocations: 0.7952 MB / 465.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.623, allocations: 115.4 kB / 465.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.623, allocations: 0 / 465.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/3.254, allocations: 5.22 MB / 470.9 MB, free: 5.781 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat