Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009454/0.0009459, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 185.4 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2796/0.2796, allocations: 43.57 MB / 315 MB, free: 8.809 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005407, allocations: 12.47 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1014, allocations: 58.87 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2076/0.309, allocations: 51.29 MB / 494.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.3265, allocations: 10.22 MB / 0.4932 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008362/0.3349, allocations: 215.5 kB / 0.4934 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.3364, allocations: 357.9 kB / 0.4938 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.3398, allocations: 0.9518 MB / 0.4947 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.3418, allocations: 0.6462 MB / 0.4953 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005789/0.3476, allocations: 4.131 MB / 0.4994 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.3589, allocations: 7.311 MB / 0.5065 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.3605, allocations: 0.9886 MB / 0.5075 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.3628, allocations: 1.617 MB / 0.509 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.3632, allocations: 142.3 kB / 0.5092 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3645, allocations: 0.7538 MB / 0.5099 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.3659, allocations: 1.531 MB / 0.5114 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.3672, allocations: 1.816 MB / 0.5132 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006726/0.3739, allocations: 6.922 MB / 0.5199 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3739, allocations: 0.8125 kB / 0.5199 GB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.374, allocations: 4 kB / 0.52 GB, free: 15.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001909/0.3742, allocations: 1.75 kB / 0.52 GB, free: 15.06 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.007494/0.3817, allocations: 3.727 MB / 0.5236 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3817, allocations: 14.12 kB / 0.5236 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001075/0.3828, allocations: 0.6754 MB / 0.5243 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.3851, allocations: 0.6173 MB / 0.5249 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.3885, allocations: 2.183 MB / 0.527 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.3887, allocations: 273.6 kB / 0.5273 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.3892, allocations: 351.9 kB / 0.5276 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.4045, allocations: 9.266 MB / 0.5366 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-05/0.4046, allocations: 19.81 kB / 0.5367 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.405, allocations: 155.9 kB / 0.5368 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/0.4074, allocations: 1.55 MB / 0.5383 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.4216, allocations: 7.23 MB / 0.5454 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03628/0.4579, allocations: 27.93 MB / 0.5727 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.4641, allocations: 2.188 MB / 0.5748 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.4657, allocations: 0.9783 MB / 0.5758 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008046/0.4737, allocations: 6.725 MB / 0.5823 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4738, allocations: 47.12 kB / 0.5824 GB, free: 15.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 2.314e-06/0.4738, allocations: 0 / 0.5824 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.01814/0.492, allocations: 7.453 MB / 0.5896 GB, free: 8.273 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.492, allocations: 167.2 kB / 0.5898 GB, free: 8.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.4962, allocations: 2.721 MB / 0.5925 GB, free: 5.336 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/0.4963, allocations: 45.7 kB / 0.5925 GB, free: 5.285 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.4979, allocations: 2.532 MB / 0.595 GB, free: 2.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.4982, allocations: 411.1 kB / 0.5954 GB, free: 2.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/0.4987, allocations: 358.2 kB / 0.5957 GB, free: 1.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.4988, allocations: 301.1 kB / 0.596 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5006, allocations: 1.12 MB / 0.5971 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.5036, allocations: 3.47 MB / 0.6005 GB, free: 11.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/0.5088, allocations: 4.945 MB / 0.6053 GB, free: 5.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.5088, allocations: 24 kB / 0.6053 GB, free: 5.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.006482/0.5153, allocations: 4.508 MB / 0.6097 GB, free: 1.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.5154, allocations: 40 kB / 0.6098 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/0.5154, allocations: 88 kB / 0.6099 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.264e-05/0.5155, allocations: 116.8 kB / 0.61 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/0.5181, allocations: 0.9436 MB / 0.6109 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/0.5183, allocations: 167.4 kB / 0.6111 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.5204, allocations: 211.5 kB / 0.6113 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.5207, allocations: 236 kB / 0.6115 GB, free: 15.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (505): * Single equations (assignments): 504 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002848/0.5235, allocations: 1.751 MB / 0.6132 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.5239, allocations: 236.9 kB / 0.6134 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.5258, allocations: 1.194 MB / 0.6146 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5258, allocations: 8 kB / 0.6146 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5258, allocations: 7.938 kB / 0.6146 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5258, allocations: 3.984 kB / 0.6146 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008857/0.5347, allocations: 6.386 MB / 0.6208 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.5348, allocations: 16 kB / 0.6209 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5358, allocations: 247.7 kB / 0.6211 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.339e-05/0.5359, allocations: 24 kB / 0.6211 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.536, allocations: 43.98 kB / 0.6212 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-05/0.536, allocations: 35.86 kB / 0.6212 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-05/0.536, allocations: 31.86 kB / 0.6212 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.5389, allocations: 2.102 MB / 0.6233 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.5396, allocations: 341.8 kB / 0.6236 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.5398, allocations: 47.98 kB / 0.6236 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5409, allocations: 55.95 kB / 0.6237 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5411, allocations: 131.4 kB / 0.6238 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.5412, allocations: 63.98 kB / 0.6239 GB, free: 2.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002393/0.5436, allocations: 1.801 MB / 0.6256 GB, free: 376 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5436, allocations: 0 / 0.6256 GB, free: 376 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.1652/0.7088, allocations: 0.7007 MB / 0.6263 GB, free: 140 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/0.7118, allocations: 2.758 MB / 0.629 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.7154, allocations: 2.59 MB / 0.6315 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7154, allocations: 2.969 kB / 0.6315 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.7162, allocations: 0.6375 MB / 0.6322 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007218/0.7234, allocations: 334.5 kB / 0.6325 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04641/0.7698, allocations: 34.72 MB / 0.6664 GB, free: 113.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/0.7743, allocations: 2.961 MB / 0.6693 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002796/0.7771, allocations: 1.025 MB / 0.6703 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/0.779, allocations: 1.603 MB / 0.6719 GB, free: 111 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.779, allocations: 3.938 kB / 0.6719 GB, free: 111 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/2.433, allocations: 49.13 MB / 0.7198 GB, free: 78 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/2.433, allocations: 190.1 kB / 0.72 GB, free: 77.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/6.205, allocations: 0 / 0.72 GB, free: 77.75 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches