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.001266/0.001266, allocations: 96.14 kB / 15.87 MB, free: 16 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.001229/0.001229, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.297/1.297, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3256/0.3256, allocations: 43.51 MB / 313.5 MB, free: 8.578 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.001416/0.001416, allocations: 70.89 kB / 382.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 57.79 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2275/0.3321, allocations: 52.66 MB / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.3518, allocations: 10.27 MB / 0.4911 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009995/0.3619, allocations: 218.6 kB / 0.4913 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006184/0.3681, allocations: 3.973 MB / 0.4952 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.3707, allocations: 0.9515 MB / 0.4961 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3723, allocations: 0.6468 MB / 0.4967 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005004/0.3773, allocations: 4.123 MB / 0.5007 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00642/0.3837, allocations: 4.92 MB / 0.5055 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.3861, allocations: 1.375 MB / 0.5069 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.3896, allocations: 2.104 MB / 0.5089 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009106/0.3905, allocations: 309.7 kB / 0.5092 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.3926, allocations: 0.9155 MB / 0.5101 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.395, allocations: 1.77 MB / 0.5119 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003993/0.399, allocations: 2.094 MB / 0.5139 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.4081, allocations: 7.19 MB / 0.5209 GB, free: 13.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4082, allocations: 0 / 0.5209 GB, free: 13.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4082, allocations: 2.656 kB / 0.5209 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.4085, allocations: 4 kB / 0.5209 GB, free: 13.12 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.01264/0.4211, allocations: 4.542 MB / 0.5254 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4212, allocations: 15.97 kB / 0.5254 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001684/0.4229, allocations: 0.6773 MB / 0.526 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.4256, allocations: 0.6158 MB / 0.5266 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.4299, allocations: 2.184 MB / 0.5288 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.4301, allocations: 271.3 kB / 0.529 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008575/0.431, allocations: 351.8 kB / 0.5294 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.4496, allocations: 9.243 MB / 0.5384 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.037e-05/0.4498, allocations: 19.81 kB / 0.5384 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004131/0.4502, allocations: 151.9 kB / 0.5386 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.4528, allocations: 1.554 MB / 0.5401 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.4695, allocations: 7.211 MB / 0.5471 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.5073, allocations: 27.92 MB / 0.5744 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/0.5141, allocations: 2.184 MB / 0.5765 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5157, allocations: 0.9823 MB / 0.5775 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008603/0.5243, allocations: 6.713 MB / 0.584 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5244, allocations: 39.12 kB / 0.5841 GB, free: 11.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 4.548e-06/0.5244, allocations: 3.984 kB / 0.5841 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.01829/0.5427, allocations: 7.457 MB / 0.5914 GB, free: 4.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5428, allocations: 171.2 kB / 0.5915 GB, free: 4.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.5464, allocations: 2.725 MB / 0.5942 GB, free: 1.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/0.5465, allocations: 41.7 kB / 0.5942 GB, free: 1.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.548, allocations: 2.54 MB / 0.5967 GB, free: 14.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.5483, allocations: 407 kB / 0.5971 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/0.5493, allocations: 0.8014 MB / 0.5979 GB, free: 13.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.5494, allocations: 309.1 kB / 0.5982 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.551, allocations: 1.116 MB / 0.5993 GB, free: 12.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.554, allocations: 3.474 MB / 0.6027 GB, free: 7.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.5589, allocations: 4.949 MB / 0.6075 GB, free: 1.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-05/0.559, allocations: 24 kB / 0.6075 GB, free: 1.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.006846/0.5658, allocations: 4.51 MB / 0.6119 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.5659, allocations: 40 kB / 0.612 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-05/0.566, allocations: 84 kB / 0.612 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.413e-05/0.5661, allocations: 108 kB / 0.6121 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.5687, allocations: 0.9397 MB / 0.6131 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/0.5689, allocations: 167.4 kB / 0.6132 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5712, allocations: 215.5 kB / 0.6134 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.5715, allocations: 236 kB / 0.6136 GB, free: 11.16 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.00272/0.5742, allocations: 1.771 MB / 0.6154 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.5746, allocations: 229 kB / 0.6156 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.5764, allocations: 1.186 MB / 0.6168 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5764, allocations: 15.98 kB / 0.6168 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5764, allocations: 0 / 0.6168 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5764, allocations: 15.92 kB / 0.6168 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/0.586, allocations: 6.382 MB / 0.623 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/0.586, allocations: 20 kB / 0.623 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/0.5869, allocations: 239.6 kB / 0.6233 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.659e-05/0.5869, allocations: 24 kB / 0.6233 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.587, allocations: 47.98 kB / 0.6233 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.466e-05/0.5871, allocations: 35.86 kB / 0.6234 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.5871, allocations: 23.88 kB / 0.6234 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.5897, allocations: 2.106 MB / 0.6254 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.5903, allocations: 329.8 kB / 0.6258 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.5906, allocations: 43.98 kB / 0.6258 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.5915, allocations: 59.95 kB / 0.6259 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.5916, allocations: 131.4 kB / 0.626 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.5917, allocations: 59.98 kB / 0.626 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002492/0.5942, allocations: 1.801 MB / 0.6278 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5942, allocations: 4 kB / 0.6278 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003039/0.5973, allocations: 0.6914 MB / 0.6285 GB, free: 11.36 MB / 0.4981 GB 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.002736/0.6, allocations: 2.764 MB / 0.6312 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003939/0.604, allocations: 2.585 MB / 0.6337 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.604, allocations: 0 / 0.6337 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.6049, allocations: 0.6388 MB / 0.6343 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.6068, allocations: 344.3 kB / 0.6347 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.212/0.8187, allocations: 34.69 MB / 0.6685 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/0.8228, allocations: 2.957 MB / 0.6714 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002936/0.8257, allocations: 1.015 MB / 0.6724 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/0.8278, allocations: 1.606 MB / 0.674 GB, free: 139 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.8278, allocations: 2.156 kB / 0.674 GB, free: 139 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07518/0.903, allocations: 49.62 MB / 0.7224 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.9032, allocations: 186.8 kB / 0.7226 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.389, allocations: 3.938 kB / 0.7226 GB, free: 110.1 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches