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.GearConstraint.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.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_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.2/package.mo): time 0.01189/0.01189, allocations: 112.3 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.001281/0.001281, allocations: 180.8 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 2.069/2.069, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.3164/0.3164, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006425, allocations: 12 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1198, allocations: 54.89 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.4097/0.5296, allocations: 57.52 MB / 473.5 MB, free: 29.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03637/0.5661, allocations: 13.53 MB / 487.1 MB, free: 23.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.5809, allocations: 286.1 kB / 487.4 MB, free: 23.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.592, allocations: 2.934 MB / 490.3 MB, free: 22.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03253/0.6246, allocations: 8.272 MB / 498.6 MB, free: 18.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.6306, allocations: 0.8063 MB / 499.4 MB, free: 18.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05375/0.6844, allocations: 17.81 MB / 0.505 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.6974, allocations: 6.576 MB / 0.5115 GB, free: 9.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.7013, allocations: 1.4 MB / 0.5128 GB, free: 8.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/0.7053, allocations: 1.834 MB / 0.5146 GB, free: 6.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.7067, allocations: 192 kB / 0.5148 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.7103, allocations: 1.007 MB / 0.5158 GB, free: 5.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003298/0.7137, allocations: 2.092 MB / 0.5178 GB, free: 3.492 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.7156, allocations: 1.1 MB / 0.5189 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.7287, allocations: 7.556 MB / 0.5263 GB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7288, allocations: 0 / 0.5263 GB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.582e-06/0.7288, allocations: 4 kB / 0.5263 GB, free: 10.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003934/0.7292, allocations: 3.938 kB / 0.5263 GB, free: 10.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02262/0.7518, allocations: 5.62 MB / 0.5318 GB, free: 5.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/0.7519, allocations: 12.03 kB / 0.5318 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003948/0.7559, allocations: 0.8802 MB / 0.5327 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08807/0.844, allocations: 8.031 MB / 0.5405 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.8578, allocations: 4.278 MB / 0.5447 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.8583, allocations: 312.1 kB / 0.545 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.8605, allocations: 443.6 kB / 0.5454 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03922/0.8998, allocations: 12.29 MB / 0.5574 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005085/0.9004, allocations: 63.52 kB / 0.5575 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.9029, allocations: 195.8 kB / 0.5576 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005709/0.9087, allocations: 2.074 MB / 0.5597 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/0.9436, allocations: 10.43 MB / 0.5699 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09172/1.035, allocations: 47.07 MB / 0.6158 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/1.055, allocations: 4.486 MB / 0.6202 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.357/1.413, allocations: 10.12 MB / 0.6301 GB, free: 151.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.413, allocations: 61.47 kB / 0.6301 GB, free: 151.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 6.422e-06/1.413, allocations: 0 / 0.6301 GB, free: 151.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.08548/1.498, allocations: 19.83 MB / 0.6495 GB, free: 146.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.498, allocations: 205.3 kB / 0.6497 GB, free: 146.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.51, allocations: 5.035 MB / 0.6546 GB, free: 144.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005659/1.51, allocations: 56.89 kB / 0.6547 GB, free: 144.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.514, allocations: 3.752 MB / 0.6583 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/1.516, allocations: 0.826 MB / 0.6591 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.516, allocations: 130.7 kB / 0.6593 GB, free: 140.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004868/1.517, allocations: 0.5806 MB / 0.6598 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006976/1.524, allocations: 2.335 MB / 0.6621 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009985/1.534, allocations: 6.246 MB / 0.6682 GB, free: 133.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.544, allocations: 3.738 MB / 0.6719 GB, free: 131.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002537/1.545, allocations: 39.38 kB / 0.6719 GB, free: 131.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03075/1.575, allocations: 9.177 MB / 0.6809 GB, free: 128.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.575, allocations: 65.83 kB / 0.6809 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002555/1.576, allocations: 136.8 kB / 0.6811 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006031/1.582, allocations: 1.103 MB / 0.6821 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009706/1.592, allocations: 1.506 MB / 0.6836 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.608, allocations: 8.392 MB / 0.6918 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007919/1.616, allocations: 366.5 kB / 0.6922 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.618, allocations: 397.7 kB / 0.6925 GB, free: 122.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 42 (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 (791): * Single equations (assignments): 786 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00758/1.626, allocations: 2.564 MB / 0.695 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.627, allocations: 426.5 kB / 0.6954 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.639, allocations: 3.882 MB / 0.6992 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/1.639, allocations: 27.95 kB / 0.6993 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.639, allocations: 9.875 kB / 0.6993 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/1.639, allocations: 7.359 kB / 0.6993 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/1.67, allocations: 9.774 MB / 0.7088 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/1.67, allocations: 0 / 0.7088 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.673, allocations: 355.5 kB / 0.7092 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/1.678, allocations: 0.8515 MB / 0.71 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004963/1.679, allocations: 32 kB / 0.71 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.693, allocations: 7.541 MB / 0.7174 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.693, allocations: 5.078 kB / 0.7174 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.711, allocations: 6.754 MB / 0.724 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/1.714, allocations: 0.7688 MB / 0.7247 GB, free: 92.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.716, allocations: 36 kB / 0.7248 GB, free: 92.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.72, allocations: 123.4 kB / 0.7249 GB, free: 92.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.721, allocations: 137.7 kB / 0.725 GB, free: 92.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/1.722, allocations: 55.98 kB / 0.7251 GB, free: 92.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008439/1.73, allocations: 3.222 MB / 0.7282 GB, free: 89.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.73, allocations: 0 / 0.7282 GB, free: 89.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008759/1.739, allocations: 1.226 MB / 0.7294 GB, free: 88.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01782/1.757, allocations: 7.646 MB / 0.7369 GB, free: 80.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01428/1.771, allocations: 5.908 MB / 0.7427 GB, free: 74.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.771, allocations: 0 / 0.7427 GB, free: 74.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005368/1.777, allocations: 2.073 MB / 0.7447 GB, free: 72.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004737/1.781, allocations: 0.5214 MB / 0.7452 GB, free: 71.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4601/2.241, allocations: 138.5 MB / 0.8805 GB, free: 86.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00923/2.251, allocations: 4.1 MB / 0.8845 GB, free: 85.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01099/2.262, allocations: 2.098 MB / 0.8865 GB, free: 85.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005714/2.268, allocations: 2.461 MB / 0.8889 GB, free: 83.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/2.268, allocations: 0 / 0.8889 GB, free: 83.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/2.542, allocations: 94.33 MB / 0.9811 GB, free: 8.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/2.542, allocations: 209.1 kB / 0.9813 GB, free: 7.938 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/9.008, allocations: 4.062 kB / 0.9813 GB, free: 7.934 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat