Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008317/0.0008317, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008668/0.0008668, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8951/0.8951, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 34.24 MB / 294.8 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.164e-05, allocations: 6.219 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.1656/0.1656, allocations: 7.175 MB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1687, allocations: 2.507 MB / 451.8 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.1691, allocations: 41.06 kB / 451.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.1704, allocations: 1.314 MB / 453.2 MB, free: 38.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.171, allocations: 495.3 kB / 453.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1715, allocations: 450.2 kB / 454.1 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.1721, allocations: 1.067 MB / 455.2 MB, free: 37.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.1727, allocations: 0.991 MB / 456.2 MB, free: 37.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.1732, allocations: 0.7548 MB / 456.9 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.1738, allocations: 0.728 MB / 457.7 MB, free: 36.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.1739, allocations: 119.9 kB / 457.8 MB, free: 36.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.1744, allocations: 0.5954 MB / 458.4 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.1747, allocations: 0.7465 MB / 459.1 MB, free: 36.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.175, allocations: 468.4 kB / 459.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1762, allocations: 2.528 MB / 462.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1762, allocations: 0 / 462.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1762, allocations: 3.375 kB / 462.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.1762, allocations: 0 / 462.1 MB, free: 34.91 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.002215/0.1785, allocations: 2.079 MB / 464.2 MB, free: 33.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1785, allocations: 9.5 kB / 464.2 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/0.1787, allocations: 290.6 kB / 464.5 MB, free: 33.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.1792, allocations: 287.8 kB / 464.8 MB, free: 33.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/0.18, allocations: 0.7859 MB / 465.6 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.1801, allocations: 99.31 kB / 465.7 MB, free: 32.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1802, allocations: 120.7 kB / 465.8 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.1838, allocations: 4.338 MB / 470.1 MB, free: 31.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1839, allocations: 15.38 kB / 470.1 MB, free: 31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.184, allocations: 52.95 kB / 470.2 MB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000511/0.1845, allocations: 0.7263 MB / 470.9 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/0.1883, allocations: 3.504 MB / 474.4 MB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009601/0.1979, allocations: 13.71 MB / 488.1 MB, free: 20.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.2004, allocations: 1.239 MB / 489.4 MB, free: 20.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.2009, allocations: 0.5975 MB / 490 MB, free: 20.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003138/0.2041, allocations: 2.678 MB / 492.6 MB, free: 19.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2041, allocations: 37.64 kB / 492.7 MB, free: 19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.2041, allocations: 5.375 kB / 492.7 MB, free: 19 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.003907/0.208, allocations: 1.942 MB / 494.6 MB, free: 18.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.208, allocations: 67.53 kB / 494.7 MB, free: 18.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.2096, allocations: 1.566 MB / 496.2 MB, free: 17.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2096, allocations: 35.39 kB / 496.3 MB, free: 17.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.2101, allocations: 1.224 MB / 497.5 MB, free: 16.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.2102, allocations: 182.1 kB / 497.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.2105, allocations: 433.1 kB / 498.1 MB, free: 16.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.2106, allocations: 362.5 kB / 498.5 MB, free: 16.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.2111, allocations: 489.8 kB / 498.9 MB, free: 16.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.2122, allocations: 1.888 MB / 0.4891 GB, free: 13.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.2138, allocations: 2.604 MB / 0.4916 GB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.2138, allocations: 14.97 kB / 0.4916 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002375/0.2162, allocations: 2.262 MB / 0.4939 GB, free: 10.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.2162, allocations: 27.47 kB / 0.4939 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/0.2163, allocations: 50 kB / 0.4939 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.06e-05/0.2163, allocations: 67.61 kB / 0.494 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.2171, allocations: 495.3 kB / 0.4945 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-05/0.2172, allocations: 101.4 kB / 0.4946 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.2181, allocations: 320 kB / 0.4949 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.2182, allocations: 130.9 kB / 0.495 GB, free: 10.25 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.0008416/0.2191, allocations: 0.7626 MB / 0.4957 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.2192, allocations: 131.2 kB / 0.4959 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2193, allocations: 145.6 kB / 0.496 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2193, allocations: 3.656 kB / 0.496 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.2193, allocations: 9.922 kB / 0.496 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2193, allocations: 1.969 kB / 0.496 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.2219, allocations: 2.787 MB / 0.4987 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2219, allocations: 12.38 kB / 0.4987 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2221, allocations: 99.14 kB / 0.4988 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.2221, allocations: 15.34 kB / 0.4989 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2221, allocations: 24.45 kB / 0.4989 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.2221, allocations: 27.67 kB / 0.4989 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.2221, allocations: 21.31 kB / 0.4989 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.2227, allocations: 0.8596 MB / 0.4998 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2228, allocations: 149.9 kB / 0.4999 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.2229, allocations: 32.95 kB / 0.4999 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2231, allocations: 31.33 kB / 0.5 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2231, allocations: 68.91 kB / 0.5 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2232, allocations: 28 kB / 0.5001 GB, free: 7.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007115/0.2239, allocations: 0.9042 MB / 0.5009 GB, free: 6.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2239, allocations: 0 / 0.5009 GB, free: 6.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001078/0.2249, allocations: 410.9 kB / 0.5013 GB, free: 6.047 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.0005889/0.2255, allocations: 1.433 MB / 0.5027 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.2266, allocations: 1.167 MB / 0.5039 GB, free: 3.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2266, allocations: 8.375 kB / 0.5039 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2267, allocations: 231.7 kB / 0.5041 GB, free: 3.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.2274, allocations: 199.6 kB / 0.5043 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.2385, allocations: 13.95 MB / 0.5179 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.2393, allocations: 0.9454 MB / 0.5188 GB, free: 2.984 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008112/0.2401, allocations: 0.5738 MB / 0.5194 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.2405, allocations: 0.6175 MB / 0.52 GB, free: 1.789 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2405, allocations: 0 / 0.52 GB, free: 1.789 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.2735, allocations: 23.6 MB / 0.5431 GB, free: 10.53 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.514, allocations: 0 / 0.5431 GB, free: 10.53 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.648763624951243]