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.001819/0.001819, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 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.002169/0.002169, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.2224/0.2224, allocations: 44.9 MB / 355.8 MB, free: 12.36 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 63.91 kB / 0.4886 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1321, allocations: 65.42 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01081/0.143, allocations: 8.145 MB / 0.5604 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.1491, allocations: 2.65 MB / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.1503, allocations: 43.88 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.1535, allocations: 1.304 MB / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.155, allocations: 477.6 kB / 0.5648 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1562, allocations: 411.1 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1584, allocations: 1.032 MB / 0.5662 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.1603, allocations: 1.023 MB / 0.5672 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1615, allocations: 0.5294 MB / 0.5677 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.1633, allocations: 0.8254 MB / 0.5685 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004462/0.1637, allocations: 116 kB / 0.5686 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1652, allocations: 0.6045 MB / 0.5692 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.1665, allocations: 0.7244 MB / 0.5699 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.1681, allocations: 0.7998 MB / 0.5707 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.1724, allocations: 2.501 MB / 0.5731 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1724, allocations: 0 / 0.5731 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1724, allocations: 0 / 0.5731 GB, free: 4.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.1725, allocations: 0 / 0.5731 GB, free: 4.871 MB / 430.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.006354/0.1789, allocations: 2.181 MB / 0.5752 GB, free: 2.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.179, allocations: 8.031 kB / 0.5753 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001078/0.1791, allocations: 42.56 kB / 0.5753 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006975/0.1798, allocations: 288.6 kB / 0.5756 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.1812, allocations: 287.4 kB / 0.5758 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1832, allocations: 0.8502 MB / 0.5767 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-05/0.1833, allocations: 98.45 kB / 0.5768 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/0.1837, allocations: 119.9 kB / 0.5769 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009518/0.1932, allocations: 4.28 MB / 0.5811 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.1932, allocations: 15.88 kB / 0.5811 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.1934, allocations: 59.94 kB / 0.5811 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.1948, allocations: 0.7248 MB / 0.5818 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.2038, allocations: 3.5 MB / 0.5853 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2884/0.4921, allocations: 14.26 MB / 0.5992 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.4969, allocations: 1.135 MB / 0.6003 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.4979, allocations: 0.5911 MB / 0.6009 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006589/0.5045, allocations: 3.717 MB / 0.6045 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.5045, allocations: 37.52 kB / 0.6045 GB, free: 27.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.657e-06/0.5045, allocations: 0 / 0.6045 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.007137/0.5117, allocations: 1.763 MB / 0.6063 GB, free: 27.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5117, allocations: 62.25 kB / 0.6063 GB, free: 27.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/0.5148, allocations: 1.487 MB / 0.6078 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.737e-05/0.5149, allocations: 32.02 kB / 0.6078 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009564/0.5158, allocations: 1.241 MB / 0.609 GB, free: 25.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.5161, allocations: 177.4 kB / 0.6092 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006752/0.5168, allocations: 439.6 kB / 0.6096 GB, free: 25.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5169, allocations: 357 kB / 0.6099 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.5179, allocations: 488.2 kB / 0.6104 GB, free: 25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.5195, allocations: 1.889 MB / 0.6122 GB, free: 22.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.522, allocations: 2.601 MB / 0.6148 GB, free: 20.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.06e-05/0.5221, allocations: 14.06 kB / 0.6148 GB, free: 20.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004658/0.5268, allocations: 2.268 MB / 0.617 GB, free: 19.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.5268, allocations: 27.22 kB / 0.617 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-05/0.5269, allocations: 49.41 kB / 0.6171 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.527, allocations: 72.83 kB / 0.6172 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5286, allocations: 491.6 kB / 0.6176 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.5287, allocations: 105.4 kB / 0.6177 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.5305, allocations: 314.8 kB / 0.618 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.5308, allocations: 131.5 kB / 0.6182 GB, free: 19.23 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.001354/0.5322, allocations: 0.7651 MB / 0.6189 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.5324, allocations: 126.8 kB / 0.619 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.5327, allocations: 141.2 kB / 0.6192 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5327, allocations: 6.156 kB / 0.6192 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.5327, allocations: 3.938 kB / 0.6192 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5327, allocations: 2.25 kB / 0.6192 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.5373, allocations: 2.889 MB / 0.622 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/0.5374, allocations: 12.16 kB / 0.622 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.5377, allocations: 99.95 kB / 0.6221 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.046e-05/0.5377, allocations: 14.56 kB / 0.6221 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.5378, allocations: 24.5 kB / 0.6221 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-05/0.5378, allocations: 26.44 kB / 0.6222 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.5378, allocations: 24.59 kB / 0.6222 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.5386, allocations: 0.8826 MB / 0.623 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.539, allocations: 214.8 kB / 0.6232 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5391, allocations: 35.36 kB / 0.6233 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.5396, allocations: 23.52 kB / 0.6233 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.5396, allocations: 72.34 kB / 0.6234 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.5397, allocations: 27.62 kB / 0.6234 GB, free: 16.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.541, allocations: 0.9073 MB / 0.6243 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.541, allocations: 0 / 0.6243 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.5433, allocations: 410.4 kB / 0.6247 GB, free: 15.68 MB / 446.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.001287/0.5446, allocations: 1.458 MB / 0.6261 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.5465, allocations: 1.167 MB / 0.6272 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.5465, allocations: 0 / 0.6272 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.5468, allocations: 231.5 kB / 0.6275 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5481, allocations: 205 kB / 0.6277 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.5651, allocations: 14.08 MB / 0.6414 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.5667, allocations: 1.529 MB / 0.6429 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.5682, allocations: 0.5753 MB / 0.6435 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/0.569, allocations: 0.6125 MB / 0.6441 GB, free: 13 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.569, allocations: 3.938 kB / 0.6441 GB, free: 13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/0.6166, allocations: 23.1 MB / 0.6666 GB, free: 6.082 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.03, allocations: 14.86 kB / 0.6666 GB, free: 6.07 MB / 478.1 MB " [Timeout remaining time 648] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.695050320005976]