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.Rotor1D_1.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.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01152/0.01152, allocations: 110.1 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.2.mo): time 0.001259/0.001259, allocations: 178.6 kB / 15.95 MB, free: 5.52 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.139/2.139, allocations: 194.6 MB / 211.3 MB, free: 10.93 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.2686/0.2686, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 16 kB / 361.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 54.87 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.4362/0.5551, allocations: 77.54 MB / 493.6 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05457/0.6098, allocations: 17.84 MB / 0.4994 GB, free: 6.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01799/0.6278, allocations: 406.9 kB / 0.4998 GB, free: 6.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.015/0.6429, allocations: 3.986 MB / 0.5037 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04546/0.6884, allocations: 11.28 MB / 0.5147 GB, free: 7.039 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008958/0.6974, allocations: 1.268 MB / 0.516 GB, free: 5.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.161/0.8584, allocations: 34.62 MB / 0.5498 GB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01813/0.8766, allocations: 7.783 MB / 0.5574 GB, free: 11.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.8821, allocations: 2.071 MB / 0.5594 GB, free: 9.164 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008533/0.8907, allocations: 2.664 MB / 0.562 GB, free: 6.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002876/0.8936, allocations: 240 kB / 0.5622 GB, free: 6.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007302/0.901, allocations: 1.389 MB / 0.5636 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007875/0.909, allocations: 3.09 MB / 0.5666 GB, free: 1.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.9136, allocations: 1.458 MB / 0.568 GB, free: 308 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02348/0.9371, allocations: 9.831 MB / 0.5776 GB, free: 6.445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9372, allocations: 3.938 kB / 0.5776 GB, free: 6.441 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.359e-06/0.9372, allocations: 0 / 0.5776 GB, free: 6.441 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004638/0.9377, allocations: 0 / 0.5776 GB, free: 6.441 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.06157/0.9993, allocations: 9.016 MB / 0.5864 GB, free: 13.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.9994, allocations: 8.031 kB / 0.5864 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00423/1.004, allocations: 1.078 MB / 0.5875 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8152/1.819, allocations: 19.38 MB / 0.6064 GB, free: 155.9 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02621/1.845, allocations: 8.012 MB / 0.6142 GB, free: 153.9 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/1.846, allocations: 376.9 kB / 0.6146 GB, free: 153.7 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00387/1.85, allocations: 0.6882 MB / 0.6153 GB, free: 153.6 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05138/1.901, allocations: 16.7 MB / 0.6316 GB, free: 143.8 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004345/1.902, allocations: 85.17 kB / 0.6317 GB, free: 143.7 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/1.904, allocations: 237.9 kB / 0.6319 GB, free: 143.5 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006215/1.91, allocations: 2.658 MB / 0.6345 GB, free: 140.9 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04761/1.958, allocations: 13.95 MB / 0.6481 GB, free: 126.9 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.118/2.076, allocations: 66.39 MB / 0.7129 GB, free: 59.41 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04628/2.122, allocations: 8.755 MB / 0.7215 GB, free: 50.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/2.125, allocations: 1.051 MB / 0.7225 GB, free: 49.3 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/2.125, allocations: 60.56 kB / 0.7226 GB, free: 49.24 MB / 474.8 MB Notification: Performance of pre-optimization done (n=268): time 7.053e-06/2.125, allocations: 0 / 0.7226 GB, free: 49.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=345): time 0.2679/2.393, allocations: 49.87 MB / 0.7713 GB, free: 15.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003465/2.396, allocations: 3.253 MB / 0.7745 GB, free: 11.41 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01976/2.416, allocations: 8.204 MB / 0.7825 GB, free: 3.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001303/2.418, allocations: 81.3 kB / 0.7825 GB, free: 3.168 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3327/2.75, allocations: 5.129 MB / 0.7876 GB, free: 156.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002832/2.753, allocations: 1.319 MB / 0.7888 GB, free: 155.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/2.755, allocations: 182.7 kB / 0.789 GB, free: 155.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009043/2.756, allocations: 0.7112 MB / 0.7897 GB, free: 155 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/2.769, allocations: 4.642 MB / 0.7942 GB, free: 154.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01869/2.787, allocations: 9.86 MB / 0.8039 GB, free: 145.8 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/2.806, allocations: 6.594 MB / 0.8103 GB, free: 143.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003623/2.806, allocations: 52.41 kB / 0.8104 GB, free: 143.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.1304/2.936, allocations: 31.83 MB / 0.8414 GB, free: 130.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/2.937, allocations: 84 kB / 0.8415 GB, free: 130.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09002/3.027, allocations: 20.87 MB / 0.8619 GB, free: 109.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08898/3.116, allocations: 16.88 MB / 0.8784 GB, free: 92.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01424/3.13, allocations: 2.175 MB / 0.8805 GB, free: 90.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08478/3.215, allocations: 37.03 MB / 0.9167 GB, free: 52.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.229, allocations: 0.7655 MB / 0.9174 GB, free: 51.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00266/3.232, allocations: 0.5567 MB / 0.918 GB, free: 51.41 MB / 490.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.01079/3.243, allocations: 3.41 MB / 0.9213 GB, free: 48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004149/3.247, allocations: 0.6749 MB / 0.9219 GB, free: 47.31 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03797/3.285, allocations: 10.4 MB / 0.9321 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03102/3.316, allocations: 9.101 MB / 0.941 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.771e-05/3.316, allocations: 21.52 kB / 0.941 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.356e-05/3.316, allocations: 15.94 kB / 0.941 GB, free: 27.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4189/3.735, allocations: 24.02 MB / 0.9645 GB, free: 136.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-05/3.736, allocations: 7.703 kB / 0.9645 GB, free: 136.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007237/3.743, allocations: 0.6642 MB / 0.9651 GB, free: 136.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02634/3.769, allocations: 4.125 MB / 0.9692 GB, free: 136.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/3.771, allocations: 92.91 kB / 0.9692 GB, free: 136.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0533/3.824, allocations: 24.38 MB / 0.9931 GB, free: 125.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002539/3.826, allocations: 3.036 MB / 0.996 GB, free: 122.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0449/3.871, allocations: 16.01 MB / 1.012 GB, free: 116.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00586/3.877, allocations: 1.434 MB / 1.013 GB, free: 115.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003095/3.88, allocations: 87.58 kB / 1.013 GB, free: 115.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008306/3.889, allocations: 351.6 kB / 1.013 GB, free: 115.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/3.891, allocations: 244.6 kB / 1.014 GB, free: 115.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001218/3.892, allocations: 99.83 kB / 1.014 GB, free: 115.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01325/3.906, allocations: 5.333 MB / 1.019 GB, free: 114 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.92e-07/3.906, allocations: 0 / 1.019 GB, free: 114 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01483/3.921, allocations: 2.166 MB / 1.021 GB, free: 113.8 MB / 490.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.0509/3.971, allocations: 17.16 MB / 1.038 GB, free: 102.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02976/4.001, allocations: 12.07 MB / 1.05 GB, free: 90.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/4.001, allocations: 4 kB / 1.05 GB, free: 90.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01337/4.015, allocations: 5.141 MB / 1.055 GB, free: 84.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009011/4.024, allocations: 0.9532 MB / 1.056 GB, free: 84.04 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4391/4.463, allocations: 163.9 MB / 1.216 GB, free: 85.77 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01479/4.478, allocations: 5.484 MB / 1.221 GB, free: 84.88 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01697/4.495, allocations: 3.13 MB / 1.224 GB, free: 84.79 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/4.505, allocations: 3.715 MB / 1.228 GB, free: 84.75 MB / 0.4949 GB Notification: Performance of SimCode: time 1.643e-06/4.505, allocations: 0 / 1.228 GB, free: 84.75 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7373/5.243, allocations: 177.5 MB / 1.401 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/5.243, allocations: 207 kB / 1.401 GB, free: 132 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/14.7, allocations: 0 / 1.401 GB, free: 132 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat