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.001291/0.001291, allocations: 109.1 kB / 16.41 MB, free: 6.445 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.001268/0.001268, allocations: 185 kB / 17.34 MB, free: 5.742 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2206/0.2206, 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.002152/0.002153, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.112, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01692/0.1289, allocations: 14.26 MB / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008076/0.1371, allocations: 3.852 MB / 0.5051 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.139, allocations: 75.88 kB / 0.5052 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007591/0.1466, allocations: 3.941 MB / 0.509 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.1495, allocations: 1.014 MB / 0.51 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.1515, allocations: 0.7252 MB / 0.5107 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.1554, allocations: 2.536 MB / 0.5132 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.1619, allocations: 5.04 MB / 0.5181 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.1646, allocations: 1.585 MB / 0.5197 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.1684, allocations: 2.029 MB / 0.5216 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.1698, allocations: 468 kB / 0.5221 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.1723, allocations: 0.999 MB / 0.5231 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.1751, allocations: 1.914 MB / 0.5249 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003751/0.1789, allocations: 2.246 MB / 0.5271 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2579/0.4369, allocations: 7.504 MB / 0.5345 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.4369, allocations: 1.438 kB / 0.5345 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4369, allocations: 0 / 0.5345 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003157/0.4372, allocations: 0 / 0.5345 GB, free: 14.86 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.01674/0.454, allocations: 4.664 MB / 0.539 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4541, allocations: 12.95 kB / 0.539 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002845/0.4569, allocations: 0.6772 MB / 0.5397 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.4616, allocations: 0.6499 MB / 0.5403 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/0.4679, allocations: 2.226 MB / 0.5425 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.4683, allocations: 269.8 kB / 0.5428 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/0.4704, allocations: 356 kB / 0.5431 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/0.4966, allocations: 9.244 MB / 0.5521 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.4968, allocations: 14.94 kB / 0.5521 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009156/0.4977, allocations: 160.1 kB / 0.5523 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002747/0.5005, allocations: 1.556 MB / 0.5538 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.5164, allocations: 7.213 MB / 0.5609 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.5585, allocations: 27.84 MB / 0.588 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007322/0.5659, allocations: 2.188 MB / 0.5902 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5679, allocations: 0.9818 MB / 0.5911 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.5791, allocations: 6.717 MB / 0.5977 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.5792, allocations: 47.11 kB / 0.5977 GB, free: 5.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 5.239e-06/0.5793, allocations: 1.422 kB / 0.5977 GB, free: 5.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.0234/0.6027, allocations: 7.701 MB / 0.6053 GB, free: 13.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.6029, allocations: 166.4 kB / 0.6054 GB, free: 13.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.6081, allocations: 2.735 MB / 0.6081 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.6085, allocations: 45.77 kB / 0.6081 GB, free: 10.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002764/0.6113, allocations: 2.627 MB / 0.6107 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007224/0.612, allocations: 430.7 kB / 0.6111 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.6136, allocations: 0.8021 MB / 0.6119 GB, free: 6.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6138, allocations: 306.9 kB / 0.6122 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.6161, allocations: 1.128 MB / 0.6133 GB, free: 5.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/0.6209, allocations: 3.475 MB / 0.6167 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007879/0.6289, allocations: 4.937 MB / 0.6215 GB, free: 11.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/0.629, allocations: 24 kB / 0.6215 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01099/0.64, allocations: 4.523 MB / 0.6259 GB, free: 7.086 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.6402, allocations: 44 kB / 0.626 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.6404, allocations: 80.09 kB / 0.6261 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.6407, allocations: 116 kB / 0.6262 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/0.6445, allocations: 0.9418 MB / 0.6271 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002306/0.6447, allocations: 159.5 kB / 0.6272 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.6485, allocations: 215.7 kB / 0.6274 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009052/0.6495, allocations: 239.8 kB / 0.6277 GB, free: 5.426 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.004609/0.6541, allocations: 1.757 MB / 0.6294 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007037/0.6548, allocations: 250.3 kB / 0.6296 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.6575, allocations: 1.19 MB / 0.6308 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6576, allocations: 13.64 kB / 0.6308 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6576, allocations: 0 / 0.6308 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.6576, allocations: 7.922 kB / 0.6308 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.6708, allocations: 6.383 MB / 0.637 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/0.6709, allocations: 17 kB / 0.6371 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.672, allocations: 247.6 kB / 0.6373 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.977e-05/0.672, allocations: 31.36 kB / 0.6373 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.6722, allocations: 51.17 kB / 0.6374 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.172e-05/0.6722, allocations: 35.86 kB / 0.6374 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-05/0.6722, allocations: 27.88 kB / 0.6374 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.6755, allocations: 2.114 MB / 0.6395 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/0.6764, allocations: 343.3 kB / 0.6398 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.6767, allocations: 47.98 kB / 0.6399 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6778, allocations: 59.95 kB / 0.6399 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.678, allocations: 128.8 kB / 0.6401 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/0.6781, allocations: 56 kB / 0.6401 GB, free: 8.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00339/0.6815, allocations: 1.801 MB / 0.6419 GB, free: 6.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6815, allocations: 0 / 0.6419 GB, free: 6.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004057/0.6856, 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.004096/0.6897, allocations: 2.76 MB / 0.6453 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005237/0.695, allocations: 2.639 MB / 0.6478 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/0.695, allocations: 4 kB / 0.6478 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.6964, allocations: 0.6364 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.002586/0.699, allocations: 349.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.06235/0.7614, allocations: 29.77 MB / 0.6779 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006261/0.7677, allocations: 2.963 MB / 0.6808 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003624/0.7714, allocations: 1.021 MB / 0.6818 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004079/0.7755, allocations: 1.597 MB / 0.6833 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.7756, allocations: 3.938 kB / 0.6833 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.8851, allocations: 48.23 MB / 0.7304 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.95, allocations: 13.2 kB / 0.7304 GB, free: 8.414 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