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_3.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_3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.01134/0.01135, allocations: 105.5 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.001178/0.001178, allocations: 167.1 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.647/1.647, allocations: 170.9 MB / 187.6 MB, free: 0.8516 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.2503/0.2503, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004953, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09212, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.08342/0.1756, allocations: 54.24 MB / 426.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3188/0.4944, allocations: 12.44 MB / 439 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01183/0.5063, allocations: 266.4 kB / 439.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.5172, allocations: 2.752 MB / 442 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03816/0.5554, allocations: 7.716 MB / 449.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.5611, allocations: 0.6323 MB / 450.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008528/0.5697, allocations: 2.497 MB / 452.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.5855, allocations: 5.97 MB / 458.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.5896, allocations: 1.202 MB / 460 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004769/0.5945, allocations: 1.602 MB / 461.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.5958, allocations: 174.5 kB / 461.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.5991, allocations: 0.8403 MB / 462.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.6023, allocations: 1.838 MB / 464.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.605, allocations: 1.003 MB / 465.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009971/0.615, allocations: 6.656 MB / 472.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6151, allocations: 0 / 472.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.6151, allocations: 0 / 472.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003693/0.6155, allocations: 0 / 472.1 MB, free: 0.9492 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03174/0.6472, allocations: 6.103 MB / 478.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6473, allocations: 12.03 kB / 478.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003486/0.6508, allocations: 0.8715 MB / 479.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.6662, allocations: 2.337 MB / 481.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.677, allocations: 2.926 MB / 484.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/0.6775, allocations: 303.6 kB / 484.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.6799, allocations: 416.7 kB / 485.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03967/0.7196, allocations: 12.61 MB / 497.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.7199, allocations: 49.83 kB / 497.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/0.7218, allocations: 189.8 kB / 497.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005998/0.7278, allocations: 2.137 MB / 0.4883 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03905/0.7669, allocations: 11.21 MB / 0.4993 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.8804, allocations: 47.02 MB / 0.5452 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04557/0.9261, allocations: 5.496 MB / 0.5506 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.9283, allocations: 0.7124 MB / 0.5513 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.988e-05/0.9284, allocations: 51.88 kB / 0.5513 GB, free: 13.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 5.961e-06/0.9284, allocations: 1.531 kB / 0.5513 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1327/1.061, allocations: 27.1 MB / 0.5778 GB, free: 2.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.061, allocations: 158.5 kB / 0.5779 GB, free: 2.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.072, allocations: 4.611 MB / 0.5824 GB, free: 13.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008992/1.073, allocations: 64.2 kB / 0.5825 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004049/1.077, allocations: 3.532 MB / 0.5859 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.079, allocations: 0.9561 MB / 0.5869 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009108/1.08, allocations: 132 kB / 0.587 GB, free: 9.246 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005597/1.081, allocations: 0.5952 MB / 0.5876 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008629/1.09, allocations: 3.051 MB / 0.5906 GB, free: 5.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3021/1.392, allocations: 6.94 MB / 0.5973 GB, free: 162.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.405, allocations: 4.495 MB / 0.6017 GB, free: 162.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002528/1.405, allocations: 39.14 kB / 0.6018 GB, free: 162.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.03559/1.441, allocations: 10.88 MB / 0.6124 GB, free: 158.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.441, allocations: 67.61 kB / 0.6125 GB, free: 158.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002445/1.441, allocations: 137.5 kB / 0.6126 GB, free: 158.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/1.447, allocations: 1.14 MB / 0.6137 GB, free: 158.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/1.46, allocations: 1.709 MB / 0.6154 GB, free: 157.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.472, allocations: 6.114 MB / 0.6213 GB, free: 154.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009015/1.482, allocations: 424.5 kB / 0.6217 GB, free: 154.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/1.484, allocations: 423.5 kB / 0.6221 GB, free: 154.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (850): * Single equations (assignments): 846 * 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.007135/1.491, allocations: 2.416 MB / 0.6245 GB, free: 153.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.492, allocations: 410.3 kB / 0.6249 GB, free: 153.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/1.51, allocations: 5.713 MB / 0.6305 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/1.51, allocations: 29.7 kB / 0.6305 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.51, allocations: 6.406 kB / 0.6305 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.925e-05/1.51, allocations: 17.44 kB / 0.6305 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0367/1.547, allocations: 12.38 MB / 0.6426 GB, free: 141.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/1.547, allocations: 4 kB / 0.6426 GB, free: 141.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005632/1.552, allocations: 0.5191 MB / 0.6431 GB, free: 141.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/1.557, allocations: 0.9535 MB / 0.6441 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009196/1.558, allocations: 44 kB / 0.6441 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.57, allocations: 5.837 MB / 0.6498 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.57, allocations: 7.938 kB / 0.6498 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/1.594, allocations: 10.11 MB / 0.6597 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003543/1.598, allocations: 0.9212 MB / 0.6606 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/1.6, allocations: 54.48 kB / 0.6606 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004704/1.604, allocations: 192.5 kB / 0.6608 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.606, allocations: 149.8 kB / 0.661 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/1.606, allocations: 68.62 kB / 0.661 GB, free: 122.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006711/1.613, allocations: 2.913 MB / 0.6639 GB, free: 119.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.493e-06/1.613, allocations: 0 / 0.6639 GB, free: 119.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008875/1.622, allocations: 1.281 MB / 0.6651 GB, free: 118.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (230): * Single equations (assignments): 226 * 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 Backend phase and start with SimCode phase: time 0.02593/1.648, allocations: 11.57 MB / 0.6764 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01768/1.665, allocations: 7.297 MB / 0.6835 GB, free: 99.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.665, allocations: 4 kB / 0.6835 GB, free: 99.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006915/1.672, allocations: 2.785 MB / 0.6863 GB, free: 96.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.676, allocations: 449.8 kB / 0.6867 GB, free: 96.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4296/2.106, allocations: 139.4 MB / 0.8228 GB, free: 129.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/2.114, allocations: 3.911 MB / 0.8266 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01192/2.126, allocations: 2.302 MB / 0.8288 GB, free: 128.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00645/2.133, allocations: 2.329 MB / 0.8311 GB, free: 126.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.563e-06/2.133, allocations: 3.938 kB / 0.8311 GB, free: 126.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2721/2.405, allocations: 96.94 MB / 0.9258 GB, free: 31.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/2.405, allocations: 203.3 kB / 0.926 GB, free: 31.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.972/8.377, allocations: 0 / 0.926 GB, free: 31.18 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat