Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.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.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 235 MB / 248.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.061e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4038, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.5943, allocations: 101.4 MB / 466 MB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5947, allocations: 75.95 kB / 466.1 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8656/1.46, allocations: 128.9 MB / 0.5811 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.46, allocations: 0 / 0.5811 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004279/1.461, allocations: 133 kB / 0.5812 GB, free: 102.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02615/1.487, allocations: 6.556 MB / 0.5876 GB, free: 99.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.487, allocations: 10.44 kB / 0.5876 GB, free: 99.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004658/1.492, allocations: 1.153 MB / 0.5887 GB, free: 98.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05198/1.544, allocations: 7.12 MB / 0.5957 GB, free: 95.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02627/1.57, allocations: 7.373 MB / 0.6029 GB, free: 90.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005789/1.571, allocations: 497.8 kB / 0.6034 GB, free: 89.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/1.574, allocations: 0.6508 MB / 0.604 GB, free: 89.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04855/1.623, allocations: 16.17 MB / 0.6198 GB, free: 71.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/1.623, allocations: 91.17 kB / 0.6199 GB, free: 71.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003176/1.627, allocations: 316.6 kB / 0.6202 GB, free: 71.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/1.63, allocations: 1.545 MB / 0.6217 GB, free: 69.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0414/1.672, allocations: 13.16 MB / 0.6345 GB, free: 56.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5335/2.205, allocations: 72.51 MB / 0.7053 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03484/2.24, allocations: 7.42 MB / 0.7126 GB, free: 95.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008446/2.249, allocations: 3.818 MB / 0.7163 GB, free: 95.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/2.275, allocations: 9.652 MB / 0.7257 GB, free: 94.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/2.275, allocations: 67.25 kB / 0.7258 GB, free: 94.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 7.194e-06/2.275, allocations: 0 / 0.7258 GB, free: 94.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.1295/2.405, allocations: 27.64 MB / 0.7528 GB, free: 87.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/2.405, allocations: 235.4 kB / 0.753 GB, free: 87.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01682/2.422, allocations: 6.005 MB / 0.7589 GB, free: 85.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/2.423, allocations: 71.64 kB / 0.759 GB, free: 85.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004401/2.427, allocations: 4.458 MB / 0.7633 GB, free: 81.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002096/2.429, allocations: 1.192 MB / 0.7645 GB, free: 81.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/2.431, allocations: 179.1 kB / 0.7646 GB, free: 80.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006745/2.431, allocations: 0.6803 MB / 0.7653 GB, free: 80.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009707/2.441, allocations: 3.48 MB / 0.7687 GB, free: 79.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/2.454, allocations: 8.601 MB / 0.7771 GB, free: 71.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.467, allocations: 5.419 MB / 0.7824 GB, free: 69.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002078/2.467, allocations: 56.39 kB / 0.7825 GB, free: 69.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03718/2.504, allocations: 13.1 MB / 0.7953 GB, free: 61.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/2.505, allocations: 88.25 kB / 0.7953 GB, free: 61.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002796/2.505, allocations: 180 kB / 0.7955 GB, free: 61.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007204/2.512, allocations: 1.677 MB / 0.7971 GB, free: 60.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/2.527, allocations: 2.105 MB / 0.7992 GB, free: 58.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/2.547, allocations: 11.23 MB / 0.8102 GB, free: 48.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.558, allocations: 0.5276 MB / 0.8107 GB, free: 48.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002184/2.561, allocations: 0.5251 MB / 0.8112 GB, free: 47.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1084): * Single equations (assignments): 1079 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003235/2.564, allocations: 0.7805 MB / 0.812 GB, free: 46.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.565, allocations: 0.5784 MB / 0.8125 GB, free: 46.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/2.585, allocations: 6.739 MB / 0.8191 GB, free: 40.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-05/2.585, allocations: 32.5 kB / 0.8191 GB, free: 40.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/2.585, allocations: 8.938 kB / 0.8191 GB, free: 40.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.447e-05/2.585, allocations: 17.22 kB / 0.8192 GB, free: 40.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04447/2.63, allocations: 15.14 MB / 0.8339 GB, free: 26.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/2.63, allocations: 5.25 kB / 0.8339 GB, free: 26.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006005/2.636, allocations: 0.5889 MB / 0.8345 GB, free: 26.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006237/2.642, allocations: 1.402 MB / 0.8359 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/2.643, allocations: 56 kB / 0.8359 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/2.663, allocations: 10.42 MB / 0.8461 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/2.663, allocations: 7.938 kB / 0.8461 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/2.69, allocations: 11.81 MB / 0.8577 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/2.695, allocations: 1.158 MB / 0.8588 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.697, allocations: 63.27 kB / 0.8588 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005911/2.703, allocations: 207.7 kB / 0.859 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/2.704, allocations: 197.9 kB / 0.8592 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/2.704, allocations: 87.61 kB / 0.8593 GB, free: 296 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01308/2.717, allocations: 4.287 MB / 0.8635 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.717, allocations: 4 kB / 0.8635 GB, free: 12.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01179/2.729, allocations: 1.626 MB / 0.8651 GB, free: 10.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03389/2.763, allocations: 13.19 MB / 0.878 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3643/3.128, allocations: 8.618 MB / 0.8864 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/3.128, allocations: 0.8438 kB / 0.8864 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01082/3.139, allocations: 3.411 MB / 0.8897 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006791/3.145, allocations: 0.6973 MB / 0.8904 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05312/3.199, allocations: 15.94 MB / 0.906 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/3.209, allocations: 4.924 MB / 0.9108 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007803/3.217, allocations: 3.225 MB / 0.9139 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/3.217, allocations: 3.469 kB / 0.9139 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.984/9.201, allocations: 185.6 MB / 1.095 GB, free: 123.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat