Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRP",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.01166/0.01167, allocations: 105.4 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.1.mo): time 0.001232/0.001232, allocations: 170 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.806/1.806, allocations: 170.9 MB / 187.6 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.296/0.296, allocations: 38.08 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006321/0.0006323, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09682, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.08342/0.1803, allocations: 43.25 MB / 415.5 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03165/0.212, allocations: 9.666 MB / 425.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009032/0.2211, allocations: 207.6 kB / 425.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008004/0.2291, allocations: 2.142 MB / 427.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3197/0.5489, allocations: 5.624 MB / 433.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.5532, allocations: 0.5423 MB / 433.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.5578, allocations: 1.409 MB / 435.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01399/0.5718, allocations: 6.395 MB / 441.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.5744, allocations: 0.8131 MB / 442.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.5776, allocations: 1.045 MB / 443.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.5787, allocations: 147.2 kB / 443.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.581, allocations: 0.5592 MB / 444.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002686/0.5837, allocations: 1.38 MB / 445.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.5854, allocations: 0.7825 MB / 446.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009374/0.5948, allocations: 5.964 MB / 452.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5948, allocations: 0 / 452.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5949, allocations: 0 / 452.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000299/0.5952, allocations: 1.688 kB / 452.2 MB, free: 8.949 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.0134/0.6086, allocations: 3.883 MB / 456.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.6086, allocations: 9.25 kB / 456.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00236/0.611, allocations: 0.6795 MB / 456.8 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.6155, allocations: 0.632 MB / 457.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006403/0.6219, allocations: 2.147 MB / 459.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.6222, allocations: 267.9 kB / 459.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.6232, allocations: 348.3 kB / 460.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.6518, allocations: 9.377 MB / 469.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.6519, allocations: 16.66 kB / 469.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006374/0.6526, allocations: 164.3 kB / 469.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/0.657, allocations: 1.547 MB / 471.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.6843, allocations: 7.37 MB / 478.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/0.7479, allocations: 27.88 MB / 0.4946 GB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.76, allocations: 2.21 MB / 0.4968 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/0.7755, allocations: 6.752 MB / 0.5034 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/0.7757, allocations: 55.11 kB / 0.5034 GB, free: 15.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 4.448e-06/0.7757, allocations: 3 kB / 0.5034 GB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.03471/0.8104, allocations: 7.419 MB / 0.5107 GB, free: 8.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8106, allocations: 166.4 kB / 0.5108 GB, free: 7.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007106/0.8177, allocations: 2.682 MB / 0.5135 GB, free: 5.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.8181, allocations: 41.7 kB / 0.5135 GB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003102/0.8212, allocations: 2.527 MB / 0.516 GB, free: 2.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/0.822, allocations: 395.9 kB / 0.5164 GB, free: 2.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004551/0.8225, allocations: 76 kB / 0.5164 GB, free: 2.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003938/0.8229, allocations: 470.4 kB / 0.5169 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.8265, allocations: 1.105 MB / 0.518 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/0.8322, allocations: 3.42 MB / 0.5213 GB, free: 12.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005294/0.8375, allocations: 1.861 MB / 0.5231 GB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.185e-05/0.8376, allocations: 24 kB / 0.5231 GB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01342/0.8511, allocations: 4.442 MB / 0.5275 GB, free: 6.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.084e-05/0.8512, allocations: 40 kB / 0.5275 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/0.8514, allocations: 80.47 kB / 0.5276 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.8515, allocations: 124.8 kB / 0.5277 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00615/0.8577, allocations: 0.945 MB / 0.5286 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/0.858, allocations: 163.5 kB / 0.5288 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.8622, allocations: 211.6 kB / 0.529 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/0.8631, allocations: 236 kB / 0.5292 GB, free: 4.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * 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.005256/0.8684, allocations: 1.741 MB / 0.5309 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/0.8691, allocations: 244.9 kB / 0.5311 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.8722, allocations: 1.173 MB / 0.5323 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.8723, allocations: 12 kB / 0.5323 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8723, allocations: 0 / 0.5323 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.8723, allocations: 13.61 kB / 0.5323 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.8891, allocations: 6.349 MB / 0.5385 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.8892, allocations: 16 kB / 0.5385 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.891, allocations: 243.7 kB / 0.5388 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.797e-05/0.8911, allocations: 35.94 kB / 0.5388 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.8912, allocations: 44 kB / 0.5388 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.319e-05/0.8912, allocations: 34.55 kB / 0.5389 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.76e-05/0.8913, allocations: 26.84 kB / 0.5389 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/0.897, allocations: 3.711 MB / 0.5425 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.8981, allocations: 342.4 kB / 0.5428 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.8986, allocations: 47.98 kB / 0.5429 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.9003, allocations: 67.89 kB / 0.543 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.9006, allocations: 124.4 kB / 0.5431 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.9007, allocations: 59.98 kB / 0.5431 GB, free: 5.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004846/0.9056, allocations: 1.759 MB / 0.5449 GB, free: 4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.9056, allocations: 0 / 0.5449 GB, free: 4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005297/0.911, allocations: 0.6992 MB / 0.5455 GB, free: 3.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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.008243/0.9192, allocations: 8.664 MB / 0.554 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00767/0.927, allocations: 2.557 MB / 0.5565 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.879e-05/0.9271, allocations: 8.125 kB / 0.5565 GB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.9291, allocations: 0.6274 MB / 0.5571 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.9321, allocations: 319.8 kB / 0.5574 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3948/1.327, allocations: 69.64 MB / 0.6254 GB, free: 142.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007144/1.334, allocations: 3.017 MB / 0.6284 GB, free: 142 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005719/1.34, allocations: 1.011 MB / 0.6294 GB, free: 142 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003662/1.344, allocations: 1.62 MB / 0.6309 GB, free: 141.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/1.344, allocations: 1.125 kB / 0.6309 GB, free: 141.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.478, allocations: 51.84 MB / 0.6816 GB, free: 102.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/1.478, allocations: 169.7 kB / 0.6817 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.101/5.579, allocations: 0 / 0.6817 GB, free: 102.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat