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.00135/0.00135, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001453/0.001453, allocations: 212.3 kB / 20.75 MB, free: 2.312 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.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2293/0.2293, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 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 0.001999/0.001999, allocations: 67.89 kB / 0.4909 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01007/0.1337, allocations: 8.145 MB / 0.5633 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.139, allocations: 2.646 MB / 0.5659 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.1399, allocations: 39.88 kB / 0.566 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.1428, allocations: 1.312 MB / 0.5672 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1442, allocations: 469.7 kB / 0.5677 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1453, allocations: 411.1 kB / 0.5681 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1468, allocations: 1.036 MB / 0.5691 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.1483, allocations: 1.027 MB / 0.5701 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008898/0.1492, allocations: 0.5332 MB / 0.5706 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.1506, allocations: 0.8215 MB / 0.5714 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003411/0.151, allocations: 116 kB / 0.5715 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1521, allocations: 0.6084 MB / 0.5721 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008613/0.153, allocations: 0.7245 MB / 0.5728 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1542, allocations: 0.7959 MB / 0.5736 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.1575, allocations: 2.501 MB / 0.5761 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1575, allocations: 0 / 0.5761 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1575, allocations: 0 / 0.5761 GB, free: 0.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.275e-05/0.1576, allocations: 0 / 0.5761 GB, free: 0.543 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.005602/0.1632, allocations: 2.173 MB / 0.5782 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.1632, allocations: 12.03 kB / 0.5782 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006696/0.1639, allocations: 292.6 kB / 0.5785 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1652, allocations: 283.4 kB / 0.5787 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.1669, allocations: 0.8617 MB / 0.5796 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.167, allocations: 86.7 kB / 0.5797 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.1672, allocations: 131.9 kB / 0.5798 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009303/0.1765, allocations: 4.272 MB / 0.584 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.1766, allocations: 11.94 kB / 0.584 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.1769, allocations: 63.88 kB / 0.584 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001269/0.1782, allocations: 0.7249 MB / 0.5847 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008281/0.1865, allocations: 3.496 MB / 0.5882 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2519/0.4383, allocations: 14.26 MB / 0.6021 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.4426, allocations: 1.135 MB / 0.6032 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.4434, allocations: 0.5923 MB / 0.6038 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004869/0.4483, allocations: 3.705 MB / 0.6074 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4483, allocations: 39.5 kB / 0.6074 GB, free: 24.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.4483, allocations: 0 / 0.6074 GB, free: 24.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006481/0.4548, allocations: 1.771 MB / 0.6092 GB, free: 23.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.4548, allocations: 63.38 kB / 0.6092 GB, free: 23.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.4568, allocations: 1.476 MB / 0.6107 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.4569, allocations: 32.64 kB / 0.6107 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.4575, allocations: 1.242 MB / 0.6119 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4576, allocations: 183.8 kB / 0.6121 GB, free: 22.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.4581, allocations: 436.8 kB / 0.6125 GB, free: 21.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.4582, allocations: 352.5 kB / 0.6128 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.4588, allocations: 492 kB / 0.6133 GB, free: 21.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.46, allocations: 1.893 MB / 0.6151 GB, free: 19.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.462, allocations: 2.597 MB / 0.6177 GB, free: 16.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/0.462, allocations: 15.62 kB / 0.6177 GB, free: 16.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003192/0.4652, allocations: 2.268 MB / 0.6199 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.4653, allocations: 26.91 kB / 0.6199 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/0.4653, allocations: 50.66 kB / 0.62 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.339e-05/0.4654, allocations: 65.94 kB / 0.62 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4667, allocations: 497.1 kB / 0.6205 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.533e-05/0.4667, allocations: 101.2 kB / 0.6206 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.4681, allocations: 314.8 kB / 0.6209 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.4682, allocations: 133.7 kB / 0.621 GB, free: 15.5 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.0008535/0.4691, allocations: 0.7587 MB / 0.6218 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4692, allocations: 129.7 kB / 0.6219 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4695, allocations: 142.9 kB / 0.622 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4695, allocations: 7.469 kB / 0.6221 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4695, allocations: 5.031 kB / 0.6221 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4695, allocations: 1.781 kB / 0.6221 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.4728, allocations: 2.892 MB / 0.6249 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.4729, allocations: 15.75 kB / 0.6249 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.4731, allocations: 102.3 kB / 0.625 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.4731, allocations: 15.75 kB / 0.625 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4732, allocations: 27.62 kB / 0.625 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.4732, allocations: 21.56 kB / 0.6251 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.4732, allocations: 19.72 kB / 0.6251 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.4738, allocations: 0.8747 MB / 0.6259 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.4741, allocations: 228.4 kB / 0.6261 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4742, allocations: 21.83 kB / 0.6262 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.4746, allocations: 24.47 kB / 0.6262 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.4747, allocations: 71.52 kB / 0.6263 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4747, allocations: 34.73 kB / 0.6263 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.4759, allocations: 0.9061 MB / 0.6272 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4759, allocations: 0 / 0.6272 GB, free: 11.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001778/0.4777, allocations: 407.2 kB / 0.6276 GB, free: 11.46 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.0008704/0.4785, allocations: 1.46 MB / 0.629 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.4801, allocations: 1.174 MB / 0.6301 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4801, allocations: 4.25 kB / 0.6301 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.4803, allocations: 234.5 kB / 0.6304 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000987/0.4813, allocations: 207.2 kB / 0.6306 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.4967, allocations: 14.08 MB / 0.6443 GB, free: 9.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.4982, allocations: 1.527 MB / 0.6458 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001408/0.4996, allocations: 0.5738 MB / 0.6464 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.5004, allocations: 0.6125 MB / 0.647 GB, free: 6.367 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5004, allocations: 0 / 0.647 GB, free: 6.367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.5607, allocations: 23.07 MB / 0.6695 GB, free: 15.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.86, allocations: 9.5 kB / 0.6695 GB, free: 15.47 MB / 494.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/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: 15.084819259122014]