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.229/2.229, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3491, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5505, allocations: 101.5 MB / 470.9 MB, free: 5.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5508, allocations: 83.8 kB / 470.9 MB, free: 4.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8425/1.393, allocations: 128.8 MB / 0.5857 GB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.393, allocations: 0 / 0.5857 GB, free: 1.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004853/1.394, allocations: 132 kB / 0.5858 GB, free: 0.9883 MB / 410.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.03155/1.425, allocations: 7.081 MB / 0.5927 GB, free: 9.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.426, allocations: 8.031 kB / 0.5927 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005748/1.431, allocations: 1.162 MB / 0.5938 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05461/1.486, allocations: 7.109 MB / 0.6008 GB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02853/1.515, allocations: 7.41 MB / 0.608 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008213/1.515, allocations: 497 kB / 0.6085 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003965/1.519, allocations: 0.652 MB / 0.6091 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05979/1.579, allocations: 16.29 MB / 0.625 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005486/1.58, allocations: 87.22 kB / 0.6251 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003299/1.583, allocations: 319.8 kB / 0.6254 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005419/1.589, allocations: 1.545 MB / 0.6269 GB, free: 5.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05943/1.648, allocations: 13.33 MB / 0.64 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4667/2.115, allocations: 72.51 MB / 0.7108 GB, free: 37.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0322/2.147, allocations: 7.484 MB / 0.7181 GB, free: 36.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02483/2.172, allocations: 9.676 MB / 0.7275 GB, free: 35.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/2.172, allocations: 67.03 kB / 0.7276 GB, free: 34.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 6.943e-06/2.172, allocations: 0 / 0.7276 GB, free: 34.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.137/2.309, allocations: 31.93 MB / 0.7588 GB, free: 24.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/2.309, allocations: 245.5 kB / 0.759 GB, free: 24.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01564/2.325, allocations: 6.073 MB / 0.7649 GB, free: 22.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008692/2.326, allocations: 72.45 kB / 0.765 GB, free: 22.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004086/2.33, allocations: 4.447 MB / 0.7693 GB, free: 19.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001989/2.332, allocations: 1.194 MB / 0.7705 GB, free: 18.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/2.334, allocations: 176.2 kB / 0.7707 GB, free: 18.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007824/2.335, allocations: 0.6893 MB / 0.7714 GB, free: 17.63 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009555/2.344, allocations: 3.554 MB / 0.7748 GB, free: 16.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/2.358, allocations: 8.681 MB / 0.7833 GB, free: 7.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/2.371, allocations: 5.438 MB / 0.7886 GB, free: 2.547 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/2.371, allocations: 53.25 kB / 0.7887 GB, free: 2.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.05265/2.424, allocations: 13.95 MB / 0.8023 GB, free: 9.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.424, allocations: 84 kB / 0.8024 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004007/2.425, allocations: 180 kB / 0.8025 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007637/2.432, allocations: 1.678 MB / 0.8042 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/2.447, allocations: 2.112 MB / 0.8062 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/2.473, allocations: 11.63 MB / 0.8176 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/2.484, allocations: 0.5267 MB / 0.8181 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002417/2.487, allocations: 0.5219 MB / 0.8186 GB, free: 10.83 MB / 0.4948 GB 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 () * Number of clocked 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.01026/2.497, allocations: 3.147 MB / 0.8217 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/2.499, allocations: 0.586 MB / 0.8223 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02725/2.526, allocations: 6.793 MB / 0.8289 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/2.527, allocations: 36 kB / 0.8289 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-05/2.527, allocations: 8 kB / 0.8289 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/2.527, allocations: 19.94 kB / 0.829 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4498/2.977, allocations: 15.18 MB / 0.8438 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/2.977, allocations: 3.969 kB / 0.8438 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/2.983, allocations: 0.5905 MB / 0.8444 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006605/2.989, allocations: 1.407 MB / 0.8457 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009332/2.99, allocations: 55.52 kB / 0.8458 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/3.012, allocations: 10.74 MB / 0.8563 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/3.012, allocations: 9.625 kB / 0.8563 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03901/3.051, allocations: 11.9 MB / 0.8679 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005722/3.057, allocations: 1.162 MB / 0.8691 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002997/3.06, allocations: 57.25 kB / 0.8691 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008113/3.068, allocations: 220.9 kB / 0.8693 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001673/3.07, allocations: 191 kB / 0.8695 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005714/3.07, allocations: 84.45 kB / 0.8696 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01547/3.086, allocations: 4.357 MB / 0.8738 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.02e-07/3.086, allocations: 0 / 0.8738 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01626/3.102, allocations: 1.632 MB / 0.8754 GB, free: 103.6 MB / 0.4948 GB 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 () * Number of clocked 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.03441/3.137, allocations: 13.29 MB / 0.8884 GB, free: 97.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02079/3.158, allocations: 8.75 MB / 0.8969 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/3.158, allocations: 3.531 kB / 0.897 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009911/3.168, allocations: 3.46 MB / 0.9003 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/3.174, allocations: 0.6998 MB / 0.901 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5424/3.717, allocations: 190 MB / 1.087 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/3.73, allocations: 4.939 MB / 1.091 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008631/3.738, allocations: 3.224 MB / 1.094 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/3.738, allocations: 0 / 1.094 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.073/9.811, allocations: 186.1 MB / 1.276 GB, free: 135.1 MB / 0.5261 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