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.001535/0.001535, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001774/0.001775, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2064/0.2064, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.3 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01161/0.1245, allocations: 10.83 MB / 480.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.132, allocations: 3.564 MB / 483.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1335, allocations: 59.88 kB / 483.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005325/0.1389, allocations: 3.26 MB / 487.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.1417, allocations: 0.7852 MB / 487.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.1441, allocations: 0.8147 MB / 488.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1468, allocations: 2.078 MB / 490.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.1508, allocations: 4.008 MB / 494.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1527, allocations: 1.278 MB / 496 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.1549, allocations: 1.679 MB / 497.7 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005464/0.1555, allocations: 356 kB / 498.1 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1572, allocations: 1.03 MB / 499.1 MB, free: 408 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1585, allocations: 1.52 MB / 0.4889 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.1603, allocations: 1.76 MB / 0.4906 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005776/0.1661, allocations: 5.709 MB / 0.4962 GB, free: 7.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1662, allocations: 0 / 0.4962 GB, free: 7.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1662, allocations: 0 / 0.4962 GB, free: 7.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.1663, allocations: 0 / 0.4962 GB, free: 7.379 MB / 382.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.01074/0.1771, allocations: 3.881 MB / 0.5 GB, free: 3.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1771, allocations: 12.03 kB / 0.5 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001309/0.1784, allocations: 0.5371 MB / 0.5005 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.1809, allocations: 0.5896 MB / 0.5011 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.1846, allocations: 1.809 MB / 0.5028 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.1847, allocations: 209.4 kB / 0.503 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2104/0.3951, allocations: 277.3 kB / 0.5033 GB, free: 47.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.4122, allocations: 8.156 MB / 0.5113 GB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.4123, allocations: 14.25 kB / 0.5113 GB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.4126, allocations: 125.4 kB / 0.5114 GB, free: 44.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/0.4146, allocations: 1.135 MB / 0.5125 GB, free: 44.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.4298, allocations: 6.938 MB / 0.5193 GB, free: 42.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.4545, allocations: 24.77 MB / 0.5435 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006495/0.461, allocations: 2.268 MB / 0.5457 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.4623, allocations: 1.085 MB / 0.5468 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007495/0.4699, allocations: 7.103 MB / 0.5537 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4699, allocations: 43.22 kB / 0.5537 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.826e-06/0.4699, allocations: 0 / 0.5537 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.01551/0.4855, allocations: 5.369 MB / 0.559 GB, free: 2.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4855, allocations: 60.41 kB / 0.559 GB, free: 2.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.4882, allocations: 2.404 MB / 0.5614 GB, free: 480 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.462e-05/0.4883, allocations: 45.7 kB / 0.5614 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.4899, allocations: 2.066 MB / 0.5634 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.4904, allocations: 387.2 kB / 0.5638 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008619/0.4913, allocations: 0.7103 MB / 0.5645 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4914, allocations: 309.1 kB / 0.5648 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.493, allocations: 1.026 MB / 0.5658 GB, free: 11.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.4964, allocations: 3.184 MB / 0.5689 GB, free: 7.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/0.5023, allocations: 4.569 MB / 0.5734 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-05/0.5024, allocations: 24 kB / 0.5734 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006481/0.5089, allocations: 4.106 MB / 0.5774 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.509, allocations: 39.94 kB / 0.5774 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.569e-05/0.5091, allocations: 80 kB / 0.5775 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.5092, allocations: 100.8 kB / 0.5776 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.5116, allocations: 0.8422 MB / 0.5784 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.5117, allocations: 151.4 kB / 0.5786 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.5138, allocations: 175.8 kB / 0.5788 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.514, allocations: 212 kB / 0.579 GB, free: 12.26 MB / 414.1 MB 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.001962/0.516, allocations: 1.422 MB / 0.5803 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.5163, allocations: 209.2 kB / 0.5805 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.5187, allocations: 1.414 MB / 0.5819 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5187, allocations: 12 kB / 0.5819 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5187, allocations: 0.875 kB / 0.5819 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5187, allocations: 11.91 kB / 0.582 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00824/0.527, allocations: 5.22 MB / 0.587 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.527, allocations: 12 kB / 0.5871 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.5278, allocations: 220.5 kB / 0.5873 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/0.5278, allocations: 23.94 kB / 0.5873 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.5279, allocations: 47 kB / 0.5873 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.528, allocations: 23.92 kB / 0.5874 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/0.528, allocations: 23.88 kB / 0.5874 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.5302, allocations: 1.743 MB / 0.5891 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.5308, allocations: 290.3 kB / 0.5894 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.531, allocations: 39.98 kB / 0.5894 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.5317, allocations: 43.97 kB / 0.5894 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.532, allocations: 120.1 kB / 0.5896 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.532, allocations: 51.98 kB / 0.5896 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.5342, allocations: 1.526 MB / 0.5911 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5342, allocations: 0 / 0.5911 GB, free: 15.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003022/0.5372, allocations: 0.6069 MB / 0.5917 GB, free: 14.68 MB / 430.1 MB 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.002834/0.5401, allocations: 2.379 MB / 0.594 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.5446, allocations: 2.619 MB / 0.5966 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.5446, allocations: 4 kB / 0.5966 GB, free: 9.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008321/0.5454, allocations: 0.5678 MB / 0.5971 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5472, allocations: 353 kB / 0.5975 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03936/0.5866, allocations: 27.83 MB / 0.6246 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.5899, allocations: 2.45 MB / 0.627 GB, free: 6.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002953/0.5929, allocations: 0.9615 MB / 0.628 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/0.5949, allocations: 1.245 MB / 0.6292 GB, free: 3.895 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.595, allocations: 0 / 0.6292 GB, free: 3.895 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/0.678, allocations: 44.47 MB / 0.6726 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.011/9.689, allocations: 8 kB / 0.6726 GB, free: 7.66 MB / 0.4981 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