Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003723, allocations: 12 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3409, allocations: 44.52 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5232, allocations: 94.73 MB / 403.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004802/0.5237, allocations: 87.95 kB / 403.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6466/1.17, allocations: 97.12 MB / 0.4888 GB, free: 24.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.17, allocations: 0 / 0.4888 GB, free: 24.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002775/1.171, allocations: 99.94 kB / 0.4889 GB, free: 24.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01948/1.19, allocations: 4.972 MB / 0.4937 GB, free: 19.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.19, allocations: 15.97 kB / 0.4937 GB, free: 19.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004044/1.194, allocations: 0.8696 MB / 0.4946 GB, free: 18.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03344/1.228, allocations: 4.498 MB / 0.499 GB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/1.257, allocations: 5.065 MB / 0.5039 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/1.257, allocations: 361.4 kB / 0.5043 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/1.261, allocations: 475.8 kB / 0.5047 GB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05562/1.317, allocations: 12.03 MB / 0.5165 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005212/1.317, allocations: 67.41 kB / 0.5166 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003892/1.321, allocations: 235.8 kB / 0.5168 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/1.325, allocations: 1.199 MB / 0.5179 GB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/1.359, allocations: 9.96 MB / 0.5277 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3933/1.753, allocations: 52.87 MB / 0.5793 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.774, allocations: 5.225 MB / 0.5844 GB, free: 46.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/1.795, allocations: 8.035 MB / 0.5922 GB, free: 44.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.795, allocations: 54.03 kB / 0.5923 GB, free: 44.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=216): time 6.773e-06/1.795, allocations: 0 / 0.5923 GB, free: 44.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.0807/1.876, allocations: 19.43 MB / 0.6113 GB, free: 40.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/1.876, allocations: 177.6 kB / 0.6114 GB, free: 40.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.886, allocations: 4.196 MB / 0.6155 GB, free: 40.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006761/1.887, allocations: 60.25 kB / 0.6156 GB, free: 40.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003457/1.89, allocations: 3.426 MB / 0.619 GB, free: 38.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001478/1.892, allocations: 0.8938 MB / 0.6198 GB, free: 37.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/1.893, allocations: 134.5 kB / 0.62 GB, free: 37.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005309/1.893, allocations: 0.5813 MB / 0.6205 GB, free: 37.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006598/1.9, allocations: 2.5 MB / 0.623 GB, free: 36.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009622/1.91, allocations: 6.382 MB / 0.6292 GB, free: 30.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009358/1.919, allocations: 3.931 MB / 0.633 GB, free: 28.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/1.919, allocations: 40.81 kB / 0.6331 GB, free: 28.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.03201/1.951, allocations: 9.469 MB / 0.6423 GB, free: 25.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.951, allocations: 64 kB / 0.6424 GB, free: 25.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002602/1.952, allocations: 136.7 kB / 0.6425 GB, free: 25.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003921/1.956, allocations: 0.9191 MB / 0.6434 GB, free: 24.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/1.966, allocations: 1.606 MB / 0.645 GB, free: 23.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.978, allocations: 5.939 MB / 0.6508 GB, free: 18.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007912/1.986, allocations: 377.8 kB / 0.6511 GB, free: 17.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.987, allocations: 399.4 kB / 0.6515 GB, free: 17.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006485/1.994, allocations: 2.367 MB / 0.6538 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.995, allocations: 417.8 kB / 0.6542 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/2.007, allocations: 4.297 MB / 0.6584 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/2.007, allocations: 28 kB / 0.6584 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/2.007, allocations: 4 kB / 0.6585 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-05/2.007, allocations: 10.12 kB / 0.6585 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0311/2.039, allocations: 10.4 MB / 0.6686 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/2.039, allocations: 8 kB / 0.6686 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004365/2.043, allocations: 474.5 kB / 0.6691 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/2.046, allocations: 0.716 MB / 0.6698 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006044/2.047, allocations: 51.8 kB / 0.6698 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/2.06, allocations: 5.542 MB / 0.6752 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/2.06, allocations: 4 kB / 0.6752 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02219/2.082, allocations: 8.325 MB / 0.6834 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/2.086, allocations: 0.8149 MB / 0.6842 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/2.088, allocations: 51.19 kB / 0.6842 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00403/2.092, allocations: 153.5 kB / 0.6844 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008508/2.093, allocations: 143.2 kB / 0.6845 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003833/2.093, allocations: 67.52 kB / 0.6846 GB, free: 4.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009171/2.102, allocations: 3.01 MB / 0.6875 GB, free: 2.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.32e-07/2.102, allocations: 3.5 kB / 0.6875 GB, free: 2.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00885/2.111, allocations: 1.15 MB / 0.6886 GB, free: 0.9219 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02342/2.135, allocations: 10.13 MB / 0.6985 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01725/2.152, allocations: 6.126 MB / 0.7045 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.152, allocations: 0 / 0.7045 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007006/2.159, allocations: 2.267 MB / 0.7067 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/2.163, allocations: 476.8 kB / 0.7072 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4161/2.579, allocations: 136.3 MB / 0.8403 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008753/2.588, allocations: 3.755 MB / 0.8439 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01017/2.598, allocations: 2.213 MB / 0.8461 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005584/2.604, allocations: 2.221 MB / 0.8483 GB, free: 13.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/2.604, allocations: 0 / 0.8483 GB, free: 13.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4931/3.097, allocations: 90.5 MB / 0.9366 GB, free: 117.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/3.098, allocations: 216.2 kB / 0.9368 GB, free: 117 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/10.11, allocations: 0 / 0.9368 GB, free: 117 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat