Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004021, allocations: 11.98 kB / 233.4 MB, free: 172 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09118, allocations: 38.77 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.4878, allocations: 89 MB / 361.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/0.4882, allocations: 95.94 kB / 361.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6798/1.168, allocations: 97.04 MB / 458.3 MB, free: 79.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.168, allocations: 0 / 458.3 MB, free: 79.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000261/1.168, allocations: 97.06 kB / 458.4 MB, free: 79.54 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.02054/1.189, allocations: 4.973 MB / 463.3 MB, free: 77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.189, allocations: 9.562 kB / 463.3 MB, free: 77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004529/1.194, allocations: 0.8686 MB / 464.2 MB, free: 76.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04409/1.238, allocations: 4.498 MB / 468.7 MB, free: 75.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.261, allocations: 5.058 MB / 473.8 MB, free: 73.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005156/1.262, allocations: 367.5 kB / 474.1 MB, free: 73.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/1.265, allocations: 474.1 kB / 474.6 MB, free: 73.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03516/1.3, allocations: 12.03 MB / 486.6 MB, free: 62.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/1.301, allocations: 63.41 kB / 486.7 MB, free: 62.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/1.303, allocations: 234.5 kB / 486.9 MB, free: 62.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/1.305, allocations: 1.191 MB / 488.1 MB, free: 61.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03025/1.336, allocations: 9.972 MB / 498.1 MB, free: 51.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3407/1.676, allocations: 52.82 MB / 0.538 GB, free: 63.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/1.699, allocations: 5.24 MB / 0.5431 GB, free: 62.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/1.722, allocations: 8.027 MB / 0.5509 GB, free: 60.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.722, allocations: 54.12 kB / 0.551 GB, free: 60.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=216): time 7.294e-06/1.722, allocations: 0 / 0.551 GB, free: 60.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=237): time 0.08214/1.804, allocations: 19.43 MB / 0.57 GB, free: 57.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/1.804, allocations: 184.3 kB / 0.5701 GB, free: 57.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.815, allocations: 4.197 MB / 0.5742 GB, free: 55.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006435/1.816, allocations: 58.16 kB / 0.5743 GB, free: 55.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.819, allocations: 3.421 MB / 0.5776 GB, free: 53.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.821, allocations: 0.8895 MB / 0.5785 GB, free: 52.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009981/1.822, allocations: 133.2 kB / 0.5786 GB, free: 52.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006224/1.822, allocations: 0.5832 MB / 0.5792 GB, free: 51.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006905/1.829, allocations: 2.501 MB / 0.5816 GB, free: 51.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009821/1.839, allocations: 6.377 MB / 0.5879 GB, free: 45.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009612/1.849, allocations: 3.932 MB / 0.5917 GB, free: 43.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/1.849, allocations: 42.66 kB / 0.5918 GB, free: 43.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02804/1.877, allocations: 9.47 MB / 0.601 GB, free: 40.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.877, allocations: 68.53 kB / 0.6011 GB, free: 40.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002083/1.878, allocations: 137.7 kB / 0.6012 GB, free: 40.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/1.882, allocations: 0.9229 MB / 0.6021 GB, free: 40.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.892, allocations: 1.595 MB / 0.6037 GB, free: 40.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.903, allocations: 5.929 MB / 0.6095 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007723/1.911, allocations: 382 kB / 0.6098 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.912, allocations: 399.9 kB / 0.6102 GB, free: 34.9 MB / 346.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.006901/1.919, allocations: 2.367 MB / 0.6125 GB, free: 32.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.921, allocations: 420.7 kB / 0.6129 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.934, allocations: 4.3 MB / 0.6171 GB, free: 28.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.401e-05/1.934, allocations: 25.17 kB / 0.6171 GB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.934, allocations: 7.281 kB / 0.6171 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/1.934, allocations: 13.28 kB / 0.6172 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/1.966, allocations: 10.39 MB / 0.6273 GB, free: 20.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/1.966, allocations: 7.703 kB / 0.6273 GB, free: 20.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004468/1.97, allocations: 477.7 kB / 0.6278 GB, free: 20 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.974, allocations: 0.719 MB / 0.6285 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/1.974, allocations: 44 kB / 0.6285 GB, free: 19.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.985, allocations: 5.461 MB / 0.6338 GB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.985, allocations: 11.94 kB / 0.6339 GB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/2.002, allocations: 8.325 MB / 0.642 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003105/2.005, allocations: 0.8157 MB / 0.6428 GB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/2.006, allocations: 49.31 kB / 0.6428 GB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/2.011, allocations: 135.8 kB / 0.643 GB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007903/2.011, allocations: 153.6 kB / 0.6431 GB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/2.012, allocations: 68.53 kB / 0.6432 GB, free: 4.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.007697/2.019, allocations: 3.014 MB / 0.6461 GB, free: 1.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.019, allocations: 0 / 0.6461 GB, free: 1.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007972/2.027, allocations: 1.148 MB / 0.6472 GB, free: 452 kB / 346.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.0231/2.051, allocations: 10.15 MB / 0.6571 GB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01654/2.067, allocations: 6.132 MB / 0.6631 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.067, allocations: 0 / 0.6631 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007047/2.074, allocations: 2.267 MB / 0.6653 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/2.079, allocations: 486.2 kB / 0.6658 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4048/2.483, allocations: 136.2 MB / 0.7989 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009787/2.493, allocations: 3.766 MB / 0.8025 GB, free: 172 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01003/2.503, allocations: 2.211 MB / 0.8047 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2748/2.778, allocations: 2.657 MB / 0.8073 GB, free: 114 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/2.778, allocations: 2.469 kB / 0.8073 GB, free: 114 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/3.008, allocations: 90.48 MB / 0.8957 GB, free: 62.47 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/3.009, allocations: 212.6 kB / 0.8959 GB, free: 62.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.082/9.091, allocations: 4.062 kB / 0.8959 GB, free: 62.23 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat