Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01067/0.01067, allocations: 104.4 kB / 15.05 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.1.mo): time 0.001118/0.001118, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.729/1.729, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2595/0.2595, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008291/0.0008292, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.113, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.39/0.503, allocations: 67.49 MB / 439.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04159/0.5447, allocations: 15.36 MB / 455.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01707/0.5618, allocations: 337.8 kB / 455.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0144/0.5762, allocations: 3.519 MB / 459 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04071/0.617, allocations: 9.767 MB / 468.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.6227, allocations: 0.7983 MB / 469.6 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05442/0.6771, allocations: 19.03 MB / 488.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/0.6942, allocations: 7.806 MB / 496.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.6997, allocations: 1.989 MB / 498.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006314/0.7061, allocations: 2.656 MB / 0.4893 GB, free: 404 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.7083, allocations: 288 kB / 0.4896 GB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.713, allocations: 1.044 MB / 0.4906 GB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005884/0.719, allocations: 3.08 MB / 0.4936 GB, free: 12.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003429/0.7224, allocations: 1.646 MB / 0.4952 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.7406, allocations: 10.97 MB / 0.5059 GB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7406, allocations: 0 / 0.5059 GB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7406, allocations: 4 kB / 0.5059 GB, free: 1.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000452/0.7411, allocations: 0 / 0.5059 GB, free: 1.504 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3108 * Number of variables: 3108 Notification: Performance of Generate backend data structure: time 0.02655/0.7677, allocations: 7.764 MB / 0.5135 GB, free: 9.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.7677, allocations: 8.031 kB / 0.5135 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005/0.7728, allocations: 1.447 MB / 0.5149 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.133/0.9058, allocations: 11.53 MB / 0.5262 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/0.9238, allocations: 5.365 MB / 0.5314 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/0.9244, allocations: 455 kB / 0.5319 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00329/0.9277, allocations: 0.5845 MB / 0.5324 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06272/0.9905, allocations: 20.56 MB / 0.5525 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003513/0.9909, allocations: 68.7 kB / 0.5526 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001921/0.9929, allocations: 282.4 kB / 0.5528 GB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0116/1.004, allocations: 4.284 MB / 0.557 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05717/1.062, allocations: 18.13 MB / 0.5747 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7061/1.768, allocations: 75.03 MB / 0.648 GB, free: 113.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02862/1.797, allocations: 8.144 MB / 0.6559 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/1.797, allocations: 70.8 kB / 0.656 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/1.797, allocations: 69.44 kB / 0.6561 GB, free: 110.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=450): time 9.799e-06/1.797, allocations: 0 / 0.6561 GB, free: 110.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=497): time 0.1656/1.963, allocations: 42.72 MB / 0.6978 GB, free: 81.31 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.963, allocations: 227 kB / 0.698 GB, free: 81.04 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/1.976, allocations: 6.717 MB / 0.7046 GB, free: 74.33 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.977, allocations: 98.89 kB / 0.7047 GB, free: 74.23 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004637/1.982, allocations: 5.68 MB / 0.7102 GB, free: 68.58 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002968/1.985, allocations: 1.811 MB / 0.712 GB, free: 66.79 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/1.987, allocations: 216 kB / 0.7122 GB, free: 66.57 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008476/1.988, allocations: 0.7972 MB / 0.713 GB, free: 65.77 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/1.999, allocations: 4.929 MB / 0.7178 GB, free: 60.84 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0163/2.016, allocations: 11.04 MB / 0.7286 GB, free: 46.83 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/2.032, allocations: 7.35 MB / 0.7357 GB, free: 39.47 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/2.032, allocations: 60 kB / 0.7358 GB, free: 39.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.04634/2.079, allocations: 17.23 MB / 0.7526 GB, free: 22.15 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.079, allocations: 96 kB / 0.7527 GB, free: 22.06 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/2.079, allocations: 212 kB / 0.7529 GB, free: 21.85 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008275/2.088, allocations: 1.869 MB / 0.7547 GB, free: 19.97 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02166/2.109, allocations: 2.581 MB / 0.7573 GB, free: 17.39 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03367/2.143, allocations: 15.05 MB / 0.772 GB, free: 1.824 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.155, allocations: 0.6562 MB / 0.7726 GB, free: 1.168 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002385/2.157, allocations: 0.6275 MB / 0.7732 GB, free: 0.543 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 971 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1356): * Single equations (assignments): 1343 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3699/2.527, allocations: 4.182 MB / 0.7773 GB, free: 144 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/2.53, allocations: 0.6107 MB / 0.7779 GB, free: 144 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/2.566, allocations: 9.839 MB / 0.7875 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002131/2.566, allocations: 90.66 kB / 0.7876 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/2.566, allocations: 9.562 kB / 0.7876 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/2.566, allocations: 23.2 kB / 0.7876 GB, free: 141.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06144/2.628, allocations: 21.92 MB / 0.809 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-05/2.628, allocations: 17.45 kB / 0.809 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007378/2.635, allocations: 0.7847 MB / 0.8098 GB, free: 133.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007523/2.643, allocations: 1.51 MB / 0.8113 GB, free: 132.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/2.644, allocations: 90.64 kB / 0.8114 GB, free: 132.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/2.668, allocations: 14.06 MB / 0.8251 GB, free: 121.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/2.668, allocations: 19.92 kB / 0.8251 GB, free: 121.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03917/2.707, allocations: 17.51 MB / 0.8422 GB, free: 103.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005235/2.713, allocations: 1.414 MB / 0.8436 GB, free: 102.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002423/2.715, allocations: 87.91 kB / 0.8437 GB, free: 102.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00652/2.722, allocations: 313.3 kB / 0.844 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001884/2.724, allocations: 302 kB / 0.8443 GB, free: 101.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007149/2.724, allocations: 125.2 kB / 0.8444 GB, free: 101.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.009473/2.734, allocations: 4.214 MB / 0.8485 GB, free: 97.39 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.52e-07/2.734, allocations: 0 / 0.8485 GB, free: 97.39 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01272/2.747, allocations: 2.069 MB / 0.8505 GB, free: 95.33 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (381): * Single equations (assignments): 368 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03952/2.786, allocations: 20.28 MB / 0.8703 GB, free: 74.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02709/2.813, allocations: 12.2 MB / 0.8822 GB, free: 62.56 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.813, allocations: 0 / 0.8822 GB, free: 62.56 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.825, allocations: 4.962 MB / 0.8871 GB, free: 57.55 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/2.831, allocations: 0.728 MB / 0.8878 GB, free: 56.85 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5373/3.368, allocations: 222.7 MB / 1.105 GB, free: 25.34 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01885/3.387, allocations: 6.258 MB / 1.111 GB, free: 23.05 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.02419/3.412, allocations: 4.105 MB / 1.115 GB, free: 19.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01234/3.424, allocations: 4.002 MB / 1.119 GB, free: 15.55 MB / 490.8 MB Notification: Performance of SimCode: time 1.743e-06/3.424, allocations: 0 / 1.119 GB, free: 15.55 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6668/4.091, allocations: 149.9 MB / 1.266 GB, free: 61.15 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/4.091, allocations: 211 kB / 1.266 GB, free: 60.9 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/12.2, allocations: 0 / 1.266 GB, free: 60.9 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat does not exist to compare? outputFormat=mat