Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.01117/0.01117, allocations: 103 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.00123/0.00123, allocations: 167.7 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.751/1.751, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2927/0.2927, allocations: 38.09 MB / 265.1 MB, free: 3.984 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006769/0.0006771, allocations: 19.98 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.09961, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.421/0.5207, allocations: 68.3 MB / 440.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05069/0.5714, allocations: 15.87 MB / 456.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01915/0.5906, allocations: 363.6 kB / 456.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01769/0.6084, allocations: 3.491 MB / 460.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04077/0.6492, allocations: 9.973 MB / 470.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006847/0.6561, allocations: 1.148 MB / 471.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1031/0.7592, allocations: 33.41 MB / 0.493 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02175/0.781, allocations: 7.014 MB / 0.4999 GB, free: 6.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007158/0.7882, allocations: 1.73 MB / 0.5015 GB, free: 5.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006946/0.7953, allocations: 2.038 MB / 0.5035 GB, free: 3.793 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.7974, allocations: 184 kB / 0.5037 GB, free: 3.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005509/0.803, allocations: 0.8625 MB / 0.5046 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006379/0.8095, allocations: 2.303 MB / 0.5068 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004081/0.8136, allocations: 1.084 MB / 0.5079 GB, free: 124 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.83, allocations: 7.388 MB / 0.5151 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8301, allocations: 3.938 kB / 0.5151 GB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.8301, allocations: 0 / 0.5151 GB, free: 8.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003894/0.8305, allocations: 0 / 0.5151 GB, free: 8.727 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.0413/0.8718, allocations: 6.931 MB / 0.5218 GB, free: 1.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.8719, allocations: 8.031 kB / 0.5219 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004347/0.8763, allocations: 0.7345 MB / 0.5226 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1795/1.056, allocations: 12.14 MB / 0.5344 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/1.077, allocations: 6.34 MB / 0.5406 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004679/1.078, allocations: 325.3 kB / 0.5409 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/1.08, allocations: 407.6 kB / 0.5413 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/1.117, allocations: 11.1 MB / 0.5522 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/1.118, allocations: 59.5 kB / 0.5522 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009473/1.119, allocations: 179.9 kB / 0.5524 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00353/1.122, allocations: 1.499 MB / 0.5538 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04856/1.171, allocations: 9.305 MB / 0.5629 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4039/1.575, allocations: 44.63 MB / 0.6065 GB, free: 154 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04072/1.616, allocations: 7.948 MB / 0.6143 GB, free: 153.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/1.645, allocations: 12.86 MB / 0.6268 GB, free: 147.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/1.645, allocations: 56.36 kB / 0.6269 GB, free: 147.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=283): time 6.852e-06/1.645, allocations: 3.969 kB / 0.6269 GB, free: 147.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=406): time 0.4203/2.066, allocations: 77.15 MB / 0.7022 GB, free: 76.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02662/2.092, allocations: 11.39 MB / 0.7134 GB, free: 65.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/2.103, allocations: 4.831 MB / 0.7181 GB, free: 60.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00146/2.104, allocations: 94.33 kB / 0.7182 GB, free: 60.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002962/2.107, allocations: 2.959 MB / 0.7211 GB, free: 57.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002905/2.11, allocations: 1.402 MB / 0.7224 GB, free: 55.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009495/2.111, allocations: 108.7 kB / 0.7225 GB, free: 55.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003658/2.112, allocations: 0.5406 MB / 0.7231 GB, free: 55.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/2.123, allocations: 4.626 MB / 0.7276 GB, free: 50.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/2.135, allocations: 6.619 MB / 0.734 GB, free: 42.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/2.148, allocations: 5.579 MB / 0.7395 GB, free: 37.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/2.148, allocations: 20 kB / 0.7395 GB, free: 37.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0662/2.214, allocations: 18.96 MB / 0.758 GB, free: 18.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/2.215, allocations: 37.03 kB / 0.7581 GB, free: 18.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.724e-05/2.215, allocations: 64 kB / 0.7581 GB, free: 18.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04363/2.258, allocations: 8.792 MB / 0.7667 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/2.266, allocations: 1.01 MB / 0.7677 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4137/2.68, allocations: 52.23 MB / 0.8187 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009142/2.689, allocations: 496.7 kB / 0.8192 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/2.691, allocations: 286.2 kB / 0.8194 GB, free: 139.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 291 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (512): * Single equations (assignments): 503 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006711/2.697, allocations: 2.266 MB / 0.8217 GB, free: 138.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/2.699, allocations: 479.9 kB / 0.8221 GB, free: 138.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07157/2.771, allocations: 17.95 MB / 0.8396 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05694/2.827, allocations: 16.45 MB / 0.8557 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/2.828, allocations: 30.41 kB / 0.8557 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.542e-05/2.828, allocations: 15.94 kB / 0.8558 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1034/2.931, allocations: 35.33 MB / 0.8903 GB, free: 69.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-05/2.931, allocations: 4 kB / 0.8903 GB, free: 69.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/2.936, allocations: 455.2 kB / 0.8907 GB, free: 69.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04382/2.98, allocations: 8.805 MB / 0.8993 GB, free: 60.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/2.981, allocations: 71.98 kB / 0.8994 GB, free: 60.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.558/3.539, allocations: 50.79 MB / 0.949 GB, free: 149 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04505/3.584, allocations: 10.17 MB / 0.9589 GB, free: 147.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08019/3.664, allocations: 24.49 MB / 0.9828 GB, free: 140.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006079/3.67, allocations: 1.466 MB / 0.9842 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002589/3.673, allocations: 78.88 kB / 0.9843 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007572/3.681, allocations: 389 kB / 0.9847 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002928/3.684, allocations: 328.8 kB / 0.985 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/3.685, allocations: 97.77 kB / 0.9851 GB, free: 140.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007688/3.693, allocations: 3.234 MB / 0.9883 GB, free: 139.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.693, allocations: 0 / 0.9883 GB, free: 139.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01052/3.703, allocations: 2.017 MB / 0.9902 GB, free: 139 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07803/3.781, allocations: 25.94 MB / 1.016 GB, free: 116.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03318/3.814, allocations: 12.59 MB / 1.028 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/3.815, allocations: 4 kB / 1.028 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02175/3.836, allocations: 7.197 MB / 1.035 GB, free: 96.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/3.843, allocations: 0.7437 MB / 1.036 GB, free: 95.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05751/3.901, allocations: 67.86 MB / 1.102 GB, free: 25.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007942/3.909, allocations: 4.275 MB / 1.106 GB, free: 21.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007581/3.916, allocations: 1.625 MB / 1.108 GB, free: 19.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006331/3.923, allocations: 2.639 MB / 1.11 GB, free: 17.27 MB / 458.7 MB Notification: Performance of SimCode: time 2.014e-06/3.923, allocations: 0 / 1.11 GB, free: 17.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6706/4.594, allocations: 164.6 MB / 1.271 GB, free: 27.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/4.594, allocations: 232.6 kB / 1.271 GB, free: 27.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/12.37, allocations: 4 kB / 1.271 GB, free: 27.73 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat