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.001687/0.001687, allocations: 112.1 kB / 16.41 MB, free: 6.43 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.001839/0.001839, allocations: 189 kB / 17.34 MB, free: 5.727 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.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2124/0.2124, allocations: 43.52 MB / 314.1 MB, free: 476 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.002057/0.002057, allocations: 71.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01088/0.1206, allocations: 9.174 MB / 0.4964 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.1284, allocations: 2.705 MB / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.1298, allocations: 43.94 kB / 0.4991 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.134, allocations: 1.293 MB / 0.5003 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.1365, allocations: 0.5518 MB / 0.5009 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1381, allocations: 423 kB / 0.5013 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.1406, allocations: 1.258 MB / 0.5025 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.1429, allocations: 1.285 MB / 0.5037 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1442, allocations: 0.607 MB / 0.5043 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.1461, allocations: 0.8369 MB / 0.5052 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.1466, allocations: 128 kB / 0.5053 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.1481, allocations: 0.585 MB / 0.5058 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.1494, allocations: 0.8142 MB / 0.5066 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.1508, allocations: 0.9317 MB / 0.5076 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.1546, allocations: 2.855 MB / 0.5103 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1546, allocations: 0 / 0.5103 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1546, allocations: 0 / 0.5103 GB, free: 4.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.672e-05/0.1547, allocations: 3.938 kB / 0.5103 GB, free: 4.691 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.005397/0.1601, allocations: 2.447 MB / 0.5127 GB, free: 2.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1602, allocations: 11.89 kB / 0.5127 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006113/0.1608, allocations: 351.9 kB / 0.5131 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1621, allocations: 283.2 kB / 0.5133 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.1639, allocations: 0.897 MB / 0.5142 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.164, allocations: 107.1 kB / 0.5143 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.1644, allocations: 147.8 kB / 0.5145 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009537/0.1739, allocations: 4.908 MB / 0.5193 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.174, allocations: 11.88 kB / 0.5193 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.1742, allocations: 67.94 kB / 0.5193 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.1761, allocations: 1.003 MB / 0.5203 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009003/0.1851, allocations: 3.807 MB / 0.524 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2494/0.4346, allocations: 16.32 MB / 0.54 GB, free: 30.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.439, allocations: 1.27 MB / 0.5412 GB, free: 30.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/0.44, allocations: 0.7124 MB / 0.5419 GB, free: 29.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005754/0.4457, allocations: 4.041 MB / 0.5459 GB, free: 27.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4458, allocations: 43.48 kB / 0.5459 GB, free: 27.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.885e-06/0.4458, allocations: 0 / 0.5459 GB, free: 27.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006582/0.4524, allocations: 1.778 MB / 0.5476 GB, free: 26.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4525, allocations: 120.3 kB / 0.5478 GB, free: 26.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.4548, allocations: 1.611 MB / 0.5493 GB, free: 26.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.4549, allocations: 31.8 kB / 0.5494 GB, free: 26.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008284/0.4557, allocations: 1.458 MB / 0.5508 GB, free: 25.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.4559, allocations: 192.7 kB / 0.551 GB, free: 24.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005584/0.4565, allocations: 472.9 kB / 0.5514 GB, free: 24.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4566, allocations: 355.3 kB / 0.5518 GB, free: 24.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.4574, allocations: 0.5133 MB / 0.5523 GB, free: 24.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4588, allocations: 2.068 MB / 0.5543 GB, free: 21.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.4611, allocations: 2.813 MB / 0.557 GB, free: 19.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/0.4611, allocations: 15.19 kB / 0.557 GB, free: 19.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003572/0.4647, allocations: 2.461 MB / 0.5594 GB, free: 18.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.4648, allocations: 28.88 kB / 0.5595 GB, free: 18.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-05/0.4648, allocations: 55 kB / 0.5595 GB, free: 18.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.118e-05/0.4649, allocations: 72.88 kB / 0.5596 GB, free: 18.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.4663, allocations: 0.5516 MB / 0.5601 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.487e-05/0.4664, allocations: 114.2 kB / 0.5602 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4679, allocations: 346.1 kB / 0.5606 GB, free: 17.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.4681, allocations: 146.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.001021/0.4691, allocations: 0.8599 MB / 0.5615 GB, free: 17.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4693, allocations: 142.3 kB / 0.5617 GB, free: 17.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.4696, allocations: 162.1 kB / 0.5618 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4696, allocations: 7.844 kB / 0.5618 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4696, allocations: 0 / 0.5618 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4696, allocations: 8.594 kB / 0.5619 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4732, allocations: 3.28 MB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.4732, allocations: 17.17 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.4735, allocations: 100.2 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/0.4735, allocations: 19.53 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.4736, allocations: 24.2 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.4736, allocations: 21.91 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.4736, allocations: 16.19 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.4743, allocations: 0.9056 MB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4746, allocations: 239 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4748, allocations: 30.45 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.4752, allocations: 23.62 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.4753, allocations: 73.25 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4753, allocations: 28.75 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.4763, allocations: 0.9938 MB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4763, allocations: 0 / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001867/0.4782, allocations: 496.5 kB / 0.5679 GB, free: 13.36 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.0008936/0.4791, allocations: 1.47 MB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.4808, allocations: 1.295 MB / 0.5706 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4808, allocations: 4.312 kB / 0.5707 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.481, allocations: 242.1 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4821, allocations: 190.4 kB / 0.5711 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.5, allocations: 15.49 MB / 0.5862 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.502, allocations: 1.71 MB / 0.5879 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.5035, allocations: 0.6139 MB / 0.5885 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000997/0.5046, allocations: 0.7453 MB / 0.5892 GB, free: 6.168 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5046, allocations: 4 kB / 0.5892 GB, free: 6.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05869/0.5633, allocations: 24.54 MB / 0.6132 GB, free: 13.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.07, allocations: 7.938 kB / 0.6132 GB, free: 13.59 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