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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00093/0.00093, allocations: 102.9 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.187/0.187, allocations: 45.14 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.638e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09584, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5061, allocations: 101.1 MB / 0.6031 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.5063, allocations: 75.72 kB / 0.6032 GB, free: 1.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07368/0.58, allocations: 30.04 MB / 0.6325 GB, free: 7.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5801, allocations: 0 / 0.6325 GB, free: 7.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.32e-05/0.5802, allocations: 36 kB / 0.6325 GB, free: 7.828 MB / 426.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.006054/0.5862, allocations: 1.997 MB / 0.6345 GB, free: 5.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.5863, allocations: 8.031 kB / 0.6345 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.5887, allocations: 325.2 kB / 0.6348 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.5916, allocations: 1.046 MB / 0.6358 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.353e-05/0.5917, allocations: 55.94 kB / 0.6359 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/0.5922, allocations: 88 kB / 0.636 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00356/0.5958, allocations: 2.397 MB / 0.6383 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004375/0.6002, allocations: 3.267 MB / 0.6415 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.6003, allocations: 11.94 kB / 0.6415 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.6004, allocations: 8 kB / 0.6415 GB, free: 332 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/0.601, allocations: 420.5 kB / 0.6419 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.6163, allocations: 13.83 MB / 0.6554 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6174, allocations: 0.7967 MB / 0.6562 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.6181, allocations: 0.6425 MB / 0.6568 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004206/0.6223, allocations: 3.178 MB / 0.6599 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6224, allocations: 42.55 kB / 0.66 GB, free: 15.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.6224, allocations: 4 kB / 0.66 GB, free: 15.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.003117/0.6255, allocations: 1.036 MB / 0.661 GB, free: 14.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6256, allocations: 55.41 kB / 0.661 GB, free: 13.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.6271, allocations: 1.196 MB / 0.6622 GB, free: 12.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.6271, allocations: 25.7 kB / 0.6622 GB, free: 12.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/0.6278, allocations: 1.251 MB / 0.6634 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/0.6279, allocations: 126.6 kB / 0.6636 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.628, allocations: 4 kB / 0.6636 GB, free: 11.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6282, allocations: 439 kB / 0.664 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.6287, allocations: 428.2 kB / 0.6644 GB, free: 10.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.6301, allocations: 1.856 MB / 0.6662 GB, free: 7.887 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.6311, allocations: 0.8519 MB / 0.667 GB, free: 7.035 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.6311, allocations: 16 kB / 0.6671 GB, free: 7.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002605/0.6337, allocations: 1.93 MB / 0.6689 GB, free: 5.086 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.6338, allocations: 28 kB / 0.669 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/0.6338, allocations: 52.88 kB / 0.669 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-05/0.6339, allocations: 76 kB / 0.6691 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.6353, allocations: 0.4951 MB / 0.6696 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-05/0.6353, allocations: 103.6 kB / 0.6697 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.6366, allocations: 260.9 kB / 0.6699 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6367, allocations: 136 kB / 0.67 GB, free: 3.945 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.637, allocations: 252.8 kB / 0.6703 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6371, allocations: 114.6 kB / 0.6704 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.6373, allocations: 122.8 kB / 0.6705 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6373, allocations: 7.938 kB / 0.6705 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6373, allocations: 0 / 0.6705 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6373, allocations: 0 / 0.6705 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.6401, allocations: 2.14 MB / 0.6726 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.6401, allocations: 8 kB / 0.6726 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.6404, allocations: 72.69 kB / 0.6727 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.6404, allocations: 12 kB / 0.6727 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6404, allocations: 16 kB / 0.6727 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.6404, allocations: 15.92 kB / 0.6727 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6405, allocations: 11.94 kB / 0.6727 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.6413, allocations: 1.124 MB / 0.6738 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.6415, allocations: 195.5 kB / 0.674 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6416, allocations: 12 kB / 0.674 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.642, allocations: 15.98 kB / 0.6741 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.642, allocations: 47.81 kB / 0.6741 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6421, allocations: 19.94 kB / 0.6741 GB, free: 15.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008782/0.6429, allocations: 0.7824 MB / 0.6749 GB, free: 14.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6429, allocations: 4 kB / 0.6749 GB, free: 14.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00148/0.6444, allocations: 378.3 kB / 0.6752 GB, free: 14.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.6446, allocations: 115 kB / 0.6754 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.6459, allocations: 1.031 MB / 0.6764 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6459, allocations: 0 / 0.6764 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.6461, allocations: 170.9 kB / 0.6765 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.6467, allocations: 152.1 kB / 0.6767 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.65, allocations: 2.295 MB / 0.6789 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.6513, allocations: 1.559 MB / 0.6804 GB, free: 8.684 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001304/0.6526, allocations: 0.5613 MB / 0.681 GB, free: 8.117 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6528, allocations: 79.44 kB / 0.6811 GB, free: 8.039 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6528, allocations: 3.938 kB / 0.6811 GB, free: 8.035 MB / 474.7 MB Notification: Performance of Templates: time 0.0139/0.6667, allocations: 7.416 MB / 0.6883 GB, free: 0.6406 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches