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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.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.2181/0.2181, allocations: 44.92 MB / 349.6 MB, free: 1.707 MB / 270.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.64 kB / 491.8 MB, free: 30.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 64.26 MB / 0.543 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01014/0.1154, allocations: 8.17 MB / 0.551 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.1208, allocations: 2.611 MB / 0.5535 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009881/0.1218, allocations: 35.94 kB / 0.5536 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.1244, allocations: 1.289 MB / 0.5548 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1257, allocations: 481.6 kB / 0.5553 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1266, allocations: 415.1 kB / 0.5557 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.128, allocations: 1.056 MB / 0.5567 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1293, allocations: 1.027 MB / 0.5577 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.1299, allocations: 0.5294 MB / 0.5582 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.131, allocations: 0.8215 MB / 0.559 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.1312, allocations: 116 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.1322, allocations: 0.6084 MB / 0.5597 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007119/0.1329, allocations: 0.7284 MB / 0.5605 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.1337, allocations: 0.8036 MB / 0.5612 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.1364, allocations: 2.517 MB / 0.5637 GB, free: 14.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1364, allocations: 7.938 kB / 0.5637 GB, free: 14.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1364, allocations: 0 / 0.5637 GB, free: 14.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.1365, allocations: 0 / 0.5637 GB, free: 14.76 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.004283/0.1407, allocations: 2.181 MB / 0.5658 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1408, allocations: 12.03 kB / 0.5658 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003558/0.1411, allocations: 292.5 kB / 0.5661 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1422, allocations: 287.4 kB / 0.5664 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.1439, allocations: 0.8463 MB / 0.5672 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.144, allocations: 94.69 kB / 0.5673 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.1443, allocations: 119.9 kB / 0.5674 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007854/0.1521, allocations: 4.28 MB / 0.5716 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.1522, allocations: 11.88 kB / 0.5716 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.1523, allocations: 55.95 kB / 0.5717 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001095/0.1534, allocations: 0.7249 MB / 0.5724 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/0.1611, allocations: 3.5 MB / 0.5758 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.1812, allocations: 14.26 MB / 0.5897 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.1854, allocations: 1.146 MB / 0.5908 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.1863, allocations: 0.5959 MB / 0.5914 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006293/0.1926, allocations: 3.696 MB / 0.595 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1926, allocations: 38.83 kB / 0.5951 GB, free: 13.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.1926, allocations: 0 / 0.5951 GB, free: 13.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006406/0.199, allocations: 1.765 MB / 0.5968 GB, free: 11.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1991, allocations: 63.33 kB / 0.5969 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.2012, allocations: 1.496 MB / 0.5983 GB, free: 10.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.2012, allocations: 29.7 kB / 0.5983 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/0.2021, allocations: 1.245 MB / 0.5996 GB, free: 8.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.2023, allocations: 178.7 kB / 0.5997 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/0.2028, allocations: 443.5 kB / 0.6002 GB, free: 8.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.203, allocations: 353.9 kB / 0.6005 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.2037, allocations: 491.9 kB / 0.601 GB, free: 7.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.2056, allocations: 1.894 MB / 0.6028 GB, free: 4.902 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.2088, allocations: 2.597 MB / 0.6053 GB, free: 1.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/0.2088, allocations: 12 kB / 0.6054 GB, free: 1.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.2239/0.4327, allocations: 2.266 MB / 0.6076 GB, free: 58.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.4328, allocations: 32.94 kB / 0.6076 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.397e-05/0.4328, allocations: 51.62 kB / 0.6077 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.619e-05/0.4329, allocations: 66 kB / 0.6077 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.4343, allocations: 495.8 kB / 0.6082 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.48e-05/0.4344, allocations: 98.89 kB / 0.6083 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4358, allocations: 313.1 kB / 0.6086 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.4359, allocations: 134.4 kB / 0.6087 GB, free: 58.22 MB / 462.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.0009892/0.4369, allocations: 0.7571 MB / 0.6094 GB, free: 58.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.4371, allocations: 129.9 kB / 0.6096 GB, free: 58.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.4373, allocations: 140.8 kB / 0.6097 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4374, allocations: 6.047 kB / 0.6097 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4374, allocations: 3.531 kB / 0.6097 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4374, allocations: 2.109 kB / 0.6097 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.4414, allocations: 2.892 MB / 0.6125 GB, free: 57.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.4414, allocations: 11.03 kB / 0.6126 GB, free: 57.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.4417, allocations: 103.4 kB / 0.6127 GB, free: 57.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/0.4417, allocations: 18.62 kB / 0.6127 GB, free: 57.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4418, allocations: 25.41 kB / 0.6127 GB, free: 57.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-05/0.4418, allocations: 21.69 kB / 0.6127 GB, free: 57.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/0.4418, allocations: 21.16 kB / 0.6127 GB, free: 57.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.4427, allocations: 0.8848 MB / 0.6136 GB, free: 56.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.443, allocations: 220.5 kB / 0.6138 GB, free: 56.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.4431, allocations: 31.86 kB / 0.6138 GB, free: 56.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.4435, allocations: 21.67 kB / 0.6139 GB, free: 56.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.4436, allocations: 78.14 kB / 0.6139 GB, free: 56.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.4437, allocations: 24.95 kB / 0.614 GB, free: 56.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.4449, allocations: 0.914 MB / 0.6149 GB, free: 55.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4449, allocations: 3.938 kB / 0.6149 GB, free: 55.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4467, allocations: 415.6 kB / 0.6153 GB, free: 55.86 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.001074/0.4478, allocations: 1.456 MB / 0.6167 GB, free: 54.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.4498, allocations: 1.165 MB / 0.6178 GB, free: 54.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.4498, allocations: 2.969 kB / 0.6178 GB, free: 54.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.4501, allocations: 233.3 kB / 0.618 GB, free: 54.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4513, allocations: 203.9 kB / 0.6182 GB, free: 54.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.4683, allocations: 14.1 MB / 0.632 GB, free: 43.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.4696, allocations: 1.529 MB / 0.6335 GB, free: 43.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001313/0.471, allocations: 0.5796 MB / 0.6341 GB, free: 43.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.4716, allocations: 0.6159 MB / 0.6347 GB, free: 42.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4716, allocations: 0 / 0.6347 GB, free: 42.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04445/0.516, allocations: 23.13 MB / 0.6572 GB, free: 22.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.24, allocations: 6.719 kB / 0.6573 GB, free: 22.88 MB / 462.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.481160067021847]