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.Rotational3DEffects.BevelGear1D.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.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003562, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.4827, allocations: 96.06 MB / 404.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.4831, allocations: 99.94 kB / 404.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.687/1.17, allocations: 95.85 MB / 0.4888 GB, free: 24.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.17, allocations: 0 / 0.4888 GB, free: 24.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003182/1.17, allocations: 104 kB / 0.4889 GB, free: 24.3 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: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.0413/1.212, allocations: 6.306 MB / 0.4951 GB, free: 17.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.212, allocations: 8.031 kB / 0.4951 GB, free: 17.91 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003911/1.216, allocations: 0.8896 MB / 0.496 GB, free: 17.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0318/1.248, allocations: 4.392 MB / 0.5003 GB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/1.267, allocations: 5.258 MB / 0.5054 GB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/1.267, allocations: 378 kB / 0.5058 GB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/1.27, allocations: 0.5036 MB / 0.5063 GB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/1.313, allocations: 12.89 MB / 0.5188 GB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003583/1.314, allocations: 63.41 kB / 0.5189 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002427/1.316, allocations: 239.9 kB / 0.5191 GB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003152/1.319, allocations: 1.094 MB / 0.5202 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/1.36, allocations: 11.37 MB / 0.5313 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4024/1.763, allocations: 55.92 MB / 0.5859 GB, free: 43.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03451/1.797, allocations: 5.895 MB / 0.5917 GB, free: 42.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/1.801, allocations: 1.043 MB / 0.5927 GB, free: 42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/1.801, allocations: 55.03 kB / 0.5927 GB, free: 41.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 6.963e-06/1.801, allocations: 2.406 kB / 0.5927 GB, free: 41.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=255): time 0.1544/1.955, allocations: 31.39 MB / 0.6234 GB, free: 38.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.955, allocations: 213.2 kB / 0.6236 GB, free: 37.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/1.97, allocations: 3.835 MB / 0.6274 GB, free: 36.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009194/1.971, allocations: 65.64 kB / 0.6274 GB, free: 36.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003359/1.974, allocations: 3.46 MB / 0.6308 GB, free: 34.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.976, allocations: 0.9504 MB / 0.6317 GB, free: 33.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.978, allocations: 138.3 kB / 0.6319 GB, free: 33.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006819/1.978, allocations: 0.5877 MB / 0.6324 GB, free: 32.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008833/1.987, allocations: 3.48 MB / 0.6358 GB, free: 31.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.999, allocations: 7.328 MB / 0.643 GB, free: 25.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.01, allocations: 4.945 MB / 0.6478 GB, free: 23.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/2.01, allocations: 40.06 kB / 0.6478 GB, free: 23.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.04161/2.052, allocations: 12.72 MB / 0.6603 GB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/2.052, allocations: 64.22 kB / 0.6603 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/2.053, allocations: 139.1 kB / 0.6605 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01571/2.068, allocations: 2.273 MB / 0.6627 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/2.084, allocations: 1.637 MB / 0.6643 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04749/2.131, allocations: 15.68 MB / 0.6796 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01464/2.146, allocations: 456.2 kB / 0.68 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002891/2.149, allocations: 434.7 kB / 0.6804 GB, free: 12.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.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 (809): * Single equations (assignments): 803 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01109/2.16, allocations: 2.374 MB / 0.6828 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/2.162, allocations: 406.8 kB / 0.6832 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03511/2.197, allocations: 7.656 MB / 0.6906 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-05/2.197, allocations: 32 kB / 0.6907 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.312e-05/2.197, allocations: 8 kB / 0.6907 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.225e-05/2.198, allocations: 15.95 kB / 0.6907 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05579/2.253, allocations: 15.11 MB / 0.7054 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/2.253, allocations: 4 kB / 0.7054 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005152/2.259, allocations: 443.3 kB / 0.7059 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/2.27, allocations: 2.034 MB / 0.7078 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008416/2.271, allocations: 47.61 kB / 0.7079 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03458/2.305, allocations: 14.31 MB / 0.7219 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.305, allocations: 7.938 kB / 0.7219 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3543/2.66, allocations: 12.07 MB / 0.7337 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004922/2.665, allocations: 0.9679 MB / 0.7346 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.667, allocations: 43.41 kB / 0.7347 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006758/2.673, allocations: 212.5 kB / 0.7349 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/2.675, allocations: 159.8 kB / 0.735 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005845/2.676, allocations: 64.72 kB / 0.7351 GB, free: 117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007548/2.683, allocations: 2.683 MB / 0.7377 GB, free: 116.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.332e-06/2.683, allocations: 0 / 0.7377 GB, free: 116.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009192/2.693, allocations: 1.395 MB / 0.7391 GB, free: 116.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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): 192 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03344/2.726, allocations: 12.92 MB / 0.7517 GB, free: 115.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02007/2.746, allocations: 8.643 MB / 0.7601 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.746, allocations: 0 / 0.7601 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009181/2.755, allocations: 3.752 MB / 0.7638 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/2.759, allocations: 456.5 kB / 0.7642 GB, free: 112.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1397/2.899, allocations: 139.3 MB / 0.9002 GB, free: 304 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.316/3.215, allocations: 3.931 MB / 0.904 GB, free: 137.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01117/3.226, allocations: 2.235 MB / 0.9062 GB, free: 137.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007296/3.234, allocations: 2.28 MB / 0.9085 GB, free: 137.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/3.234, allocations: 0 / 0.9085 GB, free: 137.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/3.47, allocations: 107.6 MB / 1.014 GB, free: 69.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/3.471, allocations: 227.5 kB / 1.014 GB, free: 69.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/10.09, allocations: 0 / 1.014 GB, free: 69.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat