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.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.001377/0.001377, 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.001387/0.001387, 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.9175/0.9175, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 32.8 MB / 293.5 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.151e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.1728/0.1729, allocations: 7.18 MB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1761, allocations: 2.501 MB / 449.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.1767, allocations: 42.94 kB / 449.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1779, allocations: 1.318 MB / 450.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.1784, allocations: 492.2 kB / 451.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.1789, allocations: 448.8 kB / 451.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.1794, allocations: 1.061 MB / 452.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.18, allocations: 0.9962 MB / 453.6 MB, free: 39.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.1804, allocations: 0.7614 MB / 454.4 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.1809, allocations: 0.7289 MB / 455.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.181, allocations: 114.1 kB / 455.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.1815, allocations: 0.5876 MB / 455.8 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.1818, allocations: 0.7578 MB / 456.6 MB, free: 38.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.182, allocations: 469.2 kB / 457 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1832, allocations: 2.528 MB / 459.5 MB, free: 37.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1832, allocations: 3.344 kB / 459.5 MB, free: 37.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1832, allocations: 0 / 459.5 MB, free: 37.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.1832, allocations: 0 / 459.5 MB, free: 37.47 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.002079/0.1853, allocations: 2.077 MB / 461.6 MB, free: 36.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1854, allocations: 12.88 kB / 461.6 MB, free: 36.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.1856, allocations: 286.5 kB / 461.9 MB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.186, allocations: 288.1 kB / 462.2 MB, free: 36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.1868, allocations: 0.7848 MB / 463 MB, free: 35.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.1869, allocations: 100.6 kB / 463.1 MB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.187, allocations: 121.3 kB / 463.2 MB, free: 35.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.1905, allocations: 4.331 MB / 467.5 MB, free: 33.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1906, allocations: 15.25 kB / 467.5 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/0.1906, allocations: 56.58 kB / 467.6 MB, free: 33.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004959/0.1911, allocations: 0.7245 MB / 468.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/0.1949, allocations: 3.509 MB / 471.8 MB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008977/0.2039, allocations: 13.71 MB / 485.5 MB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.2063, allocations: 1.239 MB / 486.8 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.2069, allocations: 0.5983 MB / 487.4 MB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.2101, allocations: 2.675 MB / 490.1 MB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2102, allocations: 38.05 kB / 490.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.517e-06/0.2102, allocations: 0 / 490.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.004403/0.2146, allocations: 1.946 MB / 492 MB, free: 21.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2146, allocations: 63.5 kB / 492.1 MB, free: 21.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.2162, allocations: 1.57 MB / 493.7 MB, free: 20.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2163, allocations: 33.33 kB / 493.7 MB, free: 20.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005699/0.2168, allocations: 1.233 MB / 494.9 MB, free: 19.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2169, allocations: 180.8 kB / 495.1 MB, free: 19.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.2173, allocations: 430.2 kB / 495.5 MB, free: 19.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.2174, allocations: 352.7 kB / 495.9 MB, free: 18.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.218, allocations: 492.8 kB / 496.4 MB, free: 18.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.2189, allocations: 1.89 MB / 498.2 MB, free: 16.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2205, allocations: 2.6 MB / 0.4891 GB, free: 14.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.358e-05/0.2205, allocations: 15.81 kB / 0.4891 GB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002321/0.2229, allocations: 2.266 MB / 0.4913 GB, free: 13.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2229, allocations: 26.75 kB / 0.4914 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/0.2229, allocations: 50.22 kB / 0.4914 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.184e-05/0.223, allocations: 70.84 kB / 0.4915 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.2238, allocations: 492.2 kB / 0.4919 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.5e-05/0.2239, allocations: 105.4 kB / 0.492 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/0.2248, allocations: 313.5 kB / 0.4923 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.2249, allocations: 134.8 kB / 0.4925 GB, free: 12.82 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.0007968/0.2257, allocations: 0.7594 MB / 0.4932 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.2258, allocations: 130 kB / 0.4933 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.2259, allocations: 140.8 kB / 0.4935 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2259, allocations: 4.219 kB / 0.4935 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.2259, allocations: 6.156 kB / 0.4935 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.226, allocations: 8.031 kB / 0.4935 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.2286, allocations: 2.801 MB / 0.4962 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.2286, allocations: 11.73 kB / 0.4962 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2288, allocations: 97.59 kB / 0.4963 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.2288, allocations: 15.12 kB / 0.4963 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.2288, allocations: 21.36 kB / 0.4964 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.2288, allocations: 24.92 kB / 0.4964 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.2288, allocations: 22.97 kB / 0.4964 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.2294, allocations: 0.8636 MB / 0.4973 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2295, allocations: 153.3 kB / 0.4974 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.2296, allocations: 28.41 kB / 0.4974 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2298, allocations: 29.91 kB / 0.4975 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.2299, allocations: 67.3 kB / 0.4975 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2299, allocations: 32.34 kB / 0.4976 GB, free: 9.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009014/0.2308, allocations: 0.909 MB / 0.4984 GB, free: 9.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2308, allocations: 0 / 0.4984 GB, free: 9.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001362/0.2322, allocations: 406 kB / 0.4988 GB, free: 9.457 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.0006961/0.2329, allocations: 1.434 MB / 0.5002 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2342, allocations: 1.167 MB / 0.5014 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.2342, allocations: 4 kB / 0.5014 GB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2344, allocations: 228.5 kB / 0.5016 GB, free: 6.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.2352, allocations: 215.5 kB / 0.5018 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.2489, allocations: 13.95 MB / 0.5154 GB, free: 7.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.2497, allocations: 0.9465 MB / 0.5163 GB, free: 6.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.2505, allocations: 0.5745 MB / 0.5169 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.251, allocations: 0.6175 MB / 0.5175 GB, free: 5.715 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.251, allocations: 0 / 0.5175 GB, free: 5.715 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.2875, allocations: 23.6 MB / 0.5406 GB, free: 14.49 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.545, allocations: 4.062 kB / 0.5406 GB, free: 14.48 MB / 458.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.691680426709354]