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.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007191/0.0007189, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3646, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.5604, allocations: 105.5 MB / 474.8 MB, free: 1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5608, allocations: 83.8 kB / 474.9 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665/2.226, allocations: 236.9 MB / 0.6951 GB, free: 41.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/2.226, allocations: 3.75 kB / 0.6951 GB, free: 41.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009782/2.227, allocations: 250.5 kB / 0.6953 GB, free: 41.02 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05906/2.286, allocations: 13.25 MB / 0.7083 GB, free: 36.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/2.286, allocations: 9.969 kB / 0.7083 GB, free: 36.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01096/2.297, allocations: 2.168 MB / 0.7104 GB, free: 35.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09417/2.391, allocations: 12.78 MB / 0.7229 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04588/2.437, allocations: 13.29 MB / 0.7358 GB, free: 33.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001304/2.438, allocations: 0.9471 MB / 0.7368 GB, free: 33.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007266/2.446, allocations: 1.258 MB / 0.738 GB, free: 33.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09995/2.546, allocations: 30.27 MB / 0.7676 GB, free: 8.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00104/2.547, allocations: 149.6 kB / 0.7677 GB, free: 8.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006801/2.554, allocations: 0.5847 MB / 0.7683 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006541/2.56, allocations: 2.852 MB / 0.7711 GB, free: 5.219 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09007/2.65, allocations: 24.88 MB / 0.7954 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6326/3.283, allocations: 127.3 MB / 0.9196 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06859/3.352, allocations: 15.05 MB / 0.9343 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05263/3.404, allocations: 20.22 MB / 0.9541 GB, free: 28.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/3.405, allocations: 106 kB / 0.9542 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.133e-05/3.405, allocations: 0 / 0.9542 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.3053/3.71, allocations: 69.63 MB / 1.022 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002902/3.71, allocations: 384.8 kB / 1.023 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4374/4.148, allocations: 10.7 MB / 1.033 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001947/4.15, allocations: 128.8 kB / 1.033 GB, free: 125 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.008472/4.158, allocations: 7.883 MB / 1.041 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004662/4.163, allocations: 2.388 MB / 1.043 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003306/4.166, allocations: 309.3 kB / 1.043 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001757/4.168, allocations: 0.9655 MB / 1.044 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01927/4.187, allocations: 6.752 MB / 1.051 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02481/4.212, allocations: 15.03 MB / 1.066 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02381/4.236, allocations: 9.87 MB / 1.075 GB, free: 110 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000408/4.237, allocations: 81.84 kB / 1.075 GB, free: 110 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07105/4.308, allocations: 24.18 MB / 1.099 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000281/4.308, allocations: 132.3 kB / 1.099 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006164/4.309, allocations: 287.5 kB / 1.099 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01425/4.323, allocations: 3.281 MB / 1.103 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02541/4.348, allocations: 3.739 MB / 1.106 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04361/4.392, allocations: 23.12 MB / 1.129 GB, free: 92.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02008/4.412, allocations: 0.928 MB / 1.13 GB, free: 91.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004206/4.416, allocations: 0.8739 MB / 1.131 GB, free: 91.73 MB / 0.5417 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.01871/4.435, allocations: 5.667 MB / 1.136 GB, free: 89.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004147/4.439, allocations: 1.068 MB / 1.137 GB, free: 88.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04605/4.485, allocations: 14.79 MB / 1.152 GB, free: 80.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/4.486, allocations: 66.89 kB / 1.152 GB, free: 80.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.914e-05/4.486, allocations: 21.5 kB / 1.152 GB, free: 80.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002014/4.486, allocations: 33.39 kB / 1.152 GB, free: 80.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1002/4.586, allocations: 32.55 MB / 1.184 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001123/4.586, allocations: 12 kB / 1.184 GB, free: 54.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01296/4.599, allocations: 1.306 MB / 1.185 GB, free: 53.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/4.612, allocations: 2.825 MB / 1.188 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002079/4.614, allocations: 127 kB / 1.188 GB, free: 51.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04362/4.658, allocations: 21.66 MB / 1.209 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/4.658, allocations: 15.94 kB / 1.209 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5856/5.244, allocations: 26.84 MB / 1.235 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008867/5.253, allocations: 2.182 MB / 1.237 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005532/5.258, allocations: 123.2 kB / 1.237 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01213/5.27, allocations: 457.3 kB / 1.238 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002892/5.273, allocations: 412.8 kB / 1.238 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002032/5.275, allocations: 169.9 kB / 1.238 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02318/5.299, allocations: 7.706 MB / 1.246 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.32e-07/5.299, allocations: 0 / 1.246 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02215/5.321, allocations: 3.085 MB / 1.249 GB, free: 106.3 MB / 0.5417 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.0658/5.387, allocations: 27.53 MB / 1.276 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04684/5.434, allocations: 16.75 MB / 1.292 GB, free: 97.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/5.434, allocations: 3.375 kB / 1.292 GB, free: 97.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02672/5.46, allocations: 7.192 MB / 1.299 GB, free: 94.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/5.476, allocations: 1.344 MB / 1.3 GB, free: 94.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9372/6.413, allocations: 345 MB / 1.637 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02607/6.439, allocations: 8.79 MB / 1.646 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01889/6.458, allocations: 6.423 MB / 1.652 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/6.458, allocations: 5.062 kB / 1.652 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.798/15.26, allocations: 446.5 MB / 2.088 GB, free: 77.49 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat