Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSR",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.01107/0.01108, allocations: 103.5 kB / 15.05 MB, free: 5.949 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.001208/0.001207, allocations: 172.1 kB / 15.93 MB, free: 5.91 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.712/1.712, allocations: 170.9 MB / 187.5 MB, free: 0.8477 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.2672/0.2672, allocations: 38.1 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005021, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09406, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.06346/0.1576, allocations: 39.04 MB / 411.3 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.1829, allocations: 8.86 MB / 420.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007764/0.1907, allocations: 183.6 kB / 420.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006827/0.1976, allocations: 1.94 MB / 422.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01955/0.2172, allocations: 5.119 MB / 427.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.2213, allocations: 0.659 MB / 428.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003931/0.2253, allocations: 1.362 MB / 429.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2925/0.5178, allocations: 5.153 MB / 434.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.5203, allocations: 0.7836 MB / 435.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.5232, allocations: 1 MB / 436.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.5243, allocations: 130.8 kB / 436.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.5273, allocations: 0.6902 MB / 437.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.5302, allocations: 1.268 MB / 438.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.5322, allocations: 0.6975 MB / 439.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009248/0.5415, allocations: 5.026 MB / 444.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5416, allocations: 0 / 444.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5416, allocations: 1.75 kB / 444.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003067/0.5419, allocations: 1.406 kB / 444.2 MB, free: 11.45 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01645/0.5584, allocations: 3.795 MB / 448 MB, free: 9.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5585, allocations: 9.5 kB / 448 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00295/0.5614, allocations: 0.6294 MB / 448.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005687/0.5672, allocations: 0.6018 MB / 449.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/0.5742, allocations: 1.816 MB / 451 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.5745, allocations: 236.6 kB / 451.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.5762, allocations: 314.6 kB / 451.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.6071, allocations: 9.372 MB / 461 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.6073, allocations: 18.5 kB / 461 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/0.6084, allocations: 139.3 kB / 461.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/0.6129, allocations: 1.585 MB / 462.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02887/0.6418, allocations: 7.64 MB / 470.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07289/0.7148, allocations: 27.94 MB / 498.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/0.7371, allocations: 2.348 MB / 0.4889 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/0.7639, allocations: 7.694 MB / 0.4964 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/0.7641, allocations: 52.75 kB / 0.4965 GB, free: 5.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 5.47e-06/0.7641, allocations: 0 / 0.4965 GB, free: 5.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.04774/0.8119, allocations: 7.153 MB / 0.5034 GB, free: 15.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.8121, allocations: 149.5 kB / 0.5036 GB, free: 14.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/0.8262, allocations: 2.605 MB / 0.5061 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.8266, allocations: 44.61 kB / 0.5062 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008077/0.8347, allocations: 2.42 MB / 0.5085 GB, free: 9.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/0.8357, allocations: 397.7 kB / 0.5089 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/0.8362, allocations: 80 kB / 0.509 GB, free: 9.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004909/0.8367, allocations: 472 kB / 0.5094 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/0.8492, allocations: 1.069 MB / 0.5105 GB, free: 7.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01631/0.8656, allocations: 3.442 MB / 0.5138 GB, free: 3.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/0.8817, allocations: 1.836 MB / 0.5156 GB, free: 1.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.8819, allocations: 28 kB / 0.5157 GB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01864/0.9005, allocations: 4.406 MB / 0.52 GB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.9007, allocations: 40 kB / 0.52 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002682/0.901, allocations: 84 kB / 0.5201 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.9013, allocations: 124 kB / 0.5202 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00927/0.9107, allocations: 0.943 MB / 0.5211 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003024/0.911, allocations: 171.9 kB / 0.5213 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/0.9177, allocations: 192.8 kB / 0.5215 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/0.919, allocations: 242.8 kB / 0.5217 GB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 387 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (496): * Single equations (assignments): 496 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006988/0.9261, allocations: 1.581 MB / 0.5232 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009134/0.927, allocations: 233 kB / 0.5235 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/0.9335, allocations: 1.38 MB / 0.5248 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/0.9336, allocations: 11.98 kB / 0.5248 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.9336, allocations: 4 kB / 0.5248 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.9337, allocations: 9.719 kB / 0.5248 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.9609, allocations: 6.008 MB / 0.5307 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/0.961, allocations: 13 kB / 0.5307 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/0.9636, allocations: 224.5 kB / 0.5309 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.616e-05/0.9637, allocations: 28 kB / 0.531 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/0.964, allocations: 39.95 kB / 0.531 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.336e-05/0.9641, allocations: 33.98 kB / 0.531 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-05/0.9642, allocations: 22.94 kB / 0.5311 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0068/0.971, allocations: 3.236 MB / 0.5342 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.9725, allocations: 325.5 kB / 0.5345 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/0.9736, allocations: 39.98 kB / 0.5346 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/0.9766, allocations: 47.97 kB / 0.5346 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009895/0.9776, allocations: 125.1 kB / 0.5347 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004952/0.9782, allocations: 48 kB / 0.5348 GB, free: 14.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007037/0.9852, allocations: 1.664 MB / 0.5364 GB, free: 12.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.914e-06/0.9853, allocations: 0 / 0.5364 GB, free: 12.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009091/0.9944, allocations: 0.6679 MB / 0.5371 GB, free: 11.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * 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 (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/1.005, allocations: 7.81 MB / 0.5447 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008707/1.014, allocations: 2.489 MB / 0.5471 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/1.014, allocations: 0 / 0.5471 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.016, allocations: 0.5754 MB / 0.5477 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.018, allocations: 309.4 kB / 0.548 GB, free: 220 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3177/1.336, allocations: 70.76 MB / 0.6171 GB, free: 153.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006996/1.343, allocations: 2.798 MB / 0.6198 GB, free: 152.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005812/1.349, allocations: 1.029 MB / 0.6208 GB, free: 152.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003646/1.353, allocations: 1.46 MB / 0.6222 GB, free: 152.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/1.353, allocations: 1.969 kB / 0.6222 GB, free: 152.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/1.476, allocations: 49.13 MB / 0.6702 GB, free: 113.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/1.477, allocations: 173.7 kB / 0.6704 GB, free: 113.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.469/5.946, allocations: 3.938 kB / 0.6704 GB, free: 113.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat