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.GearConstraint2.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.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",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.01097/0.01097, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001188/0.001188, allocations: 179.2 kB / 15.95 MB, free: 5.957 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 2.015/2.015, allocations: 194.5 MB / 211.2 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.2664/0.2664, allocations: 40.03 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005029, allocations: 12 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.4972/0.6241, allocations: 127.1 MB / 0.5304 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.08644/0.7106, allocations: 27.54 MB / 0.5573 GB, free: 9.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03555/0.7462, allocations: 0.6312 MB / 0.5579 GB, free: 8.824 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0273/0.7736, allocations: 6.699 MB / 0.5644 GB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07753/0.8512, allocations: 18.13 MB / 0.5821 GB, free: 1.414 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.8625, allocations: 1.394 MB / 0.5835 GB, free: 20 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1119/0.9744, allocations: 37.1 MB / 0.6197 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4483/1.423, allocations: 14.43 MB / 0.6338 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009244/1.432, allocations: 3.588 MB / 0.6373 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/1.443, allocations: 4.73 MB / 0.6419 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004455/1.448, allocations: 0.5138 MB / 0.6424 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007071/1.455, allocations: 1.204 MB / 0.6436 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01192/1.467, allocations: 5.548 MB / 0.649 GB, free: 39.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00791/1.475, allocations: 2.9 MB / 0.6519 GB, free: 39.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03462/1.509, allocations: 19.39 MB / 0.6708 GB, free: 34.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.509, allocations: 0 / 0.6708 GB, free: 34.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.617e-06/1.509, allocations: 0 / 0.6708 GB, free: 34.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001191/1.511, allocations: 0 / 0.6708 GB, free: 34.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05702/1.568, allocations: 13.76 MB / 0.6842 GB, free: 26.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.568, allocations: 8.188 kB / 0.6843 GB, free: 26.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01111/1.579, allocations: 2.518 MB / 0.6867 GB, free: 25.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2285/1.807, allocations: 21.24 MB / 0.7075 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03424/1.842, allocations: 9.899 MB / 0.7171 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/1.843, allocations: 0.7909 MB / 0.7179 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007677/1.851, allocations: 1.09 MB / 0.719 GB, free: 4.695 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1391/1.99, allocations: 37.15 MB / 0.7552 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009818/1.991, allocations: 113.7 kB / 0.7553 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006859/1.998, allocations: 0.4895 MB / 0.7558 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02185/2.019, allocations: 7.562 MB / 0.7632 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1161/2.136, allocations: 33.26 MB / 0.7957 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7173/2.853, allocations: 131.1 MB / 0.9237 GB, free: 131.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06413/2.917, allocations: 15.93 MB / 0.9392 GB, free: 126.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1149/3.032, allocations: 35.95 MB / 0.9743 GB, free: 111.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/3.032, allocations: 101 kB / 0.9744 GB, free: 111.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=747): time 1.447e-05/3.032, allocations: 3.906 kB / 0.9744 GB, free: 111.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=829): time 0.4156/3.448, allocations: 85.56 MB / 1.058 GB, free: 48.39 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/3.448, allocations: 312.4 kB / 1.058 GB, free: 48.03 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02967/3.478, allocations: 11.08 MB / 1.069 GB, free: 36.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002229/3.48, allocations: 144.8 kB / 1.069 GB, free: 36.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009048/3.489, allocations: 9.781 MB / 1.079 GB, free: 27.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005554/3.495, allocations: 2.995 MB / 1.082 GB, free: 24.08 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00387/3.499, allocations: 358.9 kB / 1.082 GB, free: 23.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002594/3.501, allocations: 1.095 MB / 1.083 GB, free: 22.63 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02427/3.526, allocations: 8.445 MB / 1.091 GB, free: 14.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4161/3.942, allocations: 17.94 MB / 1.109 GB, free: 189.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04159/3.984, allocations: 12.27 MB / 1.121 GB, free: 188.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004045/3.984, allocations: 95.91 kB / 1.121 GB, free: 188.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=2395) (initialization): time 0.08935/4.073, allocations: 28.27 MB / 1.149 GB, free: 178.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002794/4.074, allocations: 148.5 kB / 1.149 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006993/4.074, allocations: 329 kB / 1.149 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01395/4.088, allocations: 2.701 MB / 1.152 GB, free: 177.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03634/4.125, allocations: 4.307 MB / 1.156 GB, free: 177.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03416/4.159, allocations: 16.21 MB / 1.172 GB, free: 169.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02163/4.181, allocations: 1.108 MB / 1.173 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00509/4.186, allocations: 0.9923 MB / 1.174 GB, free: 169.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1500 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2199): * Single equations (assignments): 2182 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02412/4.21, allocations: 7.173 MB / 1.181 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00356/4.214, allocations: 1.015 MB / 1.182 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05469/4.268, allocations: 16.5 MB / 1.198 GB, free: 157.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000291/4.269, allocations: 159.4 kB / 1.198 GB, free: 157.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/4.269, allocations: 16 kB / 1.198 GB, free: 157.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001823/4.269, allocations: 34.31 kB / 1.198 GB, free: 157.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1147/4.384, allocations: 35.72 MB / 1.233 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000105/4.384, allocations: 11.06 kB / 1.233 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01423/4.398, allocations: 1.44 MB / 1.234 GB, free: 127.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/4.41, allocations: 2.071 MB / 1.236 GB, free: 125.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002242/4.412, allocations: 131.9 kB / 1.237 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03202/4.444, allocations: 14.8 MB / 1.251 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/4.444, allocations: 11.94 kB / 1.251 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06874/4.513, allocations: 27.46 MB / 1.278 GB, free: 82.95 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/4.523, allocations: 2.307 MB / 1.28 GB, free: 80.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005276/4.528, allocations: 126.2 kB / 1.28 GB, free: 80.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01187/4.54, allocations: 0.5484 MB / 1.281 GB, free: 79.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003419/4.544, allocations: 443.3 kB / 1.281 GB, free: 79.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001031/4.545, allocations: 191.7 kB / 1.281 GB, free: 79.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02036/4.565, allocations: 6.953 MB / 1.288 GB, free: 72.41 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.282e-06/4.565, allocations: 0 / 1.288 GB, free: 72.41 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02605/4.591, allocations: 3.485 MB / 1.292 GB, free: 68.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * 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 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07383/4.665, allocations: 28.93 MB / 1.32 GB, free: 39.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.4097/5.075, allocations: 20.08 MB / 1.339 GB, free: 210.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/5.075, allocations: 0 / 1.339 GB, free: 210.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02272/5.098, allocations: 7.901 MB / 1.347 GB, free: 207.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01212/5.11, allocations: 1.254 MB / 1.348 GB, free: 206.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8313/5.941, allocations: 370.7 MB / 1.71 GB, free: 48.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03992/5.981, allocations: 10.56 MB / 1.721 GB, free: 44.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03337/6.015, allocations: 6.667 MB / 1.727 GB, free: 40.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02011/6.035, allocations: 7.441 MB / 1.734 GB, free: 33.21 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/6.035, allocations: 0 / 1.734 GB, free: 33.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/7.397, allocations: 239.4 MB / 1.968 GB, free: 122.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/7.397, allocations: 219.8 kB / 1.968 GB, free: 121.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/20.53, allocations: 3.562 kB / 1.968 GB, free: 121.9 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat