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.001287/0.001287, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001346/0.001346, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1985/0.1985, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3181, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008748/0.3269, allocations: 8.122 MB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.3326, allocations: 2.598 MB / 0.5289 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.334, allocations: 38.31 kB / 0.5289 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.3367, allocations: 1.28 MB / 0.5302 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.3381, allocations: 479.6 kB / 0.5306 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3392, allocations: 411.2 kB / 0.531 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3408, allocations: 1.056 MB / 0.5321 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.3426, allocations: 1.202 MB / 0.5332 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.3438, allocations: 0.534 MB / 0.5338 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.3453, allocations: 0.77 MB / 0.5345 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.3458, allocations: 116 kB / 0.5346 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.3472, allocations: 0.5775 MB / 0.5352 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.3483, allocations: 0.7179 MB / 0.5359 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.3498, allocations: 0.8076 MB / 0.5367 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.3536, allocations: 2.513 MB / 0.5391 GB, free: 5.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3537, allocations: 1.312 kB / 0.5391 GB, free: 5.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3537, allocations: 0 / 0.5391 GB, free: 5.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.451e-05/0.3538, allocations: 0 / 0.5391 GB, free: 5.312 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.005395/0.3592, allocations: 2.18 MB / 0.5413 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3592, allocations: 9.281 kB / 0.5413 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005404/0.3598, allocations: 293 kB / 0.5416 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.361, allocations: 286.3 kB / 0.5418 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.363, allocations: 0.8569 MB / 0.5427 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.3631, allocations: 89.11 kB / 0.5427 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.3634, allocations: 130.4 kB / 0.5429 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008069/0.3715, allocations: 4.271 MB / 0.547 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.3716, allocations: 11.88 kB / 0.5471 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.3717, allocations: 55.94 kB / 0.5471 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.3728, allocations: 0.7248 MB / 0.5478 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007/0.3798, allocations: 3.5 MB / 0.5512 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.3959, allocations: 14.27 MB / 0.5652 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.3999, allocations: 1.223 MB / 0.5664 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.4008, allocations: 0.6936 MB / 0.567 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005425/0.4063, allocations: 3.7 MB / 0.5707 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.4063, allocations: 42.88 kB / 0.5707 GB, free: 5.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.965e-06/0.4064, allocations: 0 / 0.5707 GB, free: 5.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006275/0.4126, allocations: 1.769 MB / 0.5724 GB, free: 3.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.4127, allocations: 59.34 kB / 0.5725 GB, free: 3.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4149, allocations: 1.492 MB / 0.5739 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.4149, allocations: 33.7 kB / 0.574 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008127/0.4158, allocations: 1.238 MB / 0.5752 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4159, allocations: 178.8 kB / 0.5753 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.4165, allocations: 443.5 kB / 0.5758 GB, free: 260 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4166, allocations: 349.9 kB / 0.5761 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.4173, allocations: 495.9 kB / 0.5766 GB, free: 15.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.4189, allocations: 1.89 MB / 0.5784 GB, free: 12.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.4214, allocations: 2.597 MB / 0.581 GB, free: 9.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-05/0.4214, allocations: 12 kB / 0.581 GB, free: 9.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003774/0.4252, allocations: 2.275 MB / 0.5832 GB, free: 7.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.4253, allocations: 31.94 kB / 0.5832 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/0.4253, allocations: 48 kB / 0.5833 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.975e-05/0.4254, allocations: 68 kB / 0.5833 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4267, allocations: 491 kB / 0.5838 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.837e-05/0.4268, allocations: 99.58 kB / 0.5839 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4283, allocations: 314.2 kB / 0.5842 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4285, allocations: 136 kB / 0.5843 GB, free: 6.047 MB / 446.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.001201/0.4298, allocations: 0.7542 MB / 0.5851 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.43, allocations: 135 kB / 0.5852 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4303, allocations: 148.5 kB / 0.5853 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.4303, allocations: 4 kB / 0.5853 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4303, allocations: 0 / 0.5853 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.4303, allocations: 7.984 kB / 0.5853 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.4347, allocations: 2.89 MB / 0.5882 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.4347, allocations: 15.94 kB / 0.5882 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.4351, allocations: 99.92 kB / 0.5883 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.4351, allocations: 20 kB / 0.5883 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.4352, allocations: 31.88 kB / 0.5883 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/0.4352, allocations: 27.86 kB / 0.5884 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.4352, allocations: 15.94 kB / 0.5884 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.4362, allocations: 0.8759 MB / 0.5892 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.4366, allocations: 220.1 kB / 0.5894 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.4368, allocations: 27.98 kB / 0.5895 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.4372, allocations: 23.98 kB / 0.5895 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.4373, allocations: 75.58 kB / 0.5896 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.4374, allocations: 32 kB / 0.5896 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.4387, allocations: 0.917 MB / 0.5905 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4387, allocations: 0 / 0.5905 GB, free: 15.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002055/0.4408, allocations: 407 kB / 0.5909 GB, free: 14.89 MB / 462.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.001461/0.4423, allocations: 1.457 MB / 0.5923 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.4444, allocations: 1.205 MB / 0.5935 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.4444, allocations: 4.312 kB / 0.5935 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.4447, allocations: 238.2 kB / 0.5937 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.4461, allocations: 215.2 kB / 0.5939 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.4652, allocations: 14.1 MB / 0.6077 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.4667, allocations: 1.532 MB / 0.6092 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001376/0.4681, allocations: 0.5777 MB / 0.6097 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.469, allocations: 0.6164 MB / 0.6103 GB, free: 8.805 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.469, allocations: 0 / 0.6103 GB, free: 8.805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/0.5196, allocations: 22.95 MB / 0.6327 GB, free: 2.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.82, allocations: 5.016 kB / 0.6328 GB, free: 2.012 MB / 494.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