Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004404, allocations: 11.94 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.528, allocations: 93.05 MB / 424.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5283, allocations: 75.95 kB / 424.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6063/1.135, allocations: 76.27 MB / 0.489 GB, free: 92.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.135, allocations: 0 / 0.489 GB, free: 92.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002307/1.135, allocations: 68.62 kB / 0.4891 GB, free: 92.89 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: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01535/1.15, allocations: 3.838 MB / 0.4928 GB, free: 91.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.15, allocations: 10.97 kB / 0.4928 GB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002924/1.153, allocations: 0.672 MB / 0.4935 GB, free: 91.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03817/1.191, allocations: 4.316 MB / 0.4977 GB, free: 90.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/1.217, allocations: 4.492 MB / 0.5021 GB, free: 89.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004984/1.218, allocations: 276.8 kB / 0.5024 GB, free: 89.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/1.22, allocations: 363.6 kB / 0.5027 GB, free: 89.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.256, allocations: 9.131 MB / 0.5116 GB, free: 82.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/1.257, allocations: 64.06 kB / 0.5117 GB, free: 82.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/1.259, allocations: 185.4 kB / 0.5119 GB, free: 82.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/1.261, allocations: 0.8776 MB / 0.5127 GB, free: 82.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/1.292, allocations: 7.318 MB / 0.5199 GB, free: 75.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/1.401, allocations: 44.04 MB / 0.5629 GB, free: 29.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.417, allocations: 3.506 MB / 0.5663 GB, free: 26.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/1.432, allocations: 7.197 MB / 0.5733 GB, free: 18.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.432, allocations: 43.56 kB / 0.5734 GB, free: 18.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 6.322e-06/1.432, allocations: 4 kB / 0.5734 GB, free: 18.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=184): time 0.1088/1.541, allocations: 19.6 MB / 0.5925 GB, free: 14.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/1.541, allocations: 197.2 kB / 0.5927 GB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/1.55, allocations: 3.3 MB / 0.5959 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004966/1.551, allocations: 49.7 kB / 0.596 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00336/1.554, allocations: 2.76 MB / 0.5987 GB, free: 8.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.555, allocations: 0.7016 MB / 0.5994 GB, free: 7.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007654/1.556, allocations: 116 kB / 0.5995 GB, free: 7.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005559/1.557, allocations: 0.5585 MB / 0.6 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00603/1.563, allocations: 2.002 MB / 0.602 GB, free: 5.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009952/1.573, allocations: 5.533 MB / 0.6074 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008911/1.582, allocations: 3.264 MB / 0.6106 GB, free: 10.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/1.582, allocations: 36 kB / 0.6106 GB, free: 10.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.04029/1.622, allocations: 9.025 MB / 0.6194 GB, free: 1.543 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.623, allocations: 60 kB / 0.6195 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/1.623, allocations: 124 kB / 0.6196 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3396/1.962, allocations: 1.59 MB / 0.6211 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008214/1.971, allocations: 1.281 MB / 0.6224 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/1.998, allocations: 9.555 MB / 0.6317 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/2.005, allocations: 309.7 kB / 0.632 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/2.007, allocations: 357.6 kB / 0.6324 GB, free: 107.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 687 * Array equations: 3 * 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: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006177/2.013, allocations: 1.891 MB / 0.6342 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009107/2.014, allocations: 333.5 kB / 0.6345 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/2.032, allocations: 3.929 MB / 0.6384 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.123e-05/2.032, allocations: 20.8 kB / 0.6384 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/2.032, allocations: 11.44 kB / 0.6384 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/2.032, allocations: 14.56 kB / 0.6384 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03734/2.069, allocations: 8.121 MB / 0.6463 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/2.069, allocations: 0 / 0.6463 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/2.073, allocations: 237 kB / 0.6466 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/2.084, allocations: 1.276 MB / 0.6478 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005111/2.085, allocations: 31.58 kB / 0.6478 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0281/2.113, allocations: 7.826 MB / 0.6555 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.113, allocations: 1.438 kB / 0.6555 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/2.136, allocations: 6.327 MB / 0.6617 GB, free: 97.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/2.138, allocations: 0.6072 MB / 0.6623 GB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009134/2.139, allocations: 29.31 kB / 0.6623 GB, free: 97.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/2.142, allocations: 88.73 kB / 0.6624 GB, free: 97.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005723/2.143, allocations: 112.2 kB / 0.6625 GB, free: 97.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/2.143, allocations: 51.58 kB / 0.6625 GB, free: 97.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005649/2.149, allocations: 2.29 MB / 0.6648 GB, free: 96.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.149, allocations: 0 / 0.6648 GB, free: 96.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007254/2.156, allocations: 0.9691 MB / 0.6657 GB, free: 96.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * 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: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02158/2.178, allocations: 7.147 MB / 0.6727 GB, free: 93.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/2.19, allocations: 4.993 MB / 0.6776 GB, free: 91.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.19, allocations: 0 / 0.6776 GB, free: 91.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/2.194, allocations: 1.641 MB / 0.6792 GB, free: 90.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/2.197, allocations: 361.6 kB / 0.6795 GB, free: 89.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5158/2.713, allocations: 118.6 MB / 0.7953 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.723, allocations: 3.042 MB / 0.7983 GB, free: 123.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005866/2.729, allocations: 1.684 MB / 0.7999 GB, free: 123.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.763e-06/2.729, allocations: 0 / 0.7999 GB, free: 123.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.191/6.92, allocations: 89.5 MB / 0.8873 GB, free: 57.84 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat