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_1.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_1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",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.0106/0.0106, allocations: 109.4 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.001143/0.001143, allocations: 169.2 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.621/1.621, allocations: 170.9 MB / 187.5 MB, free: 1 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.3013/0.3013, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005055, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09347, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.3995/0.493, allocations: 77.51 MB / 449.8 MB, free: 8.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05222/0.5453, allocations: 17.83 MB / 467.6 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02458/0.5699, allocations: 406 kB / 468 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01934/0.5893, allocations: 3.992 MB / 472 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04963/0.639, allocations: 11.28 MB / 483.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007169/0.6463, allocations: 1.287 MB / 484.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1048/0.7511, allocations: 34.64 MB / 0.5071 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01681/0.768, allocations: 7.789 MB / 0.5147 GB, free: 9.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.7737, allocations: 2.079 MB / 0.5167 GB, free: 7.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006467/0.7802, allocations: 2.656 MB / 0.5193 GB, free: 4.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.7821, allocations: 244 kB / 0.5195 GB, free: 4.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/0.7886, allocations: 1.385 MB / 0.5209 GB, free: 2.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007301/0.796, allocations: 3.094 MB / 0.5239 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.8005, allocations: 1.466 MB / 0.5253 GB, free: 14.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02194/0.8225, allocations: 9.827 MB / 0.5349 GB, free: 4.312 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.8226, allocations: 4 kB / 0.5349 GB, free: 4.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.8226, allocations: 0 / 0.5349 GB, free: 4.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003998/0.823, allocations: 0 / 0.5349 GB, free: 4.309 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.05464/0.8777, allocations: 9.012 MB / 0.5437 GB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8777, allocations: 8.031 kB / 0.5437 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004241/0.882, allocations: 1.086 MB / 0.5448 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1974/1.079, allocations: 19.39 MB / 0.5637 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02959/1.109, allocations: 8.012 MB / 0.5716 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007707/1.11, allocations: 373.7 kB / 0.5719 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004952/1.115, allocations: 0.6867 MB / 0.5726 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07232/1.187, allocations: 16.69 MB / 0.5889 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/1.188, allocations: 79.22 kB / 0.589 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/1.189, allocations: 251.8 kB / 0.5892 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00684/1.196, allocations: 2.657 MB / 0.5918 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5947/1.791, allocations: 13.94 MB / 0.6054 GB, free: 165.9 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.908, allocations: 66.36 MB / 0.6702 GB, free: 114.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04559/1.954, allocations: 8.77 MB / 0.6788 GB, free: 105.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/1.956, allocations: 1.047 MB / 0.6798 GB, free: 104.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.956, allocations: 64.56 kB / 0.6799 GB, free: 104.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=268): time 6.552e-06/1.956, allocations: 3.844 kB / 0.6799 GB, free: 104.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=345): time 0.2602/2.217, allocations: 49.86 MB / 0.7286 GB, free: 54.19 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002721/2.219, allocations: 3.257 MB / 0.7318 GB, free: 50.59 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01737/2.237, allocations: 8.213 MB / 0.7398 GB, free: 42.41 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001231/2.238, allocations: 79.19 kB / 0.7398 GB, free: 42.33 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00502/2.243, allocations: 5.141 MB / 0.7449 GB, free: 37.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002532/2.246, allocations: 1.309 MB / 0.7461 GB, free: 35.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/2.247, allocations: 188.9 kB / 0.7463 GB, free: 35.71 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006508/2.248, allocations: 0.7092 MB / 0.747 GB, free: 35 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/2.259, allocations: 4.645 MB / 0.7516 GB, free: 30.35 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01488/2.274, allocations: 9.856 MB / 0.7612 GB, free: 17.92 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/2.289, allocations: 6.593 MB / 0.7676 GB, free: 11.32 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/2.289, allocations: 52 kB / 0.7677 GB, free: 11.27 MB / 458.8 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.4262/2.716, allocations: 31.84 MB / 0.7988 GB, free: 144.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/2.716, allocations: 85.83 kB / 0.7988 GB, free: 144.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08843/2.804, allocations: 20.86 MB / 0.8192 GB, free: 134.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0874/2.892, allocations: 16.87 MB / 0.8357 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/2.906, allocations: 2.182 MB / 0.8378 GB, free: 116.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08277/2.988, allocations: 37.01 MB / 0.874 GB, free: 79.52 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/3.002, allocations: 0.7667 MB / 0.8747 GB, free: 78.78 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/3.004, allocations: 0.5596 MB / 0.8753 GB, free: 78.22 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 1053 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.009495/3.014, allocations: 3.414 MB / 0.8786 GB, free: 75.03 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/3.016, allocations: 0.6704 MB / 0.8792 GB, free: 74.72 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/3.05, allocations: 10.4 MB / 0.8894 GB, free: 64.26 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03123/3.082, allocations: 9.09 MB / 0.8983 GB, free: 55.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-05/3.082, allocations: 23.72 kB / 0.8983 GB, free: 55.08 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-05/3.082, allocations: 15.94 kB / 0.8983 GB, free: 55.07 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07149/3.153, allocations: 24.03 MB / 0.9218 GB, free: 31.06 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-05/3.153, allocations: 5.969 kB / 0.9218 GB, free: 31.06 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006862/3.16, allocations: 0.6697 MB / 0.9224 GB, free: 30.39 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02346/3.184, allocations: 4.127 MB / 0.9265 GB, free: 26.32 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/3.185, allocations: 91.94 kB / 0.9266 GB, free: 26.23 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3593/3.544, allocations: 24.37 MB / 0.9504 GB, free: 140.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002752/3.547, allocations: 3.029 MB / 0.9533 GB, free: 137.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04691/3.594, allocations: 16.02 MB / 0.969 GB, free: 131.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007986/3.602, allocations: 1.44 MB / 0.9704 GB, free: 131.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003435/3.606, allocations: 77.62 kB / 0.9704 GB, free: 131.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009107/3.615, allocations: 353.3 kB / 0.9708 GB, free: 131 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001995/3.617, allocations: 250.2 kB / 0.971 GB, free: 131 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008753/3.618, allocations: 99.53 kB / 0.9711 GB, free: 131 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01439/3.632, allocations: 5.339 MB / 0.9763 GB, free: 129.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.623e-06/3.632, allocations: 0 / 0.9763 GB, free: 129.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01401/3.646, allocations: 2.163 MB / 0.9784 GB, free: 129.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * 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 (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04557/3.692, allocations: 17.17 MB / 0.9952 GB, free: 118.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02812/3.72, allocations: 12.08 MB / 1.007 GB, free: 108 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/3.72, allocations: 0 / 1.007 GB, free: 108 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01297/3.733, allocations: 5.141 MB / 1.012 GB, free: 103.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008542/3.742, allocations: 0.9494 MB / 1.013 GB, free: 102.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4156/4.157, allocations: 163.9 MB / 1.173 GB, free: 75.28 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/4.17, allocations: 5.495 MB / 1.178 GB, free: 74.38 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0151/4.185, allocations: 3.129 MB / 1.181 GB, free: 74.29 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008581/4.194, allocations: 3.709 MB / 1.185 GB, free: 74.28 MB / 458.8 MB Notification: Performance of SimCode: time 1.162e-06/4.194, allocations: 0 / 1.185 GB, free: 74.28 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7172/4.911, allocations: 177.5 MB / 1.358 GB, free: 101.6 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/4.911, allocations: 233.7 kB / 1.359 GB, free: 101.3 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/14.02, allocations: 1.203 kB / 1.359 GB, free: 101.3 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat