Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",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.001073/0.001073, 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.001256/0.001256, 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.412/1.412, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2008/0.2008, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 56.47 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01634/0.1342, allocations: 8.132 MB / 477.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.1433, allocations: 2.595 MB / 480.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.145, allocations: 36 kB / 480.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.1491, allocations: 1.277 MB / 481.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1512, allocations: 449.7 kB / 481.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1528, allocations: 415.1 kB / 482.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.1549, allocations: 1.059 MB / 483.3 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.1571, allocations: 1.199 MB / 484.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.1582, allocations: 0.5372 MB / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1601, allocations: 0.767 MB / 485.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.1605, allocations: 116 kB / 485.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1622, allocations: 0.5811 MB / 486.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.1634, allocations: 0.7168 MB / 487.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1649, allocations: 0.8114 MB / 488 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003826/0.1688, allocations: 2.418 MB / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1688, allocations: 0 / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1688, allocations: 0 / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.1689, allocations: 0 / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.007016/0.1759, allocations: 2.137 MB / 492.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.176, allocations: 8.031 kB / 492.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006754/0.1767, allocations: 296.6 kB / 492.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.1786, allocations: 278.2 kB / 493.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.181, allocations: 0.838 MB / 494 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1812, allocations: 98.69 kB / 494.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1816, allocations: 127.8 kB / 494.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.1947, allocations: 4.276 MB / 498.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.1948, allocations: 7.938 kB / 498.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.195, allocations: 55.95 kB / 498.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/0.1966, allocations: 0.7288 MB / 499.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.2093, allocations: 3.512 MB / 0.491 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2762/0.4855, allocations: 14.3 MB / 0.505 GB, free: 41.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.4896, allocations: 1.214 MB / 0.5061 GB, free: 41.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.4904, allocations: 0.6962 MB / 0.5068 GB, free: 41.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004713/0.4951, allocations: 3.692 MB / 0.5104 GB, free: 39.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.4951, allocations: 43.62 kB / 0.5105 GB, free: 39.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.365e-06/0.4952, allocations: 1.219 kB / 0.5105 GB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00623/0.5014, allocations: 1.754 MB / 0.5122 GB, free: 39.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.5014, allocations: 60.97 kB / 0.5122 GB, free: 39.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.5035, allocations: 1.483 MB / 0.5137 GB, free: 38.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.5036, allocations: 31.58 kB / 0.5137 GB, free: 38.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.5043, allocations: 1.199 MB / 0.5149 GB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5044, allocations: 181.6 kB / 0.5151 GB, free: 37.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.5049, allocations: 435.8 kB / 0.5155 GB, free: 37.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.505, allocations: 352 kB / 0.5158 GB, free: 36.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.5057, allocations: 487.9 kB / 0.5163 GB, free: 36.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.5069, allocations: 1.897 MB / 0.5181 GB, free: 34.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.509, allocations: 2.598 MB / 0.5207 GB, free: 32.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-05/0.5091, allocations: 13.97 kB / 0.5207 GB, free: 32.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004048/0.5131, allocations: 2.27 MB / 0.5229 GB, free: 31.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.5132, allocations: 30.66 kB / 0.5229 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.32e-05/0.5133, allocations: 50.69 kB / 0.523 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.5134, allocations: 65.84 kB / 0.523 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5155, allocations: 490.5 kB / 0.5235 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/0.5156, allocations: 98.64 kB / 0.5236 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.518, allocations: 304.5 kB / 0.5239 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.5183, allocations: 130.6 kB / 0.524 GB, free: 31.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.001374/0.5197, allocations: 0.7662 MB / 0.5248 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.5199, allocations: 125.4 kB / 0.5249 GB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.5202, allocations: 146.1 kB / 0.525 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5202, allocations: 3.906 kB / 0.525 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.5203, allocations: 3.906 kB / 0.525 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5203, allocations: 0 / 0.525 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.5258, allocations: 2.888 MB / 0.5279 GB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/0.5259, allocations: 10.69 kB / 0.5279 GB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.5264, allocations: 104.5 kB / 0.528 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/0.5264, allocations: 18.88 kB / 0.528 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.5264, allocations: 22.22 kB / 0.528 GB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/0.5265, allocations: 18.34 kB / 0.528 GB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.5265, allocations: 25.75 kB / 0.528 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.5276, allocations: 0.8738 MB / 0.5289 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.528, allocations: 219.9 kB / 0.5291 GB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.5282, allocations: 29.89 kB / 0.5291 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.5288, allocations: 22.69 kB / 0.5292 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.5289, allocations: 71.98 kB / 0.5292 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.529, allocations: 30.94 kB / 0.5293 GB, free: 27.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.5304, allocations: 0.912 MB / 0.5302 GB, free: 27.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5305, allocations: 0 / 0.5302 GB, free: 27.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003236/0.5337, allocations: 412.7 kB / 0.5305 GB, free: 27.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.001548/0.5353, allocations: 1.456 MB / 0.532 GB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.538, allocations: 1.213 MB / 0.5332 GB, free: 25.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.538, allocations: 6 kB / 0.5332 GB, free: 25.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.5384, allocations: 238.5 kB / 0.5334 GB, free: 24.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5402, allocations: 212.2 kB / 0.5336 GB, free: 24.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.5624, allocations: 14.79 MB / 0.548 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.5641, allocations: 1.531 MB / 0.5495 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002729/0.5669, allocations: 0.5747 MB / 0.5501 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/0.5679, allocations: 0.6164 MB / 0.5507 GB, free: 4.836 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5679, allocations: 4 kB / 0.5507 GB, free: 4.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/0.6414, allocations: 22.47 MB / 0.5726 GB, free: 14.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.847, allocations: 7.219 kB / 0.5726 GB, free: 14.5 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_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_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches