Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",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.01522/0.01522, allocations: 105.4 kB / 15.06 MB, free: 6.035 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.001686/0.001686, allocations: 171.6 kB / 15.93 MB, free: 5.965 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.675/1.675, 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.2776/0.2776, allocations: 38.1 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007156/0.000716, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1102, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.09083/0.201, allocations: 43.22 MB / 415.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.2362, allocations: 9.815 MB / 425.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01/0.2462, allocations: 203.6 kB / 425.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009851/0.2562, allocations: 2.139 MB / 427.7 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3538/0.61, allocations: 5.627 MB / 433.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.6143, allocations: 0.6699 MB / 434 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.6186, allocations: 1.449 MB / 435.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.6325, allocations: 6.424 MB / 441.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.635, allocations: 0.8125 MB / 442.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.6379, allocations: 1.089 MB / 443.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.639, allocations: 151.5 kB / 443.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.6422, allocations: 0.7257 MB / 444.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002724/0.6449, allocations: 1.401 MB / 446 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.6464, allocations: 0.7804 MB / 446.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008715/0.6552, allocations: 6.188 MB / 453 MB, free: 8.828 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.6552, allocations: 0 / 453 MB, free: 8.828 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.6553, allocations: 0 / 453 MB, free: 8.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002398/0.6555, allocations: 0 / 453 MB, free: 8.828 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01824/0.6738, allocations: 4.166 MB / 457.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.6739, allocations: 9.562 kB / 457.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003652/0.6775, allocations: 0.6819 MB / 457.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009044/0.6866, allocations: 0.6737 MB / 458.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009264/0.6959, allocations: 2.25 MB / 460.8 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.6963, allocations: 271 kB / 461 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.698, allocations: 348.2 kB / 461.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04266/0.7407, allocations: 10.76 MB / 472.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.7409, allocations: 15.53 kB / 472.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.7424, allocations: 152.5 kB / 472.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005931/0.7484, allocations: 1.581 MB / 473.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04846/0.7969, allocations: 9.412 MB / 483.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06938/0.8663, allocations: 30.72 MB / 0.502 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/0.8842, allocations: 3.12 MB / 0.505 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/0.9067, allocations: 9.396 MB / 0.5142 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.9068, allocations: 47.56 kB / 0.5142 GB, free: 4.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.26e-06/0.9068, allocations: 0 / 0.5142 GB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.04978/0.9566, allocations: 8.982 MB / 0.523 GB, free: 11.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9567, allocations: 119 kB / 0.5231 GB, free: 11.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007633/0.9644, allocations: 2.84 MB / 0.5259 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004294/0.9649, allocations: 41.7 kB / 0.5259 GB, free: 8.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/0.9679, allocations: 2.503 MB / 0.5284 GB, free: 6.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/0.9689, allocations: 432 kB / 0.5288 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/0.9694, allocations: 86.81 kB / 0.5289 GB, free: 5.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004417/0.9699, allocations: 470.8 kB / 0.5293 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/0.9746, allocations: 1.474 MB / 0.5307 GB, free: 3.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007312/0.982, allocations: 3.781 MB / 0.5344 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/0.9886, allocations: 2.25 MB / 0.5366 GB, free: 12.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-05/0.9887, allocations: 24 kB / 0.5367 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01775/1.007, allocations: 5.217 MB / 0.5418 GB, free: 7.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/1.007, allocations: 44.06 kB / 0.5418 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/1.007, allocations: 80 kB / 0.5419 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/1.007, allocations: 124 kB / 0.542 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007166/1.014, allocations: 0.9922 MB / 0.543 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002218/1.014, allocations: 155.8 kB / 0.5431 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/1.019, allocations: 235.5 kB / 0.5433 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009973/1.02, allocations: 237.6 kB / 0.5436 GB, free: 5.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.005755/1.026, allocations: 1.755 MB / 0.5453 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00078/1.027, allocations: 236.9 kB / 0.5455 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/1.034, allocations: 2.057 MB / 0.5475 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.034, allocations: 18.02 kB / 0.5475 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.034, allocations: 3.953 kB / 0.5475 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/1.034, allocations: 7.969 kB / 0.5475 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.055, allocations: 6.645 MB / 0.554 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/1.055, allocations: 12 kB / 0.554 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.057, allocations: 255.4 kB / 0.5543 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.64e-05/1.057, allocations: 20.75 kB / 0.5543 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.058, allocations: 47.94 kB / 0.5543 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/1.058, allocations: 27.55 kB / 0.5544 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/1.058, allocations: 22.38 kB / 0.5544 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/1.064, allocations: 3.497 MB / 0.5578 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.065, allocations: 343.4 kB / 0.5581 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.066, allocations: 43.98 kB / 0.5582 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.069, allocations: 63.94 kB / 0.5582 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.069, allocations: 128 kB / 0.5584 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.069, allocations: 48 kB / 0.5584 GB, free: 6.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006609/1.076, allocations: 1.807 MB / 0.5602 GB, free: 4.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.076, allocations: 0 / 0.5602 GB, free: 4.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00611/1.082, allocations: 0.75 MB / 0.5609 GB, free: 3.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.009663/1.092, allocations: 7.568 MB / 0.5683 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.104, allocations: 3.167 MB / 0.5714 GB, free: 8.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.642e-05/1.104, allocations: 4 kB / 0.5714 GB, free: 8.656 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/1.107, allocations: 0.8031 MB / 0.5722 GB, free: 7.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.111, allocations: 316.1 kB / 0.5725 GB, free: 7.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3824/1.493, allocations: 69.16 MB / 0.64 GB, free: 129.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007195/1.5, allocations: 3.019 MB / 0.643 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005685/1.506, allocations: 1.02 MB / 0.644 GB, free: 128.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003814/1.51, allocations: 1.604 MB / 0.6455 GB, free: 127.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.442e-06/1.51, allocations: 0 / 0.6455 GB, free: 127.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.638, allocations: 55.01 MB / 0.6993 GB, free: 85.34 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.638, allocations: 173.7 kB / 0.6994 GB, free: 85.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/6.205, allocations: 0 / 0.6994 GB, free: 85.09 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat