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_3.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_3,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01552/0.01552, allocations: 106.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.2.mo): time 0.00193/0.00193, allocations: 178.2 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.127/2.127, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.2726/0.2726, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006573, allocations: 12 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1188, allocations: 54.86 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3984/0.5173, allocations: 54.25 MB / 470.3 MB, free: 30.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03553/0.5529, allocations: 12.49 MB / 482.8 MB, free: 25.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/0.5665, allocations: 267 kB / 483 MB, free: 25.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.5771, allocations: 2.752 MB / 485.8 MB, free: 24.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03128/0.6084, allocations: 7.722 MB / 493.5 MB, free: 22.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.6134, allocations: 0.624 MB / 494.1 MB, free: 21.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006887/0.6203, allocations: 2.493 MB / 496.6 MB, free: 20.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.6345, allocations: 5.966 MB / 0.4908 GB, free: 18.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.6385, allocations: 1.207 MB / 0.492 GB, free: 18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.6433, allocations: 1.6 MB / 0.4935 GB, free: 17.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.6451, allocations: 174.3 kB / 0.4937 GB, free: 17.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.6491, allocations: 0.8358 MB / 0.4945 GB, free: 17.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004071/0.6533, allocations: 1.833 MB / 0.4963 GB, free: 16.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003155/0.6565, allocations: 1.001 MB / 0.4973 GB, free: 16.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.6688, allocations: 6.661 MB / 0.5038 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6688, allocations: 0 / 0.5038 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.359e-06/0.6688, allocations: 3.938 kB / 0.5038 GB, free: 12.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004105/0.6693, allocations: 0 / 0.5038 GB, free: 12.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03406/0.7033, allocations: 6.093 MB / 0.5097 GB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.7034, allocations: 9.375 kB / 0.5098 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003959/0.7074, allocations: 0.8754 MB / 0.5106 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.7228, allocations: 2.335 MB / 0.5129 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.733, allocations: 2.916 MB / 0.5157 GB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.7335, allocations: 317.1 kB / 0.516 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/0.7364, allocations: 419.1 kB / 0.5164 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04361/0.78, allocations: 12.61 MB / 0.5288 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/0.7804, allocations: 43.59 kB / 0.5288 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/0.7829, allocations: 187.8 kB / 0.529 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006231/0.7892, allocations: 2.152 MB / 0.5311 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04181/0.8311, allocations: 11.21 MB / 0.542 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/0.9407, allocations: 47.04 MB / 0.588 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03055/0.9713, allocations: 5.483 MB / 0.5933 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/0.9735, allocations: 0.7066 MB / 0.594 GB, free: 3.176 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.265e-05/0.9737, allocations: 63.8 kB / 0.5941 GB, free: 3.105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.713e-06/0.9737, allocations: 0 / 0.5941 GB, free: 3.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.1417/1.115, allocations: 27.08 MB / 0.6205 GB, free: 7.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.116, allocations: 150.5 kB / 0.6207 GB, free: 7.645 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.128, allocations: 4.599 MB / 0.6251 GB, free: 3.027 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009879/1.129, allocations: 65.7 kB / 0.6252 GB, free: 2.957 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3316/1.461, allocations: 3.533 MB / 0.6287 GB, free: 153 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.463, allocations: 0.9512 MB / 0.6296 GB, free: 152.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/1.464, allocations: 134.8 kB / 0.6297 GB, free: 152.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006919/1.465, allocations: 0.5941 MB / 0.6303 GB, free: 152.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008614/1.473, allocations: 3.053 MB / 0.6333 GB, free: 152.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/1.485, allocations: 6.944 MB / 0.6401 GB, free: 147.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.497, allocations: 4.505 MB / 0.6445 GB, free: 145.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/1.497, allocations: 45.16 kB / 0.6445 GB, free: 145.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=889) (initialization): time 0.03347/1.531, allocations: 10.88 MB / 0.6551 GB, free: 141.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.531, allocations: 61.78 kB / 0.6552 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/1.531, allocations: 138.3 kB / 0.6553 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005465/1.537, allocations: 1.138 MB / 0.6564 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/1.549, allocations: 1.706 MB / 0.6581 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.563, allocations: 6.13 MB / 0.6641 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/1.572, allocations: 416.3 kB / 0.6645 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/1.575, allocations: 421.5 kB / 0.6649 GB, free: 138 MB / 490.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.008692/1.583, allocations: 2.421 MB / 0.6672 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.585, allocations: 407.4 kB / 0.6676 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/1.605, allocations: 5.707 MB / 0.6732 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.243e-05/1.606, allocations: 35.16 kB / 0.6732 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.606, allocations: 4.578 kB / 0.6732 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.7e-05/1.606, allocations: 11.48 kB / 0.6733 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04145/1.647, allocations: 12.39 MB / 0.6854 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/1.647, allocations: 3.875 kB / 0.6854 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005765/1.653, allocations: 0.5231 MB / 0.6859 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/1.658, allocations: 0.954 MB / 0.6868 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009822/1.659, allocations: 50.53 kB / 0.6868 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.671, allocations: 5.839 MB / 0.6925 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.671, allocations: 7.703 kB / 0.6926 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/1.697, allocations: 10.1 MB / 0.7024 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003748/1.701, allocations: 0.9159 MB / 0.7033 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.702, allocations: 48 kB / 0.7034 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005017/1.708, allocations: 182.2 kB / 0.7035 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/1.709, allocations: 157 kB / 0.7037 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003749/1.709, allocations: 70.02 kB / 0.7037 GB, free: 114.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007439/1.717, allocations: 2.908 MB / 0.7066 GB, free: 112.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.717, allocations: 0 / 0.7066 GB, free: 112.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009402/1.726, allocations: 1.28 MB / 0.7078 GB, free: 111.2 MB / 490.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.02698/1.753, allocations: 11.57 MB / 0.7191 GB, free: 99.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01844/1.772, allocations: 7.286 MB / 0.7263 GB, free: 92.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.772, allocations: 4.25 kB / 0.7263 GB, free: 92.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007153/1.779, allocations: 2.79 MB / 0.729 GB, free: 89.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/1.783, allocations: 457.4 kB / 0.7294 GB, free: 89.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4614/2.245, allocations: 139.3 MB / 0.8655 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008757/2.254, allocations: 3.9 MB / 0.8693 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01189/2.266, allocations: 2.3 MB / 0.8715 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007954/2.274, allocations: 2.33 MB / 0.8738 GB, free: 105.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.263e-06/2.274, allocations: 0 / 0.8738 GB, free: 105.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2152/2.489, allocations: 96.94 MB / 0.9685 GB, free: 26.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/2.489, allocations: 215.4 kB / 0.9687 GB, free: 26.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/8.905, allocations: 7.938 kB / 0.9687 GB, free: 26.13 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat