Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute2",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.0162/0.01621, allocations: 106 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.001964/0.001964, allocations: 166.4 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.996/1.996, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.2989/0.2989, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005115, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09901, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.08464/0.1837, allocations: 52.49 MB / 424.8 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3574/0.5411, allocations: 12.32 MB / 437.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01431/0.5555, allocations: 259.7 kB / 437.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.5666, allocations: 2.702 MB / 440.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03099/0.5976, allocations: 7.767 MB / 447.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.6031, allocations: 0.9138 MB / 448.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03177/0.6349, allocations: 11.32 MB / 460.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.6464, allocations: 4.981 MB / 465 MB, free: 3.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.6516, allocations: 1.596 MB / 466.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006831/0.6585, allocations: 2.261 MB / 468.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001961/0.6605, allocations: 222.9 kB / 469.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.6655, allocations: 1.022 MB / 470.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005206/0.6707, allocations: 2.41 MB / 472.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.6744, allocations: 1.199 MB / 473.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.6928, allocations: 7.819 MB / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6929, allocations: 0 / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6929, allocations: 1.641 kB / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003714/0.6933, allocations: 0 / 481.6 MB, free: 9.867 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.03307/0.7264, allocations: 6.594 MB / 488.2 MB, free: 3.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.7265, allocations: 12.03 kB / 488.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003769/0.7303, allocations: 1.033 MB / 489.2 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.066/0.7963, allocations: 7.065 MB / 496.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.8125, allocations: 4.979 MB / 0.4895 GB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005374/0.8131, allocations: 321.8 kB / 0.4898 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/0.8164, allocations: 445.4 kB / 0.4902 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04713/0.8636, allocations: 16 MB / 0.5059 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003328/0.864, allocations: 58.09 kB / 0.5059 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002091/0.8661, allocations: 195.9 kB / 0.5061 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009721/0.8758, allocations: 3.253 MB / 0.5093 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05007/0.926, allocations: 14.97 MB / 0.5239 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/1.063, allocations: 56.01 MB / 0.5786 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03344/1.097, allocations: 8.197 MB / 0.5866 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003482/1.1, allocations: 2.205 MB / 0.5887 GB, free: 8.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/1.1, allocations: 73.08 kB / 0.5888 GB, free: 8.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=367): time 8.175e-06/1.1, allocations: 0 / 0.5888 GB, free: 8.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=419): time 0.5411/1.642, allocations: 40.78 MB / 0.6286 GB, free: 158.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/1.642, allocations: 120.7 kB / 0.6287 GB, free: 158.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009677/1.651, allocations: 4.816 MB / 0.6335 GB, free: 154.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001263/1.653, allocations: 82.41 kB / 0.6335 GB, free: 154.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003655/1.656, allocations: 3.884 MB / 0.6373 GB, free: 150.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003092/1.659, allocations: 1.49 MB / 0.6388 GB, free: 149.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/1.661, allocations: 149.2 kB / 0.6389 GB, free: 149.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006861/1.662, allocations: 0.6365 MB / 0.6395 GB, free: 148.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009995/1.672, allocations: 3.922 MB / 0.6434 GB, free: 144.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/1.684, allocations: 7.68 MB / 0.6509 GB, free: 135.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.697, allocations: 5.448 MB / 0.6562 GB, free: 129.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.697, allocations: 36 kB / 0.6562 GB, free: 129.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1014) (initialization): time 0.04259/1.739, allocations: 14.16 MB / 0.6701 GB, free: 115.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.739, allocations: 60 kB / 0.6701 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/1.74, allocations: 132 kB / 0.6702 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/1.753, allocations: 2.705 MB / 0.6729 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/1.766, allocations: 1.778 MB / 0.6746 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/1.797, allocations: 14.55 MB / 0.6888 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009252/1.806, allocations: 0.4918 MB / 0.6893 GB, free: 95.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/1.808, allocations: 425.3 kB / 0.6897 GB, free: 95.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 589 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (917): * Single equations (assignments): 909 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007806/1.816, allocations: 2.908 MB / 0.6925 GB, free: 92.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.817, allocations: 471 kB / 0.693 GB, free: 91.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03106/1.849, allocations: 10.55 MB / 0.7033 GB, free: 81.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001293/1.849, allocations: 59.98 kB / 0.7034 GB, free: 81.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-05/1.849, allocations: 8 kB / 0.7034 GB, free: 81.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001256/1.849, allocations: 15.94 kB / 0.7034 GB, free: 81.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06334/1.912, allocations: 21.42 MB / 0.7243 GB, free: 59.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-05/1.912, allocations: 13 kB / 0.7243 GB, free: 59.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006618/1.919, allocations: 0.6845 MB / 0.725 GB, free: 58.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/1.932, allocations: 2.484 MB / 0.7274 GB, free: 56.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/1.933, allocations: 76 kB / 0.7275 GB, free: 56.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/1.962, allocations: 13.33 MB / 0.7405 GB, free: 42.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.962, allocations: 18.69 kB / 0.7405 GB, free: 42.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04183/2.004, allocations: 16.45 MB / 0.7566 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004713/2.009, allocations: 1.186 MB / 0.7577 GB, free: 24.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/2.01, allocations: 73.88 kB / 0.7578 GB, free: 24.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005771/2.016, allocations: 307.5 kB / 0.7581 GB, free: 23.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001733/2.018, allocations: 270 kB / 0.7584 GB, free: 23.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006853/2.019, allocations: 109.2 kB / 0.7585 GB, free: 23.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006888/2.026, allocations: 3.086 MB / 0.7615 GB, free: 20.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.026, allocations: 0 / 0.7615 GB, free: 20.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01014/2.036, allocations: 1.679 MB / 0.7631 GB, free: 18.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3487/2.385, allocations: 19.65 MB / 0.7823 GB, free: 150.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02415/2.409, allocations: 9.791 MB / 0.7919 GB, free: 146.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/2.409, allocations: 3.969 kB / 0.7919 GB, free: 146.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01095/2.42, allocations: 4.297 MB / 0.7961 GB, free: 145.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/2.426, allocations: 0.6286 MB / 0.7967 GB, free: 145.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1538/2.58, allocations: 145.1 MB / 0.9384 GB, free: 7.805 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009398/2.589, allocations: 4.739 MB / 0.943 GB, free: 3.023 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01187/2.601, allocations: 2.747 MB / 0.9457 GB, free: 272 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2949/2.896, allocations: 2.917 MB / 0.9486 GB, free: 152.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/2.896, allocations: 1.188 kB / 0.9486 GB, free: 152.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/3.18, allocations: 123.3 MB / 1.069 GB, free: 53.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/3.18, allocations: 203.3 kB / 1.069 GB, free: 53.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/9.817, allocations: 1.531 kB / 1.069 GB, free: 53.12 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat