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.001623/0.001623, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 226.5 MB / 245.4 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008115/0.0008114, allocations: 107.5 kB / 297.5 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3133/0.3133, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3636, allocations: 62.97 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4876, allocations: 101.8 MB / 0.6178 GB, free: 3.562 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4879, allocations: 83.94 kB / 0.6179 GB, free: 3.484 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07532/0.5632, allocations: 30.4 MB / 0.6476 GB, free: 4.875 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5632, allocations: 0 / 0.6476 GB, free: 4.875 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.832e-05/0.5633, allocations: 28 kB / 0.6476 GB, free: 4.848 MB / 458.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.004445/0.5678, allocations: 2.001 MB / 0.6496 GB, free: 2.785 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5678, allocations: 8.031 kB / 0.6496 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.5692, allocations: 326.2 kB / 0.6499 GB, free: 2.457 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.5715, allocations: 1.061 MB / 0.6509 GB, free: 1.352 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5716, allocations: 127.6 kB / 0.651 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.5721, allocations: 160.3 kB / 0.6512 GB, free: 1.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0079/0.58, allocations: 4.191 MB / 0.6553 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/0.5801, allocations: 12.12 kB / 0.6553 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.5803, allocations: 83.83 kB / 0.6554 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005283/0.5809, allocations: 414.5 kB / 0.6558 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006588/0.5875, allocations: 3.508 MB / 0.6592 GB, free: 8.602 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.606, allocations: 14.49 MB / 0.6733 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.6101, allocations: 1.217 MB / 0.6745 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008754/0.611, allocations: 0.6897 MB / 0.6752 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00492/0.6159, allocations: 3.671 MB / 0.6788 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.616, allocations: 42.92 kB / 0.6788 GB, free: 3.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.616, allocations: 0 / 0.6788 GB, free: 3.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.005551/0.6215, allocations: 1.772 MB / 0.6806 GB, free: 2.066 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6216, allocations: 63.34 kB / 0.6806 GB, free: 1.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.6237, allocations: 1.484 MB / 0.6821 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.6237, allocations: 33.7 kB / 0.6821 GB, free: 464 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2155/0.8392, allocations: 1.183 MB / 0.6833 GB, free: 119.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.8396, allocations: 172.4 kB / 0.6834 GB, free: 119 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.8397, allocations: 42.16 kB / 0.6835 GB, free: 119 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003101/0.84, allocations: 446.2 kB / 0.6839 GB, free: 118.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.841, allocations: 478.1 kB / 0.6843 GB, free: 118.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.8423, allocations: 1.886 MB / 0.6862 GB, free: 116.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.8443, allocations: 2.581 MB / 0.6887 GB, free: 115 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.8443, allocations: 14.09 kB / 0.6887 GB, free: 115 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002692/0.847, allocations: 2.246 MB / 0.6909 GB, free: 114.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.847, allocations: 27.31 kB / 0.6909 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/0.8471, allocations: 57.55 kB / 0.691 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.798e-05/0.8472, allocations: 67.09 kB / 0.6911 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.8483, allocations: 489.4 kB / 0.6915 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-05/0.8484, allocations: 103.7 kB / 0.6916 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.8495, allocations: 306.4 kB / 0.6919 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.8496, allocations: 131 kB / 0.692 GB, free: 114.5 MB / 490.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,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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009145/0.8505, allocations: 0.7569 MB / 0.6928 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.8506, allocations: 125.2 kB / 0.6929 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.8508, allocations: 149.1 kB / 0.693 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8508, allocations: 2.938 kB / 0.693 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8509, allocations: 3.75 kB / 0.693 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8509, allocations: 3.281 kB / 0.6931 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.8537, allocations: 2.836 MB / 0.6958 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.567e-06/0.8537, allocations: 12.06 kB / 0.6958 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.854, allocations: 98.64 kB / 0.6959 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.854, allocations: 17.47 kB / 0.6959 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.854, allocations: 27.91 kB / 0.696 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.854, allocations: 25.39 kB / 0.696 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.8541, allocations: 15.59 kB / 0.696 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.8546, allocations: 0.8401 MB / 0.6968 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.8548, allocations: 215.5 kB / 0.697 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8549, allocations: 31.83 kB / 0.6971 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.8553, allocations: 23.53 kB / 0.6971 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.8554, allocations: 62.73 kB / 0.6971 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.8554, allocations: 27.09 kB / 0.6972 GB, free: 112.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009091/0.8563, allocations: 0.9026 MB / 0.6981 GB, free: 112.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8563, allocations: 0 / 0.6981 GB, free: 112.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001442/0.8578, allocations: 409.4 kB / 0.6984 GB, free: 112.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (49): * Single equations (assignments): 49 * 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.0001715/0.858, allocations: 133.1 kB / 0.6986 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.8594, allocations: 1.167 MB / 0.6997 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8594, allocations: 2 kB / 0.6997 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.8597, allocations: 225.8 kB / 0.6999 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.8624, allocations: 199.4 kB / 0.7001 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.8665, allocations: 3.694 MB / 0.7037 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.8676, allocations: 1.531 MB / 0.7052 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001457/0.8691, allocations: 0.5722 MB / 0.7058 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.8692, allocations: 84.91 kB / 0.7059 GB, free: 108.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8692, allocations: 1.031 kB / 0.7059 GB, free: 108.8 MB / 490.7 MB Notification: Performance of Templates: time 0.01921/0.8884, allocations: 9.148 MB / 0.7148 GB, free: 108.3 MB / 490.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/jenkins1/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