Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01148/0.01149, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001318/0.001318, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.987/1.987, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2796/0.2796, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006508, allocations: 15.98 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1202, allocations: 54.86 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.4151/0.5353, allocations: 71.6 MB / 487.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04996/0.5853, allocations: 16.58 MB / 0.4924 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0183/0.6037, allocations: 363.1 kB / 0.4927 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.6178, allocations: 3.659 MB / 0.4963 GB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0433/0.6612, allocations: 10.24 MB / 0.5063 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008151/0.6694, allocations: 1.053 MB / 0.5073 GB, free: 14.58 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.08003/0.7495, allocations: 26.13 MB / 0.5328 GB, free: 4.426 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01712/0.7667, allocations: 7.923 MB / 0.5406 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.7715, allocations: 1.787 MB / 0.5423 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.7768, allocations: 2.36 MB / 0.5446 GB, free: 8.285 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.7784, allocations: 244 kB / 0.5449 GB, free: 8.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.7824, allocations: 1.046 MB / 0.5459 GB, free: 7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.7871, allocations: 2.646 MB / 0.5485 GB, free: 4.348 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.7896, allocations: 1.349 MB / 0.5498 GB, free: 2.988 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.8047, allocations: 9.539 MB / 0.5591 GB, free: 9.426 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8048, allocations: 0 / 0.5591 GB, free: 9.426 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.8048, allocations: 4 kB / 0.5591 GB, free: 9.422 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004034/0.8052, allocations: 0 / 0.5591 GB, free: 9.422 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.03536/0.8406, allocations: 7.637 MB / 0.5666 GB, free: 1.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.8407, allocations: 16.02 kB / 0.5666 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004086/0.8448, allocations: 1.058 MB / 0.5676 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5229/1.368, allocations: 21.05 MB / 0.5882 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02622/1.394, allocations: 6.132 MB / 0.5942 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/1.395, allocations: 389.9 kB / 0.5945 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/1.398, allocations: 0.523 MB / 0.595 GB, free: 4.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3898/1.788, allocations: 16.2 MB / 0.6109 GB, free: 151.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/1.788, allocations: 72.97 kB / 0.6109 GB, free: 151.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001982/1.79, allocations: 238 kB / 0.6112 GB, free: 151.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007342/1.797, allocations: 2.622 MB / 0.6137 GB, free: 150.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04762/1.845, allocations: 14.55 MB / 0.6279 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/1.964, allocations: 62.98 MB / 0.6894 GB, free: 83.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03238/1.996, allocations: 7.605 MB / 0.6969 GB, free: 76.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04524/2.041, allocations: 18.46 MB / 0.7149 GB, free: 57.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/2.041, allocations: 68.56 kB / 0.715 GB, free: 57.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 7.885e-06/2.041, allocations: 0 / 0.715 GB, free: 57.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=394): time 0.2982/2.34, allocations: 62.49 MB / 0.776 GB, free: 10.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/2.34, allocations: 329.4 kB / 0.7763 GB, free: 10.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/2.356, allocations: 6.312 MB / 0.7825 GB, free: 3.922 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001638/2.358, allocations: 81.7 kB / 0.7825 GB, free: 3.836 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3814/2.739, allocations: 4.401 MB / 0.7868 GB, free: 156.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003464/2.743, allocations: 1.423 MB / 0.7882 GB, free: 156.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/2.745, allocations: 168 kB / 0.7884 GB, free: 156.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009876/2.746, allocations: 0.6597 MB / 0.789 GB, free: 156.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01507/2.762, allocations: 5.011 MB / 0.7939 GB, free: 155.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01902/2.781, allocations: 9.387 MB / 0.8031 GB, free: 147.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01887/2.8, allocations: 6.732 MB / 0.8097 GB, free: 145.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003795/2.8, allocations: 46 kB / 0.8097 GB, free: 145.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.06683/2.867, allocations: 19.15 MB / 0.8284 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/2.867, allocations: 74 kB / 0.8285 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/2.867, allocations: 148.6 kB / 0.8286 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02857/2.896, allocations: 5.564 MB / 0.834 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/2.91, allocations: 1.998 MB / 0.836 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06525/2.976, allocations: 28.27 MB / 0.8636 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01379/2.989, allocations: 0.6337 MB / 0.8642 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002658/2.992, allocations: 491.9 kB / 0.8647 GB, free: 108.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.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 (988): * Single equations (assignments): 982 * 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,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01062/3.003, allocations: 3.145 MB / 0.8678 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002966/3.006, allocations: 0.5477 MB / 0.8683 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05317/3.059, allocations: 14.01 MB / 0.882 GB, free: 90.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.238e-05/3.059, allocations: 41.73 kB / 0.882 GB, free: 90.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/3.059, allocations: 26.06 kB / 0.882 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/3.059, allocations: 27.88 kB / 0.8821 GB, free: 90.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08189/3.141, allocations: 24.52 MB / 0.906 GB, free: 65.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-05/3.141, allocations: 0 / 0.906 GB, free: 65.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007595/3.149, allocations: 0.6865 MB / 0.9067 GB, free: 65.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02825/3.177, allocations: 5.32 MB / 0.9119 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001732/3.179, allocations: 67.98 kB / 0.9119 GB, free: 59.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06674/3.246, allocations: 27.64 MB / 0.9389 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/3.246, allocations: 2.5 kB / 0.9389 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06509/3.311, allocations: 20.78 MB / 0.9592 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006352/3.318, allocations: 1.517 MB / 0.9607 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003178/3.321, allocations: 68 kB / 0.9608 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009096/3.33, allocations: 379.4 kB / 0.9611 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002521/3.333, allocations: 242.8 kB / 0.9614 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001342/3.334, allocations: 96.55 kB / 0.9615 GB, free: 8.598 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.3744/3.708, allocations: 4.124 MB / 0.9655 GB, free: 142.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.92e-07/3.708, allocations: 0 / 0.9655 GB, free: 142.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01294/3.721, allocations: 1.98 MB / 0.9674 GB, free: 142.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.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 (305): * Single equations (assignments): 299 * 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,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07081/3.792, allocations: 21.67 MB / 0.9886 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03544/3.828, allocations: 13.09 MB / 1.001 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/3.828, allocations: 0 / 1.001 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03122/3.859, allocations: 6.446 MB / 1.008 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009259/3.868, allocations: 0.7061 MB / 1.008 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5605/4.429, allocations: 177.1 MB / 1.181 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/4.439, allocations: 5.069 MB / 1.186 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01445/4.454, allocations: 2.919 MB / 1.189 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008836/4.462, allocations: 3.179 MB / 1.192 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.164e-06/4.463, allocations: 0 / 1.192 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7365/5.199, allocations: 156.2 MB / 1.345 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/5.199, allocations: 217.7 kB / 1.345 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/13.19, allocations: 0 / 1.345 GB, free: 131.2 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat