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.Rotor1D_2.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.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.01537/0.01537, allocations: 104.2 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.001208/0.001208, allocations: 168.8 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.696/1.696, allocations: 170.9 MB / 187.6 MB, free: 0.9766 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.2558/0.2558, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006257, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09293, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.06397/0.157, allocations: 41.17 MB / 413.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02679/0.1838, allocations: 9.802 MB / 423.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007836/0.1917, allocations: 199.5 kB / 423.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007188/0.1989, allocations: 2.061 MB / 425.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02242/0.2214, allocations: 5.918 MB / 431.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.225, allocations: 0.5226 MB / 432 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.2896/0.5146, allocations: 2.099 MB / 434.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.5251, allocations: 4.478 MB / 438.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.5283, allocations: 0.9966 MB / 439.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.5328, allocations: 1.357 MB / 440.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.5344, allocations: 141.6 kB / 441 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/0.5387, allocations: 0.8102 MB / 441.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003958/0.5427, allocations: 1.543 MB / 443.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.5453, allocations: 0.8313 MB / 444.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.5576, allocations: 5.55 MB / 449.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5577, allocations: 0 / 449.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5577, allocations: 0 / 449.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003035/0.558, allocations: 4 kB / 449.8 MB, free: 10.27 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0345/0.5926, allocations: 4.988 MB / 454.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.5926, allocations: 9 kB / 454.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003596/0.5962, allocations: 0.7259 MB / 455.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.6139, allocations: 2.232 MB / 457.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/0.6221, allocations: 2.506 MB / 460.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.6224, allocations: 234.9 kB / 460.5 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.6245, allocations: 317.4 kB / 460.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02995/0.6544, allocations: 10.36 MB / 471.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.6547, allocations: 40.72 kB / 471.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000985/0.6557, allocations: 155.2 kB / 471.3 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004897/0.6606, allocations: 1.861 MB / 473.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/0.6918, allocations: 8.986 MB / 482.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0806/0.7725, allocations: 38.71 MB / 0.5087 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/0.7933, allocations: 3.698 MB / 0.5123 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.7954, allocations: 0.6905 MB / 0.5129 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.7954, allocations: 55.55 kB / 0.513 GB, free: 5.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 5.35e-06/0.7955, allocations: 0 / 0.513 GB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.08132/0.8768, allocations: 13.86 MB / 0.5265 GB, free: 7.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.877, allocations: 145.5 kB / 0.5267 GB, free: 7.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/0.8915, allocations: 4.171 MB / 0.5307 GB, free: 3.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005911/0.8922, allocations: 49.7 kB / 0.5308 GB, free: 3.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005136/0.8973, allocations: 3.108 MB / 0.5338 GB, free: 172 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.899, allocations: 0.6236 MB / 0.5344 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008645/0.8999, allocations: 116 kB / 0.5345 GB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006886/0.9006, allocations: 0.5537 MB / 0.5351 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008247/0.9088, allocations: 1.983 MB / 0.537 GB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/0.9217, allocations: 5.639 MB / 0.5425 GB, free: 5.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.9324, allocations: 3.274 MB / 0.5457 GB, free: 2.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/0.9325, allocations: 39.78 kB / 0.5458 GB, free: 2.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02615/0.9587, allocations: 8.132 MB / 0.5537 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.9589, allocations: 61.97 kB / 0.5538 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/0.9591, allocations: 136 kB / 0.5539 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/0.9637, allocations: 0.9331 MB / 0.5548 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008424/0.9722, allocations: 1.345 MB / 0.5561 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.9839, allocations: 4.968 MB / 0.561 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006918/0.9909, allocations: 323.6 kB / 0.5613 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/0.9927, allocations: 364 kB / 0.5616 GB, free: 2.496 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (715): * Single equations (assignments): 711 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007174/0.9999, allocations: 2.081 MB / 0.5637 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.001, allocations: 339.6 kB / 0.564 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.011, allocations: 2.961 MB / 0.5669 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/1.012, allocations: 20 kB / 0.5669 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.012, allocations: 4 kB / 0.5669 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/1.012, allocations: 3.984 kB / 0.5669 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.036, allocations: 7.632 MB / 0.5744 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.036, allocations: 4.562 kB / 0.5744 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.039, allocations: 297.9 kB / 0.5746 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003998/1.043, allocations: 0.7186 MB / 0.5753 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/1.043, allocations: 31.98 kB / 0.5754 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.053, allocations: 4.533 MB / 0.5798 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.053, allocations: 4.062 kB / 0.5798 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.069, allocations: 5.525 MB / 0.5852 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/1.072, allocations: 0.637 MB / 0.5858 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000898/1.073, allocations: 24 kB / 0.5858 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.075, allocations: 95.88 kB / 0.5859 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/1.076, allocations: 96.81 kB / 0.586 GB, free: 9.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.076, allocations: 46.8 kB / 0.5861 GB, free: 9.156 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007559/1.084, allocations: 2.624 MB / 0.5886 GB, free: 6.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.084, allocations: 0 / 0.5886 GB, free: 6.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00746/1.092, allocations: 0.9689 MB / 0.5896 GB, free: 5.551 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3125/1.404, allocations: 6.504 MB / 0.5959 GB, free: 165.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01339/1.418, allocations: 4.795 MB / 0.6006 GB, free: 165.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.418, allocations: 1.094 kB / 0.6006 GB, free: 165.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004451/1.422, allocations: 1.45 MB / 0.602 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.426, allocations: 391.8 kB / 0.6024 GB, free: 164.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/1.537, allocations: 123.5 MB / 0.7231 GB, free: 51.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007059/1.544, allocations: 3.323 MB / 0.7263 GB, free: 49.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008451/1.553, allocations: 1.868 MB / 0.7281 GB, free: 47.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004362/1.557, allocations: 1.848 MB / 0.7299 GB, free: 46.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/1.557, allocations: 0 / 0.7299 GB, free: 46.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/2.02, allocations: 74.66 MB / 0.8028 GB, free: 153.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/2.021, allocations: 203.3 kB / 0.803 GB, free: 153.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/7.233, allocations: 0 / 0.803 GB, free: 153.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat