Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_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.00113/0.00113, allocations: 100.4 kB / 16.4 MB, free: 6.488 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.001106/0.001106, allocations: 188.2 kB / 17.34 MB, free: 5.734 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.303/1.303, 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.1945/0.1945, allocations: 43.53 MB / 314.1 MB, free: 444 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.001411/0.001411, allocations: 69.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1002, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009808/0.1101, allocations: 9.182 MB / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.1152, allocations: 2.697 MB / 0.499 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1165, allocations: 43.94 kB / 0.4991 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1191, allocations: 1.308 MB / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1205, allocations: 0.5714 MB / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.1213, allocations: 415.1 kB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1228, allocations: 1.258 MB / 0.5025 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.1243, allocations: 1.277 MB / 0.5038 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008118/0.1251, allocations: 0.6071 MB / 0.5044 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.1263, allocations: 0.8486 MB / 0.5052 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.1266, allocations: 131.9 kB / 0.5053 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009049/0.1275, allocations: 0.5811 MB / 0.5059 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007619/0.1283, allocations: 0.8142 MB / 0.5067 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1293, allocations: 0.9278 MB / 0.5076 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.1321, allocations: 2.859 MB / 0.5104 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1321, allocations: 0 / 0.5104 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1321, allocations: 0 / 0.5104 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.063e-05/0.1322, allocations: 0 / 0.5104 GB, free: 4.629 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004246/0.1365, allocations: 2.447 MB / 0.5128 GB, free: 2.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1365, allocations: 11.89 kB / 0.5128 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/0.1369, allocations: 343.9 kB / 0.5131 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.138, allocations: 287.2 kB / 0.5134 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1394, allocations: 0.897 MB / 0.5142 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.1395, allocations: 115.1 kB / 0.5144 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.1397, allocations: 147.9 kB / 0.5145 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007376/0.1471, allocations: 4.904 MB / 0.5193 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.1472, allocations: 7.938 kB / 0.5193 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.1473, allocations: 71.92 kB / 0.5194 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.1489, allocations: 0.9989 MB / 0.5203 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/0.1559, allocations: 3.807 MB / 0.5241 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2216/0.3775, allocations: 16.33 MB / 0.54 GB, free: 30.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.3816, allocations: 1.272 MB / 0.5412 GB, free: 30.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.3824, allocations: 0.7126 MB / 0.5419 GB, free: 29.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005344/0.3878, allocations: 4.038 MB / 0.5459 GB, free: 27.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3878, allocations: 42.11 kB / 0.5459 GB, free: 27.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 3.005e-06/0.3878, allocations: 3.656 kB / 0.5459 GB, free: 27.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006304/0.3941, allocations: 1.776 MB / 0.5477 GB, free: 26.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3942, allocations: 115.4 kB / 0.5478 GB, free: 26.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.3961, allocations: 1.609 MB / 0.5493 GB, free: 26.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3961, allocations: 35.73 kB / 0.5494 GB, free: 26.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006756/0.3968, allocations: 1.46 MB / 0.5508 GB, free: 25.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3969, allocations: 189.8 kB / 0.551 GB, free: 24.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.3974, allocations: 477.3 kB / 0.5514 GB, free: 24.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.3975, allocations: 355.1 kB / 0.5518 GB, free: 24.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.3982, allocations: 0.5164 MB / 0.5523 GB, free: 24.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3994, allocations: 2.065 MB / 0.5543 GB, free: 21.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.4014, allocations: 2.812 MB / 0.557 GB, free: 19.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/0.4014, allocations: 15.59 kB / 0.5571 GB, free: 19.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002974/0.4044, allocations: 2.464 MB / 0.5595 GB, free: 18.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.4045, allocations: 28.88 kB / 0.5595 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/0.4045, allocations: 55.25 kB / 0.5595 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.046e-05/0.4046, allocations: 75.78 kB / 0.5596 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.406, allocations: 0.5474 MB / 0.5602 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.502e-05/0.406, allocations: 111 kB / 0.5603 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4074, allocations: 350.3 kB / 0.5606 GB, free: 17.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.4075, allocations: 147.8 kB / 0.5607 GB, free: 17.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.0008932/0.4084, allocations: 0.8589 MB / 0.5616 GB, free: 17.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4086, allocations: 138.1 kB / 0.5617 GB, free: 17.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.4087, allocations: 155.7 kB / 0.5619 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4087, allocations: 15.69 kB / 0.5619 GB, free: 17.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4088, allocations: 0 / 0.5619 GB, free: 17.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4088, allocations: 0 / 0.5619 GB, free: 17.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.4121, allocations: 3.292 MB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.4122, allocations: 13.47 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.4125, allocations: 107 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.4125, allocations: 19.31 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4125, allocations: 19.47 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.4125, allocations: 27.58 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.4125, allocations: 15.75 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.4131, allocations: 0.9043 MB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4133, allocations: 237 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4135, allocations: 29.45 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.4139, allocations: 25.03 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.414, allocations: 70.14 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.414, allocations: 24.62 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008811/0.4149, allocations: 1.004 MB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4149, allocations: 0 / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001591/0.4165, allocations: 494.6 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.0007395/0.4172, allocations: 1.469 MB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.4185, allocations: 1.293 MB / 0.5707 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4185, allocations: 4.5 kB / 0.5707 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.4188, allocations: 242.5 kB / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.4196, allocations: 182.1 kB / 0.5711 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.4342, allocations: 15.49 MB / 0.5862 GB, free: 9.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4356, allocations: 1.709 MB / 0.5879 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.437, allocations: 0.6142 MB / 0.5885 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.4377, allocations: 0.7453 MB / 0.5892 GB, free: 6.105 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4377, allocations: 4 kB / 0.5892 GB, free: 6.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.4835, allocations: 24.55 MB / 0.6132 GB, free: 13.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.59, allocations: 8.062 kB / 0.6132 GB, free: 13.54 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches