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.001912/0.001912, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.002138/0.002139, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.485/1.485, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2277/0.2277, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 63.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3766, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01283/0.3895, allocations: 10.83 MB / 0.529 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.3988, allocations: 3.562 MB / 0.5325 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.4012, allocations: 60.34 kB / 0.5325 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00695/0.4082, allocations: 3.257 MB / 0.5357 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.4119, allocations: 0.7947 MB / 0.5365 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.415, allocations: 0.8155 MB / 0.5373 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.4198, allocations: 2.074 MB / 0.5393 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006163/0.426, allocations: 4.006 MB / 0.5432 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.4292, allocations: 1.286 MB / 0.5445 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.4329, allocations: 1.679 MB / 0.5461 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.4342, allocations: 356 kB / 0.5465 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.4371, allocations: 1.03 MB / 0.5475 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.4396, allocations: 1.516 MB / 0.549 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.443, allocations: 1.764 MB / 0.5507 GB, free: 11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009813/0.4529, allocations: 5.842 MB / 0.5564 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.4529, allocations: 7.922 kB / 0.5564 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.453, allocations: 3.938 kB / 0.5564 GB, free: 5.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002472/0.4532, allocations: 0 / 0.5564 GB, free: 5.125 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.0122/0.4654, allocations: 3.973 MB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4655, allocations: 12.03 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/0.4667, allocations: 0.5371 MB / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.4692, allocations: 0.6035 MB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.4734, allocations: 1.829 MB / 0.5632 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.4736, allocations: 205.4 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008218/0.4744, allocations: 271.9 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.4926, allocations: 8.153 MB / 0.5716 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.029e-05/0.4927, allocations: 19.81 kB / 0.5716 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.4931, allocations: 127.9 kB / 0.5717 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001907/0.4951, allocations: 1.13 MB / 0.5729 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.5124, allocations: 6.94 MB / 0.5796 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.5518, allocations: 24.69 MB / 0.6037 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/0.56, allocations: 2.266 MB / 0.606 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.5618, allocations: 1.089 MB / 0.607 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.5725, allocations: 7.111 MB / 0.614 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.5726, allocations: 39.2 kB / 0.614 GB, free: 8.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/0.5726, allocations: 4 kB / 0.614 GB, free: 8.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.01858/0.5912, allocations: 5.421 MB / 0.6193 GB, free: 3.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.5913, allocations: 64.39 kB / 0.6194 GB, free: 2.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.5949, allocations: 2.416 MB / 0.6217 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.595, allocations: 41.7 kB / 0.6218 GB, free: 472 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.5967, allocations: 2.153 MB / 0.6239 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.5972, allocations: 405 kB / 0.6242 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.5982, allocations: 0.7187 MB / 0.625 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5983, allocations: 301.1 kB / 0.6252 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.6, allocations: 1.022 MB / 0.6262 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/0.6037, allocations: 3.193 MB / 0.6294 GB, free: 7.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/0.61, allocations: 4.565 MB / 0.6338 GB, free: 1.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.996e-05/0.6101, allocations: 24 kB / 0.6338 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007843/0.6179, allocations: 4.119 MB / 0.6379 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.6181, allocations: 36 kB / 0.6379 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/0.6182, allocations: 76 kB / 0.638 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.6184, allocations: 108 kB / 0.6381 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.6213, allocations: 0.8428 MB / 0.6389 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001537/0.6215, allocations: 155.4 kB / 0.639 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.6239, allocations: 175.9 kB / 0.6392 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.6243, allocations: 211.9 kB / 0.6394 GB, free: 12.19 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.002808/0.6271, allocations: 1.426 MB / 0.6408 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.6276, allocations: 222.5 kB / 0.641 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.6303, allocations: 1.418 MB / 0.6424 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6303, allocations: 8 kB / 0.6424 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6303, allocations: 4 kB / 0.6424 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6304, allocations: 3.984 kB / 0.6424 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.641, allocations: 5.218 MB / 0.6475 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/0.6411, allocations: 19.98 kB / 0.6475 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.642, allocations: 219.6 kB / 0.6477 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.769e-05/0.642, allocations: 23.83 kB / 0.6478 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.6421, allocations: 36 kB / 0.6478 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.6421, allocations: 31.86 kB / 0.6478 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/0.6422, allocations: 19.94 kB / 0.6478 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.6449, allocations: 1.749 MB / 0.6496 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/0.6459, allocations: 307.6 kB / 0.6498 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/0.6464, allocations: 39.98 kB / 0.6499 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6474, allocations: 43.98 kB / 0.6499 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.6477, allocations: 116.1 kB / 0.65 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/0.6478, allocations: 48 kB / 0.6501 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002745/0.6505, allocations: 1.533 MB / 0.6516 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6505, allocations: 0 / 0.6516 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004264/0.6548, allocations: 0.5976 MB / 0.6522 GB, free: 14.58 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.00399/0.6588, allocations: 2.389 MB / 0.6545 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004709/0.6636, allocations: 2.404 MB / 0.6568 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.6636, allocations: 0.875 kB / 0.6568 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6647, allocations: 0.5684 MB / 0.6574 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.6671, allocations: 350.8 kB / 0.6577 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/0.7117, allocations: 25.45 MB / 0.6826 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/0.715, allocations: 2.458 MB / 0.685 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002453/0.7174, allocations: 0.9533 MB / 0.6859 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/0.7195, allocations: 1.245 MB / 0.6871 GB, free: 7.496 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.7195, allocations: 3.938 kB / 0.6871 GB, free: 7.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.372/1.091, allocations: 43.93 MB / 0.73 GB, free: 183 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.16, allocations: 7.344 kB / 0.73 GB, free: 183 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