Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001976/0.001976, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.002068/0.002068, allocations: 190.1 kB / 17.34 MB, free: 5.762 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2274/0.2274, allocations: 43.52 MB / 314.1 MB, free: 472 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.001691/0.001691, allocations: 63.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01546/0.1373, allocations: 14.22 MB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009566/0.1469, allocations: 4.005 MB / 0.5052 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.1497, allocations: 71.94 kB / 0.5053 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00769/0.1574, allocations: 3.929 MB / 0.5091 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.1607, allocations: 1.05 MB / 0.5101 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.1632, allocations: 0.8811 MB / 0.511 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.1674, allocations: 2.642 MB / 0.5136 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007297/0.1747, allocations: 5.117 MB / 0.5186 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.1779, allocations: 1.601 MB / 0.5201 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.182, allocations: 2.084 MB / 0.5222 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.1839, allocations: 492 kB / 0.5227 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.1874, allocations: 1.139 MB / 0.5238 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003255/0.1907, allocations: 1.964 MB / 0.5257 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005897/0.1966, allocations: 2.285 MB / 0.5279 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2871/0.4837, allocations: 7.753 MB / 0.5355 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.4838, allocations: 0 / 0.5355 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4838, allocations: 0.6562 kB / 0.5355 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003794/0.4842, allocations: 1.547 kB / 0.5355 GB, free: 15.05 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.02172/0.5059, allocations: 4.87 MB / 0.5402 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.506, allocations: 14.42 kB / 0.5403 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003309/0.5093, allocations: 0.6758 MB / 0.5409 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.5146, allocations: 0.6855 MB / 0.5416 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007153/0.5218, allocations: 2.327 MB / 0.5439 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.5222, allocations: 267.1 kB / 0.5441 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.5244, allocations: 355.4 kB / 0.5445 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/0.5513, allocations: 10.47 MB / 0.5547 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.5515, allocations: 16.16 kB / 0.5547 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001466/0.5529, allocations: 153.4 kB / 0.5548 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003032/0.556, allocations: 1.643 MB / 0.5564 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.5767, allocations: 9.151 MB / 0.5654 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.6219, allocations: 30.61 MB / 0.5953 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009451/0.6314, allocations: 3.099 MB / 0.5983 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.6336, allocations: 1.665 MB / 0.5999 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.6461, allocations: 9.331 MB / 0.609 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6461, allocations: 43.56 kB / 0.6091 GB, free: 10.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 4.769e-06/0.6462, allocations: 3.984 kB / 0.6091 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02963/0.6758, allocations: 9.153 MB / 0.618 GB, free: 1.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.6759, allocations: 115.8 kB / 0.6181 GB, free: 1.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006312/0.6823, allocations: 2.901 MB / 0.621 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003649/0.6827, allocations: 49.77 kB / 0.621 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.6854, allocations: 2.608 MB / 0.6236 GB, free: 11.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007999/0.6863, allocations: 453.8 kB / 0.624 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/0.6886, allocations: 0.8454 MB / 0.6248 GB, free: 10.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6887, allocations: 301.1 kB / 0.6251 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.6917, allocations: 1.488 MB / 0.6266 GB, free: 8.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005448/0.6972, allocations: 3.841 MB / 0.6303 GB, free: 3.781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008158/0.7054, allocations: 5.605 MB / 0.6358 GB, free: 13.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-05/0.7055, allocations: 24 kB / 0.6358 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01092/0.7164, allocations: 5.286 MB / 0.641 GB, free: 8.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.7166, allocations: 44 kB / 0.641 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.7167, allocations: 80 kB / 0.6411 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.7169, allocations: 112 kB / 0.6412 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.7207, allocations: 0.9945 MB / 0.6422 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001998/0.7209, allocations: 162.4 kB / 0.6423 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.7249, allocations: 235.7 kB / 0.6425 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000814/0.7257, allocations: 243.6 kB / 0.6428 GB, free: 6.805 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (524): * Single equations (assignments): 523 * 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.004206/0.7299, allocations: 1.759 MB / 0.6445 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/0.7307, allocations: 254.3 kB / 0.6447 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.735, allocations: 2.06 MB / 0.6468 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.7351, allocations: 12 kB / 0.6468 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7351, allocations: 4 kB / 0.6468 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.7351, allocations: 11.91 kB / 0.6468 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.7501, allocations: 6.657 MB / 0.6533 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/0.7502, allocations: 15.98 kB / 0.6533 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.7513, allocations: 253.4 kB / 0.6535 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.645e-05/0.7513, allocations: 23.94 kB / 0.6536 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.7515, allocations: 40 kB / 0.6536 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/0.7515, allocations: 32.3 kB / 0.6536 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/0.7515, allocations: 29.8 kB / 0.6537 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.7547, allocations: 2.203 MB / 0.6558 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/0.7557, allocations: 343.3 kB / 0.6561 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006165/0.7563, allocations: 47.92 kB / 0.6562 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.7577, allocations: 67.94 kB / 0.6562 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7579, allocations: 120.2 kB / 0.6564 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.758, allocations: 52 kB / 0.6564 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003994/0.762, allocations: 1.847 MB / 0.6582 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.8e-07/0.762, allocations: 0 / 0.6582 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004816/0.7669, allocations: 0.7538 MB / 0.6589 GB, free: 5.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.004404/0.7713, allocations: 2.851 MB / 0.6617 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00576/0.7771, allocations: 3.226 MB / 0.6649 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.7771, allocations: 4.062 kB / 0.6649 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.7785, allocations: 0.8108 MB / 0.6657 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.7812, allocations: 333.9 kB / 0.666 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06276/0.844, allocations: 31.34 MB / 0.6966 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005617/0.8497, allocations: 2.956 MB / 0.6995 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003272/0.853, allocations: 1.022 MB / 0.7005 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/0.856, allocations: 1.612 MB / 0.7021 GB, free: 6.371 MB / 0.545 GB Notification: Performance of SimCode: time 1.293e-06/0.856, allocations: 0 / 0.7021 GB, free: 6.371 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.9583, allocations: 51.71 MB / 0.7526 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.7, allocations: 16.64 kB / 0.7526 GB, free: 2.652 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_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_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches