Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_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.00123/0.00123, allocations: 104 kB / 16.41 MB, free: 6.465 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.001161/0.001161, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1989/0.1989, allocations: 43.53 MB / 314.1 MB, free: 440 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.001483/0.001483, allocations: 69.62 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1002, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01262/0.1128, allocations: 12.64 MB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.12, allocations: 3.724 MB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.1216, allocations: 63.88 kB / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006184/0.1278, allocations: 3.306 MB / 0.5067 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.1307, allocations: 0.9873 MB / 0.5076 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1328, allocations: 0.8264 MB / 0.5085 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.1363, allocations: 2.4 MB / 0.5108 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004928/0.1413, allocations: 4.137 MB / 0.5148 GB, free: 20 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.1436, allocations: 1.398 MB / 0.5162 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.1464, allocations: 1.815 MB / 0.518 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009533/0.1474, allocations: 368 kB / 0.5183 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.1498, allocations: 1.018 MB / 0.5193 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.1518, allocations: 1.687 MB / 0.521 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003223/0.155, allocations: 1.985 MB / 0.5229 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008814/0.1639, allocations: 6.432 MB / 0.5292 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1639, allocations: 0 / 0.5292 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1639, allocations: 3.938 kB / 0.5292 GB, free: 1.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.1641, allocations: 0 / 0.5292 GB, free: 1.27 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.2269/0.391, allocations: 4.381 MB / 0.5335 GB, free: 38.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.391, allocations: 16.14 kB / 0.5335 GB, free: 38.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.3921, allocations: 0.6353 MB / 0.5341 GB, free: 38.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.3952, allocations: 0.6026 MB / 0.5347 GB, free: 37.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004812/0.4, allocations: 1.897 MB / 0.5365 GB, free: 37.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.4002, allocations: 238.9 kB / 0.5368 GB, free: 37.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008671/0.4011, allocations: 315.2 kB / 0.5371 GB, free: 37.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.4189, allocations: 9.219 MB / 0.5461 GB, free: 33.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.339e-05/0.4191, allocations: 18.69 kB / 0.5461 GB, free: 33.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/0.4194, allocations: 138.8 kB / 0.5462 GB, free: 33.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/0.4223, allocations: 1.589 MB / 0.5478 GB, free: 33.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.438, allocations: 7.458 MB / 0.5551 GB, free: 30.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03244/0.4704, allocations: 27.9 MB / 0.5823 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00678/0.4773, allocations: 2.329 MB / 0.5846 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.4787, allocations: 1.104 MB / 0.5857 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.4891, allocations: 7.612 MB / 0.5931 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.4892, allocations: 54.23 kB / 0.5931 GB, free: 6.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.677e-06/0.4892, allocations: 3.938 kB / 0.5932 GB, free: 6.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.01923/0.5084, allocations: 7.356 MB / 0.6003 GB, free: 15.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.5085, allocations: 137.5 kB / 0.6005 GB, free: 15.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.5117, allocations: 2.672 MB / 0.6031 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.5119, allocations: 41.7 kB / 0.6031 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.5135, allocations: 2.523 MB / 0.6056 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.5138, allocations: 416.9 kB / 0.606 GB, free: 9.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009046/0.5147, allocations: 0.7785 MB / 0.6067 GB, free: 8.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5149, allocations: 309.1 kB / 0.607 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.5164, allocations: 1.085 MB / 0.6081 GB, free: 7.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.5196, allocations: 3.498 MB / 0.6115 GB, free: 2.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/0.5248, allocations: 4.974 MB / 0.6164 GB, free: 12.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.5249, allocations: 24 kB / 0.6164 GB, free: 12.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006808/0.5317, allocations: 4.471 MB / 0.6208 GB, free: 8.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.5318, allocations: 40 kB / 0.6208 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.5319, allocations: 91.98 kB / 0.6209 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.532, allocations: 115.8 kB / 0.621 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.5348, allocations: 0.9436 MB / 0.6219 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/0.5349, allocations: 171.4 kB / 0.6221 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.5373, allocations: 199.9 kB / 0.6223 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5375, allocations: 232 kB / 0.6225 GB, free: 6.242 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (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 (499): * Single equations (assignments): 499 * 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.002349/0.5399, allocations: 1.6 MB / 0.6241 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.5403, allocations: 242.4 kB / 0.6243 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.5424, allocations: 1.393 MB / 0.6256 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5424, allocations: 12 kB / 0.6257 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5424, allocations: 0 / 0.6257 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5424, allocations: 7.922 kB / 0.6257 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.5518, allocations: 6.038 MB / 0.6316 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.5518, allocations: 16 kB / 0.6316 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.5526, allocations: 223.6 kB / 0.6318 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.5526, allocations: 20 kB / 0.6318 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.5527, allocations: 40.72 kB / 0.6318 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.5527, allocations: 36.67 kB / 0.6319 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/0.5528, allocations: 27.88 kB / 0.6319 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5548, allocations: 1.806 MB / 0.6337 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.5554, allocations: 327.4 kB / 0.634 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.5557, allocations: 43.98 kB / 0.634 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.5565, allocations: 47.98 kB / 0.6341 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5566, allocations: 125 kB / 0.6342 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.5567, allocations: 52 kB / 0.6342 GB, free: 9.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.559, allocations: 1.696 MB / 0.6359 GB, free: 7.941 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.559, allocations: 4 kB / 0.6359 GB, free: 7.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00321/0.5622, allocations: 0.6756 MB / 0.6366 GB, free: 7.262 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.002647/0.5649, allocations: 2.448 MB / 0.6389 GB, free: 4.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003898/0.5688, allocations: 2.558 MB / 0.6414 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/0.5688, allocations: 4 kB / 0.6415 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.5697, allocations: 0.5716 MB / 0.642 GB, free: 1.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.5719, allocations: 332.2 kB / 0.6423 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/0.6111, allocations: 28.2 MB / 0.6699 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.614, allocations: 2.742 MB / 0.6725 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002447/0.6165, allocations: 1.041 MB / 0.6736 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/0.6183, allocations: 1.468 MB / 0.675 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.6183, allocations: 4 kB / 0.675 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/0.6986, allocations: 46.74 MB / 0.7206 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.71, allocations: 11.95 kB / 0.7207 GB, free: 13.54 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches