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.001087/0.001087, allocations: 103.2 kB / 16.4 MB, free: 6.457 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.001077/0.001077, allocations: 192.2 kB / 17.34 MB, free: 5.703 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 / 223.2 MB, free: 12.21 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.1934/0.1934, allocations: 43.52 MB / 314.1 MB, free: 444 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.001324/0.001324, allocations: 77.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.0961, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01466/0.1108, allocations: 14.26 MB / 0.5013 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.1185, allocations: 3.856 MB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.1205, allocations: 71.88 kB / 0.5052 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.1276, allocations: 3.941 MB / 0.509 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.1305, allocations: 1.065 MB / 0.5101 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1326, allocations: 0.7213 MB / 0.5108 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.1361, allocations: 2.544 MB / 0.5132 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005897/0.142, allocations: 5.036 MB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.1445, allocations: 1.593 MB / 0.5197 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.1475, allocations: 2.025 MB / 0.5217 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.1488, allocations: 468 kB / 0.5221 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.1511, allocations: 1.003 MB / 0.5231 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.1534, allocations: 1.925 MB / 0.525 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.1564, allocations: 2.246 MB / 0.5272 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2126/0.369, allocations: 7.495 MB / 0.5345 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3691, allocations: 2.188 kB / 0.5345 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3691, allocations: 1.188 kB / 0.5345 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002103/0.3693, allocations: 0.5 kB / 0.5345 GB, free: 14.85 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.01096/0.3803, allocations: 4.664 MB / 0.5391 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3803, allocations: 16.08 kB / 0.5391 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.3817, allocations: 0.6806 MB / 0.5398 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.3845, allocations: 0.6492 MB / 0.5404 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.3901, allocations: 2.224 MB / 0.5426 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.3903, allocations: 268.1 kB / 0.5428 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007822/0.3911, allocations: 352.8 kB / 0.5432 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.407, allocations: 9.25 MB / 0.5522 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/0.4071, allocations: 15.81 kB / 0.5522 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.4075, allocations: 155.4 kB / 0.5524 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/0.4098, allocations: 1.551 MB / 0.5539 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.4231, allocations: 7.216 MB / 0.5609 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03627/0.4594, allocations: 27.85 MB / 0.5881 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/0.4659, allocations: 2.189 MB / 0.5902 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.4675, allocations: 0.9706 MB / 0.5912 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009122/0.4766, allocations: 6.722 MB / 0.5978 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.4767, allocations: 47.12 kB / 0.5978 GB, free: 5.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.846e-06/0.4767, allocations: 0 / 0.5978 GB, free: 5.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01755/0.4943, allocations: 7.706 MB / 0.6053 GB, free: 13.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.4944, allocations: 167.2 kB / 0.6055 GB, free: 13.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.4976, allocations: 2.727 MB / 0.6082 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4977, allocations: 49.45 kB / 0.6082 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.4992, allocations: 2.633 MB / 0.6108 GB, free: 8.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.4995, allocations: 420.9 kB / 0.6112 GB, free: 7.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009262/0.5005, allocations: 0.8138 MB / 0.612 GB, free: 6.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.5006, allocations: 304.9 kB / 0.6123 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.5023, allocations: 1.116 MB / 0.6133 GB, free: 5.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/0.5052, allocations: 3.479 MB / 0.6167 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.5105, allocations: 4.941 MB / 0.6216 GB, free: 11.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.5105, allocations: 24 kB / 0.6216 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.00644/0.517, allocations: 4.521 MB / 0.626 GB, free: 7.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.5171, allocations: 43.62 kB / 0.626 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/0.5171, allocations: 84 kB / 0.6261 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.5173, allocations: 116 kB / 0.6262 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.5199, allocations: 0.9386 MB / 0.6272 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.52, allocations: 169.5 kB / 0.6273 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.5223, allocations: 211.7 kB / 0.6275 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.5226, allocations: 240 kB / 0.6277 GB, free: 5.41 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.002401/0.525, allocations: 1.753 MB / 0.6295 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.5254, allocations: 250.3 kB / 0.6297 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.5271, allocations: 1.19 MB / 0.6309 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5271, allocations: 12 kB / 0.6309 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5271, allocations: 5.422 kB / 0.6309 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5272, allocations: 11.91 kB / 0.6309 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/0.5358, allocations: 6.38 MB / 0.6371 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.5358, allocations: 19.98 kB / 0.6371 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.5367, allocations: 248.5 kB / 0.6374 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-05/0.5367, allocations: 28 kB / 0.6374 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.5368, allocations: 42 kB / 0.6374 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-05/0.5368, allocations: 31.86 kB / 0.6375 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/0.5368, allocations: 27.88 kB / 0.6375 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.5393, allocations: 2.126 MB / 0.6396 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.5401, allocations: 339.3 kB / 0.6399 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.5403, allocations: 47.98 kB / 0.6399 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009335/0.5413, allocations: 53.39 kB / 0.64 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5414, allocations: 135.5 kB / 0.6401 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.5415, allocations: 55.98 kB / 0.6402 GB, free: 8.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002407/0.5439, allocations: 1.801 MB / 0.6419 GB, free: 6.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5439, allocations: 0 / 0.6419 GB, free: 6.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003041/0.547, allocations: 0.703 MB / 0.6426 GB, free: 5.801 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.002799/0.5498, allocations: 2.762 MB / 0.6453 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.5537, allocations: 2.635 MB / 0.6479 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.5537, allocations: 5.688 kB / 0.6479 GB, free: 184 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009205/0.5547, allocations: 0.6366 MB / 0.6485 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5566, allocations: 351.6 kB / 0.6489 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/0.5961, allocations: 29.77 MB / 0.6779 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/0.5992, allocations: 2.963 MB / 0.6808 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002349/0.6015, allocations: 1.022 MB / 0.6818 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/0.6033, allocations: 1.604 MB / 0.6834 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.6033, allocations: 0 / 0.6834 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07866/0.682, allocations: 48.23 MB / 0.7305 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.59, allocations: 8.984 kB / 0.7305 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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