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.Beveal1d.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.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",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.01244/0.01244, allocations: 105.8 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.001181/0.00118, allocations: 166.9 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.609/1.609, allocations: 170.9 MB / 187.5 MB, free: 0.9805 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.2646/0.2646, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09473, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.09123/0.186, allocations: 57.44 MB / 429.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3515/0.5376, allocations: 13.45 MB / 443.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01359/0.5512, allocations: 289.3 kB / 443.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.5617, allocations: 2.929 MB / 446.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03225/0.594, allocations: 8.272 MB / 454.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.5996, allocations: 0.7997 MB / 455.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04945/0.6491, allocations: 17.78 MB / 473.3 MB, free: 1.473 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01401/0.6632, allocations: 6.556 MB / 479.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.6674, allocations: 1.384 MB / 481.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/0.672, allocations: 1.847 MB / 483 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.6734, allocations: 196 kB / 483.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.6776, allocations: 1.001 MB / 484.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00434/0.682, allocations: 2.098 MB / 486.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002799/0.6849, allocations: 1.092 MB / 487.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.698, allocations: 7.547 MB / 495 MB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6981, allocations: 0 / 495 MB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6981, allocations: 0 / 495 MB, free: 228 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003598/0.6985, allocations: 4 kB / 495 MB, free: 224 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02194/0.7204, allocations: 5.62 MB / 0.4889 GB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.7205, allocations: 12.03 kB / 0.4889 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003239/0.7237, allocations: 0.8761 MB / 0.4897 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08967/0.8135, allocations: 8.029 MB / 0.4976 GB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.8283, allocations: 4.276 MB / 0.5017 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004919/0.8288, allocations: 309.8 kB / 0.502 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/0.8314, allocations: 418.3 kB / 0.5024 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03542/0.8668, allocations: 11.99 MB / 0.5141 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002939/0.8672, allocations: 58.17 kB / 0.5142 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.8689, allocations: 200.8 kB / 0.5144 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005665/0.8746, allocations: 2.086 MB / 0.5164 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/0.9081, allocations: 9.995 MB / 0.5262 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08705/0.9952, allocations: 46.54 MB / 0.5716 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.014, allocations: 4.264 MB / 0.5758 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/1.043, allocations: 9.683 MB / 0.5853 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.043, allocations: 55.81 kB / 0.5853 GB, free: 12.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.382e-06/1.043, allocations: 0 / 0.5853 GB, free: 12.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.3763/1.42, allocations: 19.39 MB / 0.6042 GB, free: 169 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.42, allocations: 201.3 kB / 0.6044 GB, free: 168.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/1.434, allocations: 5.044 MB / 0.6094 GB, free: 167.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005652/1.435, allocations: 56.83 kB / 0.6094 GB, free: 167.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003631/1.438, allocations: 3.737 MB / 0.6131 GB, free: 164.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.44, allocations: 0.8086 MB / 0.6139 GB, free: 163.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009851/1.441, allocations: 133.9 kB / 0.614 GB, free: 163.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006384/1.442, allocations: 0.5758 MB / 0.6146 GB, free: 163.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006603/1.448, allocations: 2.312 MB / 0.6168 GB, free: 162.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008794/1.457, allocations: 6.192 MB / 0.6229 GB, free: 156.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008851/1.466, allocations: 3.71 MB / 0.6265 GB, free: 155 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/1.466, allocations: 39.56 kB / 0.6265 GB, free: 155 MB / 458.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.02634/1.493, allocations: 9.105 MB / 0.6354 GB, free: 151.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.493, allocations: 63.97 kB / 0.6355 GB, free: 151.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/1.493, allocations: 138.1 kB / 0.6356 GB, free: 151.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/1.499, allocations: 1.081 MB / 0.6367 GB, free: 151 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009188/1.508, allocations: 1.49 MB / 0.6381 GB, free: 149.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/1.523, allocations: 8.193 MB / 0.6461 GB, free: 141.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007478/1.531, allocations: 361 kB / 0.6465 GB, free: 140.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.532, allocations: 392 kB / 0.6468 GB, free: 140.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 (784): * Single equations (assignments): 779 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006877/1.539, allocations: 2.568 MB / 0.6493 GB, free: 137.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.541, allocations: 430.5 kB / 0.6498 GB, free: 137.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.553, allocations: 3.801 MB / 0.6535 GB, free: 133.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/1.553, allocations: 24 kB / 0.6535 GB, free: 133.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/1.553, allocations: 8 kB / 0.6535 GB, free: 133.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/1.553, allocations: 7.969 kB / 0.6535 GB, free: 133.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02984/1.583, allocations: 9.602 MB / 0.6629 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/1.583, allocations: 3.984 kB / 0.6629 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003348/1.587, allocations: 333.8 kB / 0.6632 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/1.591, allocations: 0.8497 MB / 0.664 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004987/1.592, allocations: 32 kB / 0.6641 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.606, allocations: 7.554 MB / 0.6714 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.606, allocations: 0 / 0.6714 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.623, allocations: 6.63 MB / 0.6779 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002938/1.626, allocations: 0.7687 MB / 0.6787 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/1.628, allocations: 41.12 kB / 0.6787 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/1.631, allocations: 119.9 kB / 0.6788 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00085/1.632, allocations: 125.1 kB / 0.6789 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.633, allocations: 57 kB / 0.679 GB, free: 107.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007633/1.64, allocations: 3.227 MB / 0.6821 GB, free: 103.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.64, allocations: 0 / 0.6821 GB, free: 103.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00835/1.649, allocations: 1.21 MB / 0.6833 GB, free: 102.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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.02043/1.669, allocations: 7.455 MB / 0.6906 GB, free: 95.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01894/1.688, allocations: 5.827 MB / 0.6963 GB, free: 89.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.688, allocations: 0 / 0.6963 GB, free: 89.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007399/1.696, allocations: 2.03 MB / 0.6983 GB, free: 87.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.702, allocations: 0.5226 MB / 0.6988 GB, free: 86.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4443/2.146, allocations: 137.8 MB / 0.8334 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008817/2.155, allocations: 4.112 MB / 0.8374 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009463/2.165, allocations: 2.086 MB / 0.8394 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005342/2.17, allocations: 2.429 MB / 0.8418 GB, free: 114.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.654e-06/2.17, allocations: 0 / 0.8418 GB, free: 114.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2945/2.465, allocations: 93.89 MB / 0.9335 GB, free: 22.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/2.465, allocations: 206.2 kB / 0.9337 GB, free: 21.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.124/8.589, allocations: 0 / 0.9337 GB, free: 21.86 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat