Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",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.001117/0.001117, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001236/0.001236, allocations: 183.8 kB / 18.72 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4017, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01246/0.4142, allocations: 10.83 MB / 0.529 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009175/0.4234, allocations: 3.569 MB / 0.5325 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.4269, allocations: 63.22 kB / 0.5326 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006966/0.4339, allocations: 3.255 MB / 0.5357 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.4373, allocations: 0.8303 MB / 0.5366 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.4405, allocations: 0.8071 MB / 0.5373 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003856/0.4443, allocations: 2.078 MB / 0.5394 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005443/0.4498, allocations: 4.005 MB / 0.5433 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.4528, allocations: 1.279 MB / 0.5445 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.4557, allocations: 1.683 MB / 0.5462 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008362/0.4566, allocations: 352 kB / 0.5465 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.4588, allocations: 1.03 MB / 0.5475 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.4605, allocations: 1.536 MB / 0.549 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.4627, allocations: 1.756 MB / 0.5507 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007586/0.4703, allocations: 5.846 MB / 0.5564 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4703, allocations: 0 / 0.5564 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4704, allocations: 11.88 kB / 0.5564 GB, free: 5.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001833/0.4705, allocations: 4 kB / 0.5565 GB, free: 5.023 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.0102/0.4808, allocations: 3.977 MB / 0.5603 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4808, allocations: 8.031 kB / 0.5603 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00073/0.4816, allocations: 0.541 MB / 0.5609 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.4838, allocations: 0.5956 MB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.4875, allocations: 1.829 MB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.4877, allocations: 213.4 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.4882, allocations: 271.9 kB / 0.5637 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.5037, allocations: 8.156 MB / 0.5717 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.5038, allocations: 11.88 kB / 0.5717 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/0.5042, allocations: 123.9 kB / 0.5718 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.5058, allocations: 1.134 MB / 0.5729 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.5208, allocations: 6.94 MB / 0.5797 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03655/0.5574, allocations: 24.69 MB / 0.6038 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/0.5652, allocations: 2.27 MB / 0.606 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.5669, allocations: 1.085 MB / 0.6071 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.5778, allocations: 7.107 MB / 0.614 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5779, allocations: 39.22 kB / 0.6141 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 3.236e-06/0.5779, allocations: 0 / 0.6141 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.01784/0.5958, allocations: 5.429 MB / 0.6194 GB, free: 2.926 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5958, allocations: 60.41 kB / 0.6194 GB, free: 2.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.5998, allocations: 2.424 MB / 0.6218 GB, free: 412 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.6, allocations: 41.7 kB / 0.6218 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.6021, allocations: 2.149 MB / 0.6239 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.6026, allocations: 397 kB / 0.6243 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.6039, allocations: 0.7226 MB / 0.625 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6041, allocations: 301.1 kB / 0.6253 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.6057, allocations: 1.026 MB / 0.6263 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.6091, allocations: 3.182 MB / 0.6294 GB, free: 7.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/0.6145, allocations: 4.569 MB / 0.6339 GB, free: 1.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.732e-05/0.6146, allocations: 24 kB / 0.6339 GB, free: 1.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007136/0.6217, allocations: 4.122 MB / 0.6379 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.6219, allocations: 40 kB / 0.6379 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.622, allocations: 80.81 kB / 0.638 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.6221, allocations: 100 kB / 0.6381 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.6248, allocations: 0.8422 MB / 0.6389 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/0.6249, allocations: 147.4 kB / 0.6391 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.6272, allocations: 179.9 kB / 0.6393 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/0.6276, allocations: 208 kB / 0.6394 GB, free: 12.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 349 * Number of states: 0 () * Number of discrete variables: 53 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (452): * Single equations (assignments): 452 * 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 prepare postOptimizeDAE: time 0.002255/0.6298, allocations: 1.43 MB / 0.6408 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.6302, allocations: 222.4 kB / 0.6411 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.6327, allocations: 1.414 MB / 0.6424 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6327, allocations: 12 kB / 0.6425 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6327, allocations: 0 / 0.6425 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6327, allocations: 3.984 kB / 0.6425 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/0.6419, allocations: 5.226 MB / 0.6476 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/0.642, allocations: 15.94 kB / 0.6476 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.6428, allocations: 215.7 kB / 0.6478 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.682e-05/0.6428, allocations: 27.81 kB / 0.6478 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.6429, allocations: 36 kB / 0.6478 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.6429, allocations: 23.94 kB / 0.6479 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/0.6429, allocations: 32.36 kB / 0.6479 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6451, allocations: 1.745 MB / 0.6496 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.6457, allocations: 307.6 kB / 0.6499 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.6462, allocations: 39.98 kB / 0.6499 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.6471, allocations: 47.97 kB / 0.65 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6472, allocations: 112.1 kB / 0.6501 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.6473, allocations: 44 kB / 0.6501 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002607/0.6499, allocations: 1.537 MB / 0.6516 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6499, allocations: 0 / 0.6516 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003087/0.653, allocations: 0.5976 MB / 0.6522 GB, free: 14.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (121): * Single equations (assignments): 121 * 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.002993/0.6561, allocations: 2.389 MB / 0.6545 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003932/0.66, allocations: 2.397 MB / 0.6569 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.66, allocations: 4 kB / 0.6569 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.6608, allocations: 0.58 MB / 0.6575 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.6629, allocations: 350.6 kB / 0.6578 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03925/0.7022, allocations: 25.45 MB / 0.6826 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/0.7059, allocations: 2.454 MB / 0.685 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002836/0.7087, allocations: 0.965 MB / 0.686 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/0.7107, allocations: 1.241 MB / 0.6872 GB, free: 7.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.863e-06/0.7108, allocations: 0 / 0.6872 GB, free: 7.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3335/1.044, allocations: 43.91 MB / 0.7301 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.15, allocations: 8.891 kB / 0.7301 GB, free: 183.5 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_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_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches