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.001795/0.001795, allocations: 105.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.002058/0.002059, allocations: 73.45 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01628/0.1274, allocations: 14.25 MB / 0.5013 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009391/0.1368, allocations: 3.856 MB / 0.5051 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.1398, allocations: 75.88 kB / 0.5052 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008276/0.1481, allocations: 3.941 MB / 0.509 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.1515, allocations: 1.01 MB / 0.51 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1537, allocations: 0.7174 MB / 0.5107 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.1578, allocations: 2.544 MB / 0.5132 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006685/0.1646, allocations: 5.047 MB / 0.5181 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.1673, allocations: 1.582 MB / 0.5197 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.1708, allocations: 2.025 MB / 0.5216 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.1721, allocations: 468 kB / 0.5221 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.1745, allocations: 1.011 MB / 0.5231 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.1771, allocations: 1.91 MB / 0.5249 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.1806, allocations: 2.246 MB / 0.5271 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2161/0.3967, allocations: 7.501 MB / 0.5345 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3967, allocations: 2.062 kB / 0.5345 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3968, allocations: 0 / 0.5345 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002068/0.397, allocations: 1.75 kB / 0.5345 GB, free: 14.89 MB / 414.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.01081/0.4078, allocations: 4.663 MB / 0.539 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4078, allocations: 15.02 kB / 0.539 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.4092, allocations: 0.6759 MB / 0.5397 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.4121, allocations: 0.6505 MB / 0.5403 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.4166, allocations: 2.227 MB / 0.5425 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.4168, allocations: 265.9 kB / 0.5428 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.4178, allocations: 356.7 kB / 0.5431 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.4383, allocations: 9.242 MB / 0.5521 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.4385, allocations: 15.84 kB / 0.5521 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.4395, allocations: 160.1 kB / 0.5523 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/0.4423, allocations: 1.55 MB / 0.5538 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.4584, allocations: 7.217 MB / 0.5609 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.5016, allocations: 27.85 MB / 0.588 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.509, allocations: 2.188 MB / 0.5902 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.5109, allocations: 0.9783 MB / 0.5911 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.521, allocations: 6.718 MB / 0.5977 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.5211, allocations: 51.11 kB / 0.5977 GB, free: 5.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.075e-06/0.5211, allocations: 0 / 0.5977 GB, free: 5.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.02207/0.5432, allocations: 7.705 MB / 0.6053 GB, free: 13.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.5433, allocations: 167.2 kB / 0.6054 GB, free: 13.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.5486, allocations: 2.734 MB / 0.6081 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.5489, allocations: 41.7 kB / 0.6081 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.5514, allocations: 2.629 MB / 0.6107 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006506/0.552, allocations: 420.6 kB / 0.6111 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/0.5537, allocations: 0.8138 MB / 0.6119 GB, free: 6.914 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5539, allocations: 304.9 kB / 0.6122 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.5563, allocations: 1.124 MB / 0.6133 GB, free: 5.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.5613, allocations: 3.471 MB / 0.6167 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/0.5688, allocations: 4.944 MB / 0.6215 GB, free: 11.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-05/0.5689, allocations: 24 kB / 0.6215 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009639/0.5785, allocations: 4.517 MB / 0.6259 GB, free: 7.086 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.5787, allocations: 42.66 kB / 0.626 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.5788, allocations: 84 kB / 0.6261 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.579, allocations: 112.8 kB / 0.6262 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.5825, allocations: 0.9433 MB / 0.6271 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001721/0.5826, allocations: 164.4 kB / 0.6272 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.5856, allocations: 211.7 kB / 0.6274 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/0.5862, allocations: 237.8 kB / 0.6277 GB, free: 5.43 MB / 478.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.003466/0.5897, allocations: 1.764 MB / 0.6294 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/0.5903, allocations: 250.3 kB / 0.6296 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.5928, allocations: 1.193 MB / 0.6308 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.5928, allocations: 12 kB / 0.6308 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.5928, allocations: 4 kB / 0.6308 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.5929, allocations: 7.922 kB / 0.6308 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.6076, allocations: 6.375 MB / 0.637 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/0.6077, allocations: 16 kB / 0.6371 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6088, allocations: 249.6 kB / 0.6373 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-05/0.6088, allocations: 24.69 kB / 0.6373 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.609, allocations: 47.98 kB / 0.6374 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-05/0.609, allocations: 35.86 kB / 0.6374 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.389e-05/0.6091, allocations: 27.88 kB / 0.6374 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.6126, allocations: 2.124 MB / 0.6395 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009057/0.6135, allocations: 340.9 kB / 0.6398 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006278/0.6142, allocations: 43.98 kB / 0.6399 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.6156, allocations: 63.95 kB / 0.6399 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.6159, allocations: 131.4 kB / 0.6401 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.6161, allocations: 56 kB / 0.6401 GB, free: 8.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004394/0.6205, allocations: 1.801 MB / 0.6419 GB, free: 6.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6205, allocations: 0 / 0.6419 GB, free: 6.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005063/0.6256, allocations: 0.703 MB / 0.6426 GB, free: 5.82 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.004735/0.6304, allocations: 2.763 MB / 0.6453 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005463/0.6359, allocations: 2.63 MB / 0.6478 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/0.6359, allocations: 4 kB / 0.6478 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6373, allocations: 0.6419 MB / 0.6485 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.6405, allocations: 340.8 kB / 0.6488 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05344/0.6939, allocations: 29.78 MB / 0.6779 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004825/0.6988, allocations: 2.967 MB / 0.6808 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003024/0.7019, allocations: 1.021 MB / 0.6818 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/0.7045, allocations: 1.601 MB / 0.6833 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.7045, allocations: 5.422 kB / 0.6833 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/0.8533, allocations: 48.22 MB / 0.7304 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.64, allocations: 15.83 kB / 0.7304 GB, free: 8.402 MB / 0.5762 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches