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.358/2.358, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 8 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.348, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.5154, allocations: 85.07 MB / 454.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5157, allocations: 75.89 kB / 454.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02551/0.5413, allocations: 5.536 MB / 460 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5413, allocations: 0 / 460 MB, free: 15.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.5414, allocations: 12 kB / 460.1 MB, free: 15.76 MB / 394.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.001784/0.5432, allocations: 0.6281 MB / 460.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5432, allocations: 16.03 kB / 460.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5434, allocations: 74.53 kB / 460.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5435, allocations: 39.53 kB / 460.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.544, allocations: 286.2 kB / 461.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.5441, allocations: 34.03 kB / 461.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.5442, allocations: 36 kB / 461.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.5452, allocations: 342.4 kB / 461.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.5452, allocations: 7.953 kB / 461.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.5453, allocations: 16 kB / 461.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5453, allocations: 8 kB / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.5464, allocations: 311.8 kB / 461.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.5501, allocations: 1.353 MB / 463.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/0.5511, allocations: 276.8 kB / 463.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.5511, allocations: 4.281 kB / 463.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5512, allocations: 42.83 kB / 463.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/0.5512, allocations: 0 / 463.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001464/0.5527, allocations: 399.8 kB / 463.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.5527, allocations: 59.41 kB / 463.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.5532, allocations: 233.8 kB / 464.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.5532, allocations: 37.64 kB / 464.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.5534, allocations: 258.4 kB / 464.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5536, allocations: 118.2 kB / 464.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.5536, allocations: 8 kB / 464.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5538, allocations: 326.8 kB / 464.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.5543, allocations: 112.8 kB / 465 MB, free: 10.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.5548, allocations: 171.5 kB / 465.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.5553, allocations: 129.5 kB / 465.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5553, allocations: 4 kB / 465.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001157/0.5565, allocations: 359.1 kB / 465.7 MB, free: 9.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.5565, allocations: 4 kB / 465.7 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5565, allocations: 4 kB / 465.7 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.5566, allocations: 4 kB / 465.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.5575, allocations: 112.1 kB / 465.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.5575, allocations: 7.953 kB / 465.8 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.5582, allocations: 43.58 kB / 465.8 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.5583, allocations: 12 kB / 465.8 MB, free: 9.668 MB / 394.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 () * Number of clocked 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.0004284/0.5588, allocations: 153.7 kB / 466 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.559, allocations: 35.61 kB / 466 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.5606, allocations: 336.3 kB / 466.4 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5607, allocations: 4 kB / 466.4 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5607, allocations: 0 / 466.4 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.5607, allocations: 3.953 kB / 466.4 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.5616, allocations: 401.1 kB / 466.8 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5616, allocations: 4 kB / 466.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.5625, allocations: 83.88 kB / 466.8 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.5625, allocations: 4 kB / 466.8 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.5626, allocations: 8 kB / 466.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.5626, allocations: 11.94 kB / 466.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5626, allocations: 0 / 466.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.5642, allocations: 0.5301 MB / 467.4 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.5645, allocations: 128.7 kB / 467.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.5646, allocations: 8 kB / 467.5 MB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.565, allocations: 23.98 kB / 467.6 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5651, allocations: 19.97 kB / 467.6 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.5652, allocations: 8 kB / 467.6 MB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003556/0.5656, allocations: 190 kB / 467.8 MB, free: 7.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5656, allocations: 0 / 467.8 MB, free: 7.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006277/0.5662, allocations: 95.78 kB / 467.9 MB, free: 7.555 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 () * Number of clocked 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.001991/0.5682, allocations: 1.073 MB / 468.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.5693, allocations: 296 kB / 469.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5694, allocations: 0 / 469.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.5699, allocations: 144.2 kB / 469.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.5704, allocations: 24.55 kB / 469.4 MB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.5763, allocations: 3.104 MB / 472.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.5768, allocations: 0.7952 MB / 473.3 MB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.5772, allocations: 115.4 kB / 473.4 MB, free: 1.879 MB / 394.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5772, allocations: 0 / 473.4 MB, free: 1.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.995/3.572, allocations: 5.191 MB / 478.6 MB, free: 95.5 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