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.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.091/2.091, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004368, allocations: 12 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5393, allocations: 98.65 MB / 430 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.5396, allocations: 75.97 kB / 430.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/2.077, allocations: 236.5 MB / 0.6509 GB, free: 29.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/2.077, allocations: 0 / 0.6509 GB, free: 29.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008905/2.078, allocations: 250 kB / 0.6512 GB, free: 29.74 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05832/2.136, allocations: 13.23 MB / 0.6641 GB, free: 24.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/2.136, allocations: 10.53 kB / 0.6641 GB, free: 24.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01006/2.146, allocations: 2.169 MB / 0.6662 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09575/2.242, allocations: 12.78 MB / 0.6787 GB, free: 23.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05407/2.296, allocations: 13.28 MB / 0.6917 GB, free: 22.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001655/2.298, allocations: 0.9472 MB / 0.6926 GB, free: 22.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008852/2.307, allocations: 1.247 MB / 0.6938 GB, free: 22.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1519/2.459, allocations: 30.25 MB / 0.7234 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001049/2.46, allocations: 147.5 kB / 0.7235 GB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006911/2.467, allocations: 0.584 MB / 0.7241 GB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006747/2.474, allocations: 2.856 MB / 0.7269 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08162/2.555, allocations: 24.86 MB / 0.7511 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.764/3.319, allocations: 127.5 MB / 0.8756 GB, free: 28.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07349/3.393, allocations: 15.06 MB / 0.8903 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05347/3.447, allocations: 20.22 MB / 0.9101 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.411e-05/3.447, allocations: 93.75 kB / 0.9102 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=566): time 1.145e-05/3.447, allocations: 2.656 kB / 0.9102 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=650): time 0.3724/3.819, allocations: 69.63 MB / 0.9782 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003077/3.82, allocations: 380 kB / 0.9785 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03684/3.856, allocations: 10.82 MB / 0.9891 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00209/3.859, allocations: 129.7 kB / 0.9892 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01051/3.869, allocations: 7.876 MB / 0.9969 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005169/3.874, allocations: 2.383 MB / 0.9993 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/3.878, allocations: 315.2 kB / 0.9996 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00215/3.88, allocations: 0.9634 MB / 1 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04056/3.921, allocations: 7.959 MB / 1.008 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4338/4.355, allocations: 15.03 MB / 1.023 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02618/4.381, allocations: 9.865 MB / 1.033 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004818/4.381, allocations: 82.12 kB / 1.033 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07352/4.455, allocations: 24.17 MB / 1.056 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/4.455, allocations: 126.9 kB / 1.056 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007211/4.456, allocations: 292.9 kB / 1.057 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/4.476, allocations: 3.28 MB / 1.06 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03412/4.51, allocations: 3.74 MB / 1.064 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05054/4.561, allocations: 23.13 MB / 1.086 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02113/4.582, allocations: 0.9284 MB / 1.087 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005071/4.587, allocations: 0.8705 MB / 1.088 GB, free: 95.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1877): * Single equations (assignments): 1870 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0211/4.608, allocations: 5.668 MB / 1.093 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004754/4.613, allocations: 1.067 MB / 1.094 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04818/4.661, allocations: 14.79 MB / 1.109 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/4.661, allocations: 72.22 kB / 1.109 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001225/4.662, allocations: 18.62 kB / 1.109 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002162/4.662, allocations: 27.75 kB / 1.109 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1014/4.763, allocations: 32.55 MB / 1.141 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001068/4.763, allocations: 16 kB / 1.141 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.013/4.776, allocations: 1.305 MB / 1.142 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01271/4.789, allocations: 2.829 MB / 1.145 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001985/4.791, allocations: 123.3 kB / 1.145 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04307/4.834, allocations: 21.66 MB / 1.166 GB, free: 46.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/4.834, allocations: 15.94 kB / 1.166 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4672/5.302, allocations: 26.38 MB / 1.192 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009658/5.311, allocations: 2.192 MB / 1.194 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005876/5.317, allocations: 119.4 kB / 1.194 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/5.33, allocations: 455.2 kB / 1.195 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003088/5.333, allocations: 415.5 kB / 1.195 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00161/5.335, allocations: 171 kB / 1.195 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02416/5.359, allocations: 7.712 MB / 1.203 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/5.359, allocations: 2.594 kB / 1.203 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02269/5.382, allocations: 3.083 MB / 1.206 GB, free: 95.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06679/5.449, allocations: 27.52 MB / 1.233 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04203/5.491, allocations: 16.76 MB / 1.249 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/5.491, allocations: 0 / 1.249 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02093/5.512, allocations: 7.198 MB / 1.256 GB, free: 86.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/5.525, allocations: 1.335 MB / 1.257 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8122/6.337, allocations: 345 MB / 1.594 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02432/6.362, allocations: 8.774 MB / 1.603 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01874/6.38, allocations: 6.421 MB / 1.609 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/6.38, allocations: 0 / 1.609 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.501/15.88, allocations: 446.1 MB / 2.045 GB, free: 157.6 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat