Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01115/0.01115, allocations: 103.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.1.mo): time 0.001205/0.001205, allocations: 166.1 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.591/1.591, allocations: 170.9 MB / 187.6 MB, free: 0.9727 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.2833/0.2833, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006518, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09522, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.09201/0.1873, allocations: 57.48 MB / 429.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3434/0.5308, allocations: 13.47 MB / 443.3 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01466/0.5455, allocations: 288.8 kB / 443.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.5568, allocations: 2.934 MB / 446.5 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03356/0.5904, allocations: 8.273 MB / 454.7 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005557/0.596, allocations: 0.8018 MB / 455.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05054/0.6466, allocations: 17.79 MB / 473.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01434/0.661, allocations: 6.571 MB / 479.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004092/0.6652, allocations: 1.389 MB / 481.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.6696, allocations: 1.83 MB / 483.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.6708, allocations: 188 kB / 483.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.6744, allocations: 1.007 MB / 484.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003629/0.6781, allocations: 2.091 MB / 486.4 MB, free: 7.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.68, allocations: 1.091 MB / 487.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.6928, allocations: 7.558 MB / 495.1 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6929, allocations: 1.75 kB / 495.1 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6929, allocations: 0 / 495.1 MB, free: 188 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003136/0.6932, allocations: 0 / 495.1 MB, free: 188 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.0227/0.7159, allocations: 5.63 MB / 0.489 GB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.716, allocations: 8.031 kB / 0.489 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003553/0.7196, allocations: 0.8834 MB / 0.4898 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08998/0.8097, allocations: 8.037 MB / 0.4977 GB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.8242, allocations: 4.265 MB / 0.5018 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/0.8246, allocations: 316 kB / 0.5021 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.8268, allocations: 422.2 kB / 0.5025 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03373/0.8606, allocations: 12 MB / 0.5143 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/0.8609, allocations: 60 kB / 0.5143 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.8619, allocations: 201.9 kB / 0.5145 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005404/0.8673, allocations: 2.083 MB / 0.5165 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/0.9001, allocations: 9.989 MB / 0.5263 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0892/0.9894, allocations: 46.51 MB / 0.5717 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/1.008, allocations: 4.252 MB / 0.5759 GB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02458/1.033, allocations: 9.669 MB / 0.5853 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.821e-05/1.033, allocations: 51.88 kB / 0.5854 GB, free: 11.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=191): time 6.593e-06/1.033, allocations: 5.797 kB / 0.5854 GB, free: 11.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=218): time 0.3706/1.404, allocations: 20.4 MB / 0.6053 GB, free: 168.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/1.404, allocations: 212.9 kB / 0.6055 GB, free: 168.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.416, allocations: 5.047 MB / 0.6104 GB, free: 166.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005271/1.417, allocations: 56.95 kB / 0.6105 GB, free: 166.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003301/1.42, allocations: 3.749 MB / 0.6141 GB, free: 163.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.421, allocations: 0.8311 MB / 0.615 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000616/1.422, allocations: 128.9 kB / 0.6151 GB, free: 163.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004209/1.422, allocations: 0.5839 MB / 0.6156 GB, free: 162.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005869/1.428, allocations: 2.318 MB / 0.6179 GB, free: 162 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008144/1.437, allocations: 6.234 MB / 0.624 GB, free: 155.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008179/1.445, allocations: 3.737 MB / 0.6276 GB, free: 154.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/1.445, allocations: 38.47 kB / 0.6277 GB, free: 154.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.02452/1.469, allocations: 9.163 MB / 0.6366 GB, free: 150.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/1.47, allocations: 67.95 kB / 0.6367 GB, free: 150.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.47, allocations: 136 kB / 0.6368 GB, free: 150.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/1.475, allocations: 1.1 MB / 0.6379 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00851/1.483, allocations: 1.501 MB / 0.6394 GB, free: 148.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.498, allocations: 8.379 MB / 0.6475 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007386/1.505, allocations: 359.4 kB / 0.6479 GB, free: 139.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.507, allocations: 400 kB / 0.6483 GB, free: 138.8 MB / 458.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.005916/1.513, allocations: 2.564 MB / 0.6508 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.514, allocations: 426.5 kB / 0.6512 GB, free: 135.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.524, allocations: 3.865 MB / 0.655 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/1.524, allocations: 24.62 kB / 0.655 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.524, allocations: 8 kB / 0.655 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/1.524, allocations: 7.969 kB / 0.655 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/1.549, allocations: 9.742 MB / 0.6645 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.549, allocations: 0 / 0.6645 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/1.552, allocations: 347.5 kB / 0.6648 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00451/1.556, allocations: 0.8501 MB / 0.6657 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/1.557, allocations: 44.61 kB / 0.6657 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.57, allocations: 7.535 MB / 0.6731 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.57, allocations: 0 / 0.6731 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.585, allocations: 6.718 MB / 0.6796 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/1.588, allocations: 0.7804 MB / 0.6804 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.589, allocations: 36.62 kB / 0.6804 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/1.593, allocations: 117 kB / 0.6805 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/1.594, allocations: 141.7 kB / 0.6807 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.594, allocations: 52 kB / 0.6807 GB, free: 105.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006902/1.601, allocations: 3.226 MB / 0.6839 GB, free: 102 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.601, allocations: 0 / 0.6839 GB, free: 102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007896/1.609, allocations: 1.222 MB / 0.6851 GB, free: 100.7 MB / 458.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.01618/1.625, allocations: 7.585 MB / 0.6925 GB, free: 93.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01309/1.638, allocations: 5.871 MB / 0.6982 GB, free: 87.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.638, allocations: 0 / 0.6982 GB, free: 87.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.644, allocations: 2.062 MB / 0.7002 GB, free: 85.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/1.648, allocations: 0.5305 MB / 0.7007 GB, free: 84.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4154/2.063, allocations: 138.5 MB / 0.836 GB, free: 115 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00665/2.07, allocations: 4.109 MB / 0.84 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008603/2.079, allocations: 2.097 MB / 0.842 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005097/2.084, allocations: 2.435 MB / 0.8444 GB, free: 111.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/2.084, allocations: 0 / 0.8444 GB, free: 111.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/2.372, allocations: 94.34 MB / 0.9365 GB, free: 18.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/2.373, allocations: 213 kB / 0.9367 GB, free: 18.49 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.148/8.521, allocations: 0 / 0.9367 GB, free: 18.49 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat