Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute",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.01118/0.01118, allocations: 107.6 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.00131/0.00131, allocations: 184.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 1.939/1.939, allocations: 194.6 MB / 211.3 MB, free: 11.13 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.3355/0.3355, allocations: 40.04 MB / 296.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006599/0.00066, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1314, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03876/0.1703, allocations: 24.74 MB / 440.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.1891, allocations: 6.458 MB / 447.2 MB, free: 3.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005611/0.1948, allocations: 115.8 kB / 447.3 MB, free: 3.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.2001, allocations: 1.272 MB / 448.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3439/0.544, allocations: 3.768 MB / 452.4 MB, free: 31.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5468, allocations: 412 kB / 452.8 MB, free: 31.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.5521, allocations: 1.987 MB / 454.8 MB, free: 31.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.5565, allocations: 2.252 MB / 457 MB, free: 31.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.5586, allocations: 0.8802 MB / 457.9 MB, free: 31.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.5613, allocations: 1.223 MB / 459.1 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008254/0.5621, allocations: 131.5 kB / 459.2 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.5646, allocations: 0.7985 MB / 460 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.5667, allocations: 1.382 MB / 461.4 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.5679, allocations: 0.7594 MB / 462.2 MB, free: 31.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007037/0.5749, allocations: 4.837 MB / 467 MB, free: 31.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.575, allocations: 0 / 467 MB, free: 31.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.575, allocations: 0 / 467 MB, free: 31.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.5753, allocations: 0 / 467 MB, free: 31.12 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01091/0.5862, allocations: 3.621 MB / 470.6 MB, free: 29.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.5863, allocations: 9.625 kB / 470.6 MB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002248/0.5885, allocations: 0.7256 MB / 471.4 MB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02317/0.6117, allocations: 3.721 MB / 475.1 MB, free: 29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006849/0.6186, allocations: 2.122 MB / 477.2 MB, free: 28.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.6189, allocations: 198.3 kB / 477.4 MB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.6205, allocations: 250.5 kB / 477.7 MB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.6503, allocations: 10.77 MB / 488.4 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.6506, allocations: 28.02 kB / 488.5 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008375/0.6514, allocations: 119.7 kB / 488.6 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007863/0.6593, allocations: 2.582 MB / 491.2 MB, free: 27.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/0.6922, allocations: 10.07 MB / 0.4895 GB, free: 26.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08027/0.7725, allocations: 35.28 MB / 0.5239 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.7901, allocations: 5.169 MB / 0.529 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002825/0.793, allocations: 1.888 MB / 0.5308 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.676e-05/0.7931, allocations: 52.56 kB / 0.5309 GB, free: 2.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=229): time 7.013e-06/0.7931, allocations: 1.531 kB / 0.5309 GB, free: 2.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=235): time 0.06576/0.8589, allocations: 14.55 MB / 0.5451 GB, free: 3.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.859, allocations: 69.41 kB / 0.5451 GB, free: 3.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006675/0.8657, allocations: 2.747 MB / 0.5478 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007737/0.8666, allocations: 57.7 kB / 0.5479 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003051/0.8696, allocations: 2.695 MB / 0.5505 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.8715, allocations: 0.8491 MB / 0.5513 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006937/0.8723, allocations: 103.6 kB / 0.5514 GB, free: 13.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005714/0.8729, allocations: 0.537 MB / 0.552 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006511/0.8794, allocations: 2.189 MB / 0.5541 GB, free: 10.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009597/0.889, allocations: 5.061 MB / 0.559 GB, free: 3.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009235/0.8983, allocations: 3.322 MB / 0.5623 GB, free: 0.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.8986, allocations: 29.97 kB / 0.5623 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.02622/0.9248, allocations: 7.864 MB / 0.57 GB, free: 8.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.925, allocations: 48 kB / 0.57 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.9252, allocations: 100 kB / 0.5701 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/0.9295, allocations: 0.8051 MB / 0.5709 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008185/0.9377, allocations: 1.189 MB / 0.5721 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.9482, allocations: 4.299 MB / 0.5763 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/0.954, allocations: 299.8 kB / 0.5766 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/0.9556, allocations: 300 kB / 0.5769 GB, free: 1.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 24 (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 (637): * Single equations (assignments): 630 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007073/0.9627, allocations: 2.043 MB / 0.5789 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009603/0.9637, allocations: 268.6 kB / 0.5791 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/0.9802, allocations: 4.71 MB / 0.5837 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001342/0.9804, allocations: 54.08 kB / 0.5838 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.9804, allocations: 0 / 0.5838 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.9805, allocations: 18.03 kB / 0.5838 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03564/1.016, allocations: 10.59 MB / 0.5941 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/1.016, allocations: 8.156 kB / 0.5941 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.02, allocations: 363.4 kB / 0.5945 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/1.024, allocations: 0.6522 MB / 0.5951 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006333/1.024, allocations: 46.08 kB / 0.5952 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008771/1.033, allocations: 3.748 MB / 0.5988 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/1.033, allocations: 11.94 kB / 0.5988 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.055, allocations: 7.67 MB / 0.6063 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.057, allocations: 0.6616 MB / 0.607 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.059, allocations: 35.12 kB / 0.607 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.062, allocations: 143.8 kB / 0.6071 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/1.063, allocations: 140.9 kB / 0.6073 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003204/1.063, allocations: 63.98 kB / 0.6073 GB, free: 1.746 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004906/1.068, allocations: 1.698 MB / 0.609 GB, free: 40 kB / 474.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.068, allocations: 0 / 0.609 GB, free: 40 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.007736/1.076, allocations: 0.9568 MB / 0.6099 GB, free: 15.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/1.099, allocations: 10.11 MB / 0.6198 GB, free: 4.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3413/1.441, allocations: 5.326 MB / 0.625 GB, free: 160.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.441, allocations: 3.125 kB / 0.625 GB, free: 160.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005084/1.446, allocations: 2.01 MB / 0.627 GB, free: 160.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.449, allocations: 311 kB / 0.6273 GB, free: 160.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09069/1.54, allocations: 98.84 MB / 0.7238 GB, free: 75.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008243/1.548, allocations: 3.308 MB / 0.727 GB, free: 74.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009928/1.558, allocations: 1.967 MB / 0.7289 GB, free: 74.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005021/1.563, allocations: 1.754 MB / 0.7306 GB, free: 72.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/1.563, allocations: 0 / 0.7306 GB, free: 72.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/1.721, allocations: 64.78 MB / 0.7939 GB, free: 19.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/1.721, allocations: 198.2 kB / 0.7941 GB, free: 19.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.836/6.557, allocations: 0 / 0.7941 GB, free: 19.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat