Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.244e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.155/0.1551, allocations: 7.181 MB / 449.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1578, allocations: 2.502 MB / 451.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.1583, allocations: 41.91 kB / 451.9 MB, free: 39.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1595, allocations: 1.312 MB / 453.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.16, allocations: 491.6 kB / 453.7 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.1605, allocations: 448.1 kB / 454.1 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.1611, allocations: 1.063 MB / 455.2 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.1617, allocations: 0.9978 MB / 456.2 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.1622, allocations: 0.7581 MB / 457 MB, free: 36.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.1628, allocations: 0.7242 MB / 457.7 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/0.1628, allocations: 117.4 kB / 457.8 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1633, allocations: 0.586 MB / 458.4 MB, free: 36.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.1637, allocations: 0.751 MB / 459.1 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.1639, allocations: 474 kB / 459.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1652, allocations: 2.529 MB / 462.1 MB, free: 35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1652, allocations: 0 / 462.1 MB, free: 35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1652, allocations: 4 kB / 462.1 MB, free: 35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.1652, allocations: 2.531 kB / 462.1 MB, free: 35 MB / 410.7 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.002261/0.1675, allocations: 2.075 MB / 464.2 MB, free: 33.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1675, allocations: 9.344 kB / 464.2 MB, free: 33.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.1677, allocations: 285.7 kB / 464.5 MB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.1682, allocations: 287.6 kB / 464.8 MB, free: 33.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.1691, allocations: 0.7979 MB / 465.6 MB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.1692, allocations: 87.08 kB / 465.7 MB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1693, allocations: 128.5 kB / 465.8 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.1731, allocations: 4.33 MB / 470.1 MB, free: 31.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.1732, allocations: 14.34 kB / 470.1 MB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.1733, allocations: 55.5 kB / 470.2 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005186/0.1738, allocations: 0.7244 MB / 470.9 MB, free: 30.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.1777, allocations: 3.505 MB / 474.4 MB, free: 29.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009883/0.1876, allocations: 13.72 MB / 488.1 MB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.1901, allocations: 1.243 MB / 489.4 MB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.1906, allocations: 0.594 MB / 490 MB, free: 20.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003235/0.1939, allocations: 2.679 MB / 492.6 MB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1939, allocations: 38.3 kB / 492.7 MB, free: 19.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/0.1939, allocations: 0 / 492.7 MB, free: 19.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.003967/0.1979, allocations: 1.946 MB / 494.6 MB, free: 18.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1979, allocations: 70.45 kB / 494.7 MB, free: 18.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.1994, allocations: 1.564 MB / 496.3 MB, free: 17.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1994, allocations: 35.33 kB / 496.3 MB, free: 17.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.1999, allocations: 1.224 MB / 497.5 MB, free: 16.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.2, allocations: 181.8 kB / 497.7 MB, free: 16.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.2003, allocations: 434.4 kB / 498.1 MB, free: 16.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.2004, allocations: 352.7 kB / 498.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.2009, allocations: 487.5 kB / 498.9 MB, free: 16.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.2018, allocations: 1.894 MB / 0.4891 GB, free: 14.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.2033, allocations: 2.598 MB / 0.4916 GB, free: 11.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.2033, allocations: 14.53 kB / 0.4917 GB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002285/0.2056, allocations: 2.266 MB / 0.4939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.2056, allocations: 26.88 kB / 0.4939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/0.2057, allocations: 51.69 kB / 0.4939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.23e-05/0.2058, allocations: 66.25 kB / 0.494 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.2065, allocations: 497.6 kB / 0.4945 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.838e-05/0.2066, allocations: 104.4 kB / 0.4946 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.2075, allocations: 307.9 kB / 0.4949 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2076, allocations: 131.6 kB / 0.495 GB, free: 10.36 MB / 410.7 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.0008237/0.2084, allocations: 0.7696 MB / 0.4957 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2086, allocations: 130.5 kB / 0.4959 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.2087, allocations: 141 kB / 0.496 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2087, allocations: 5.906 kB / 0.496 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2087, allocations: 3.938 kB / 0.496 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2087, allocations: 1.875 kB / 0.496 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.2114, allocations: 2.79 MB / 0.4987 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.2114, allocations: 12.06 kB / 0.4988 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2116, allocations: 103.8 kB / 0.4989 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.2116, allocations: 13.78 kB / 0.4989 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2116, allocations: 24.89 kB / 0.4989 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/0.2117, allocations: 35.78 kB / 0.4989 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.2117, allocations: 17.34 kB / 0.4989 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.2122, allocations: 0.8585 MB / 0.4998 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.2124, allocations: 149.2 kB / 0.4999 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.2124, allocations: 30.52 kB / 0.4999 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2127, allocations: 27.09 kB / 0.5 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.2127, allocations: 69.09 kB / 0.5 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2127, allocations: 30.06 kB / 0.5001 GB, free: 7.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000702/0.2134, allocations: 0.9077 MB / 0.501 GB, free: 6.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2134, allocations: 4 kB / 0.501 GB, free: 6.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001155/0.2146, allocations: 406.9 kB / 0.5013 GB, free: 6.168 MB / 410.7 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.000633/0.2152, allocations: 1.437 MB / 0.5028 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.2166, allocations: 1.166 MB / 0.5039 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.2166, allocations: 0 / 0.5039 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.2168, allocations: 240.5 kB / 0.5041 GB, free: 3.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.2176, allocations: 210.1 kB / 0.5043 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.2304, allocations: 13.95 MB / 0.5179 GB, free: 4.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.2311, allocations: 0.9362 MB / 0.5189 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000848/0.232, allocations: 0.5698 MB / 0.5194 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.2324, allocations: 0.6214 MB / 0.52 GB, free: 1.906 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2324, allocations: 0 / 0.52 GB, free: 1.906 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2658, allocations: 23.6 MB / 0.5431 GB, free: 10.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.581, allocations: 11.94 kB / 0.5431 GB, free: 10.66 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.701624141074717]