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.Beveal1d.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.Beveal1d,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01132/0.01133, allocations: 107.9 kB / 15.06 MB, free: 6.027 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.001315/0.001314, allocations: 180 kB / 15.95 MB, free: 5.953 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.117/2.117, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.267/0.267, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004865, allocations: 12 kB / 361.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 54.87 MB / 416 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.3917/0.5145, allocations: 57.47 MB / 473.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04344/0.558, allocations: 13.51 MB / 487 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0157/0.5738, allocations: 287.3 kB / 487.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.5866, allocations: 2.932 MB / 490.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03511/0.6217, allocations: 8.273 MB / 498.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005725/0.6275, allocations: 0.8035 MB / 499.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05397/0.6815, allocations: 17.78 MB / 0.5049 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.696, allocations: 6.539 MB / 0.5113 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.6999, allocations: 1.386 MB / 0.5127 GB, free: 9.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00454/0.7045, allocations: 1.85 MB / 0.5145 GB, free: 7.215 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.7057, allocations: 188 kB / 0.5147 GB, free: 7.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.7092, allocations: 1.003 MB / 0.5156 GB, free: 6.027 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003953/0.7132, allocations: 2.092 MB / 0.5177 GB, free: 3.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.7154, allocations: 1.088 MB / 0.5188 GB, free: 2.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.729, allocations: 7.556 MB / 0.5261 GB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7291, allocations: 0 / 0.5261 GB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.7291, allocations: 0 / 0.5261 GB, free: 11.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003591/0.7294, allocations: 0 / 0.5261 GB, free: 11.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.02287/0.7523, allocations: 5.609 MB / 0.5316 GB, free: 5.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7524, allocations: 15.95 kB / 0.5316 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003602/0.756, allocations: 0.8799 MB / 0.5325 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.114/0.8701, allocations: 8.024 MB / 0.5403 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/0.8926, allocations: 4.275 MB / 0.5445 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001396/0.8941, allocations: 312 kB / 0.5448 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003524/0.8977, allocations: 419.7 kB / 0.5452 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.9358, allocations: 12 MB / 0.5569 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/0.9362, allocations: 55.44 kB / 0.557 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/0.9384, allocations: 195.8 kB / 0.5572 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005917/0.9444, allocations: 2.082 MB / 0.5592 GB, free: 8.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/0.9791, allocations: 10 MB / 0.569 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4928/1.472, allocations: 46.62 MB / 0.6145 GB, free: 127.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/1.492, allocations: 4.266 MB / 0.6186 GB, free: 127.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02847/1.52, allocations: 9.685 MB / 0.6281 GB, free: 123 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/1.52, allocations: 56.86 kB / 0.6282 GB, free: 123 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.402e-06/1.52, allocations: 0 / 0.6282 GB, free: 123 MB / 474.7 MB Notification: Performance of matching and sorting (n=212): time 0.09646/1.617, allocations: 19.4 MB / 0.6471 GB, free: 114.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.617, allocations: 199.8 kB / 0.6473 GB, free: 114.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/1.632, allocations: 5.029 MB / 0.6522 GB, free: 112 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007644/1.633, allocations: 57.7 kB / 0.6523 GB, free: 111.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004963/1.638, allocations: 3.745 MB / 0.6559 GB, free: 108.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001668/1.64, allocations: 0.8173 MB / 0.6567 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009816/1.641, allocations: 124 kB / 0.6568 GB, free: 107.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006596/1.642, allocations: 0.5788 MB / 0.6574 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008443/1.65, allocations: 2.304 MB / 0.6597 GB, free: 104.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/1.662, allocations: 6.211 MB / 0.6657 GB, free: 96.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.674, allocations: 3.714 MB / 0.6693 GB, free: 92.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/1.674, allocations: 40 kB / 0.6694 GB, free: 92.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=845) (initialization): time 0.02886/1.703, allocations: 9.096 MB / 0.6783 GB, free: 83.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.704, allocations: 66.03 kB / 0.6783 GB, free: 83.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/1.704, allocations: 140 kB / 0.6785 GB, free: 83.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/1.709, allocations: 1.089 MB / 0.6795 GB, free: 82.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009326/1.719, allocations: 1.485 MB / 0.681 GB, free: 80.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.735, allocations: 8.198 MB / 0.689 GB, free: 72.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007269/1.742, allocations: 356.9 kB / 0.6893 GB, free: 72.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.744, allocations: 396 kB / 0.6897 GB, free: 71.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (785): * Single equations (assignments): 780 * 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.006621/1.75, allocations: 2.558 MB / 0.6922 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.751, allocations: 430.4 kB / 0.6926 GB, free: 68.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.764, allocations: 3.805 MB / 0.6963 GB, free: 64.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.138e-05/1.764, allocations: 29 kB / 0.6964 GB, free: 64.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.764, allocations: 4 kB / 0.6964 GB, free: 64.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/1.764, allocations: 11.97 kB / 0.6964 GB, free: 64.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.794, allocations: 9.605 MB / 0.7057 GB, free: 55.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/1.794, allocations: 3.938 kB / 0.7058 GB, free: 55.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.798, allocations: 335.6 kB / 0.7061 GB, free: 54.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/1.802, allocations: 0.8522 MB / 0.7069 GB, free: 54.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/1.803, allocations: 37.17 kB / 0.7069 GB, free: 53.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/1.822, allocations: 7.529 MB / 0.7143 GB, free: 46.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.822, allocations: 0 / 0.7143 GB, free: 46.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/1.846, allocations: 6.635 MB / 0.7208 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003659/1.849, allocations: 0.761 MB / 0.7215 GB, free: 38.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/1.851, allocations: 36 kB / 0.7215 GB, free: 38.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/1.856, allocations: 121 kB / 0.7217 GB, free: 38.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/1.857, allocations: 133 kB / 0.7218 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004924/1.858, allocations: 56.84 kB / 0.7218 GB, free: 38.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01046/1.868, allocations: 3.218 MB / 0.725 GB, free: 35.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.869, allocations: 0 / 0.725 GB, free: 35.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0113/1.88, allocations: 1.213 MB / 0.7262 GB, free: 33.95 MB / 474.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.0201/1.9, allocations: 7.458 MB / 0.7335 GB, free: 26.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01397/1.914, allocations: 5.81 MB / 0.7391 GB, free: 20.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.914, allocations: 7.984 kB / 0.7391 GB, free: 20.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005417/1.92, allocations: 2.035 MB / 0.7411 GB, free: 18.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.924, allocations: 0.5368 MB / 0.7417 GB, free: 18.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4769/2.401, allocations: 138 MB / 0.8764 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009355/2.411, allocations: 4.103 MB / 0.8804 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009344/2.42, allocations: 2.089 MB / 0.8824 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005186/2.425, allocations: 2.425 MB / 0.8848 GB, free: 93.51 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/2.425, allocations: 4 kB / 0.8848 GB, free: 93.51 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2486/2.674, allocations: 93.96 MB / 0.9766 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.674, allocations: 202.1 kB / 0.9768 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/8.957, allocations: 0 / 0.9768 GB, free: 5.188 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat