Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01587/0.01587, allocations: 103.5 kB / 15.05 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.001909/0.001908, allocations: 164.9 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.686/1.686, allocations: 170.9 MB / 187.5 MB, free: 1 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.3143/0.3143, allocations: 38.08 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006561, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09413, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03752/0.1317, allocations: 24.72 MB / 397 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.1504, allocations: 6.43 MB / 403.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.1556, allocations: 115.8 kB / 403.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004522/0.1601, allocations: 1.264 MB / 404.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.1746, allocations: 3.779 MB / 408.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.1772, allocations: 419.3 kB / 409 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005217/0.1825, allocations: 1.988 MB / 411 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/0.1873, allocations: 2.253 MB / 413.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.189, allocations: 0.8836 MB / 414.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.1914, allocations: 1.211 MB / 415.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006011/0.192, allocations: 132 kB / 415.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.1944, allocations: 0.8036 MB / 416.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.1963, allocations: 1.379 MB / 417.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1973, allocations: 0.7608 MB / 418.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007708/0.2051, allocations: 4.832 MB / 423.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2051, allocations: 0 / 423.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2051, allocations: 0 / 423.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.2053, allocations: 4 kB / 423.2 MB, free: 9.691 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01076/0.2161, allocations: 3.614 MB / 426.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2162, allocations: 8.031 kB / 426.9 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002237/0.2184, allocations: 0.7286 MB / 427.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0233/0.2417, allocations: 3.719 MB / 431.3 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.273/0.5148, allocations: 2.124 MB / 433.4 MB, free: 56.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.5151, allocations: 193 kB / 433.6 MB, free: 56.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/0.5167, allocations: 253.6 kB / 433.9 MB, free: 56.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02999/0.5468, allocations: 10.76 MB / 444.6 MB, free: 52.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.547, allocations: 32.5 kB / 444.7 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/0.5484, allocations: 124.7 kB / 444.8 MB, free: 52.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007511/0.5559, allocations: 2.579 MB / 447.4 MB, free: 52.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/0.5847, allocations: 10.07 MB / 457.4 MB, free: 45.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/0.6998, allocations: 35.26 MB / 492.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.7145, allocations: 5.169 MB / 497.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/0.7168, allocations: 1.884 MB / 499.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.7168, allocations: 56.56 kB / 499.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=229): time 7.374e-06/0.7169, allocations: 0 / 499.8 MB, free: 1.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=235): time 0.06056/0.7774, allocations: 14.54 MB / 0.5023 GB, free: 3.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.7776, allocations: 69.41 kB / 0.5024 GB, free: 3.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.7833, allocations: 2.753 MB / 0.5051 GB, free: 376 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005168/0.7839, allocations: 49.7 kB / 0.5051 GB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00297/0.7869, allocations: 2.703 MB / 0.5077 GB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.7885, allocations: 0.8483 MB / 0.5086 GB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.7891, allocations: 100 kB / 0.5087 GB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004963/0.7896, allocations: 0.5304 MB / 0.5092 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005943/0.7955, allocations: 2.189 MB / 0.5113 GB, free: 9.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008464/0.804, allocations: 5.065 MB / 0.5163 GB, free: 3.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008046/0.8121, allocations: 3.323 MB / 0.5195 GB, free: 116 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-05/0.8123, allocations: 31.78 kB / 0.5195 GB, free: 88 kB / 362.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.02265/0.8349, allocations: 7.86 MB / 0.5272 GB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.8351, allocations: 48 kB / 0.5273 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/0.8352, allocations: 100 kB / 0.5274 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/0.8393, allocations: 0.8051 MB / 0.5281 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007596/0.8469, allocations: 1.197 MB / 0.5293 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009411/0.8564, allocations: 4.296 MB / 0.5335 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/0.8615, allocations: 303.8 kB / 0.5338 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008834/0.8624, allocations: 300 kB / 0.5341 GB, free: 1.051 MB / 378.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.005216/0.8676, allocations: 2.055 MB / 0.5361 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/0.8683, allocations: 264.6 kB / 0.5363 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.882, allocations: 4.706 MB / 0.5409 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.8821, allocations: 47.73 kB / 0.541 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8822, allocations: 4 kB / 0.541 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/0.8822, allocations: 11.97 kB / 0.541 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/0.9128, allocations: 10.6 MB / 0.5513 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.9129, allocations: 16.14 kB / 0.5514 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/0.916, allocations: 359.4 kB / 0.5517 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/0.9198, allocations: 0.6521 MB / 0.5523 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/0.9201, allocations: 43.98 kB / 0.5524 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008145/0.9283, allocations: 3.749 MB / 0.556 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/0.9283, allocations: 15.98 kB / 0.5561 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/0.9471, allocations: 7.684 MB / 0.5636 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/0.9495, allocations: 0.6538 MB / 0.5642 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005415/0.95, allocations: 39.98 kB / 0.5642 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/0.9522, allocations: 139.8 kB / 0.5644 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/0.9528, allocations: 133 kB / 0.5645 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/0.953, allocations: 67.81 kB / 0.5646 GB, free: 1.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003781/0.9568, allocations: 1.698 MB / 0.5662 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.9569, allocations: 0 / 0.5662 GB, free: 15.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00573/0.9626, allocations: 0.9506 MB / 0.5672 GB, free: 14.59 MB / 426.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.01992/0.9826, allocations: 10.11 MB / 0.577 GB, free: 4.254 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2865/1.269, allocations: 5.331 MB / 0.5822 GB, free: 142.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.269, allocations: 1.938 kB / 0.5822 GB, free: 142.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004988/1.274, allocations: 2.017 MB / 0.5842 GB, free: 142.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.277, allocations: 309 kB / 0.5845 GB, free: 142.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07984/1.356, allocations: 98.82 MB / 0.681 GB, free: 55.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005397/1.362, allocations: 3.307 MB / 0.6842 GB, free: 52.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007382/1.369, allocations: 1.967 MB / 0.6861 GB, free: 50.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003836/1.373, allocations: 1.757 MB / 0.6879 GB, free: 48.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/1.373, allocations: 0 / 0.6879 GB, free: 48.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4444/1.818, allocations: 64.76 MB / 0.7511 GB, free: 132.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.818, allocations: 193.3 kB / 0.7513 GB, free: 132.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/6.332, allocations: 0 / 0.7513 GB, free: 132.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat