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.001082/0.001082, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008696/0.0008695, allocations: 101 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2978, allocations: 63.24 MB / 0.5192 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.409, allocations: 101.8 MB / 0.6186 GB, free: 3.785 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001611/0.4091, allocations: 84.52 kB / 0.6187 GB, free: 3.703 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07395/0.4831, allocations: 30.65 MB / 0.6486 GB, free: 4.926 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4831, allocations: 0 / 0.6486 GB, free: 4.926 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.885e-05/0.4832, allocations: 32 kB / 0.6487 GB, free: 4.895 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.005746/0.489, allocations: 2.11 MB / 0.6507 GB, free: 2.727 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.489, allocations: 12.03 kB / 0.6507 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.4906, allocations: 325.2 kB / 0.6511 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.493, allocations: 1.041 MB / 0.6521 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.4932, allocations: 119.2 kB / 0.6522 GB, free: 1.191 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.4936, allocations: 163.9 kB / 0.6523 GB, free: 1.031 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007788/0.5014, allocations: 4.272 MB / 0.6565 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.5014, allocations: 11.88 kB / 0.6565 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.5017, allocations: 71.97 kB / 0.6566 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005233/0.5022, allocations: 418.5 kB / 0.657 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.5092, allocations: 3.582 MB / 0.6605 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.5265, allocations: 14.54 MB / 0.6747 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.5303, allocations: 1.217 MB / 0.6759 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004844/0.5352, allocations: 3.737 MB / 0.6795 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5352, allocations: 38.91 kB / 0.6796 GB, free: 4.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.5352, allocations: 0 / 0.6796 GB, free: 4.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.005836/0.5411, allocations: 1.78 MB / 0.6813 GB, free: 2.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5411, allocations: 59.34 kB / 0.6814 GB, free: 2.395 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.5433, allocations: 1.317 MB / 0.6826 GB, free: 1.066 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.5434, allocations: 37.7 kB / 0.6827 GB, free: 1.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008991/0.5443, allocations: 1.186 MB / 0.6838 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.5445, allocations: 170 kB / 0.684 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.5446, allocations: 47.94 kB / 0.684 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002473/0.5448, allocations: 446.9 kB / 0.6845 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.5455, allocations: 479.9 kB / 0.6849 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.5473, allocations: 1.878 MB / 0.6868 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5486, allocations: 0.8899 MB / 0.6876 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.5487, allocations: 15.94 kB / 0.6876 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003218/0.5519, allocations: 2.243 MB / 0.6898 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.5519, allocations: 30.34 kB / 0.6899 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.938e-05/0.552, allocations: 52 kB / 0.6899 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.597e-05/0.5521, allocations: 72.75 kB / 0.69 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.5533, allocations: 495 kB / 0.6905 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.041e-05/0.5534, allocations: 107.6 kB / 0.6906 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5546, allocations: 296.8 kB / 0.6908 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.5548, allocations: 132 kB / 0.691 GB, free: 7.766 MB / 0.4948 GB 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.001019/0.5558, allocations: 0.762 MB / 0.6917 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.556, allocations: 126.4 kB / 0.6918 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.5562, allocations: 140.5 kB / 0.692 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5562, allocations: 4 kB / 0.692 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5562, allocations: 3.984 kB / 0.692 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5562, allocations: 0 / 0.692 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.5601, allocations: 2.84 MB / 0.6947 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.5602, allocations: 12 kB / 0.6948 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.5604, allocations: 99.95 kB / 0.6949 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.5605, allocations: 16 kB / 0.6949 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.5605, allocations: 27.95 kB / 0.6949 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.5605, allocations: 19.92 kB / 0.6949 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.5605, allocations: 19.94 kB / 0.6949 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5617, allocations: 1.507 MB / 0.6964 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.562, allocations: 215.4 kB / 0.6966 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5622, allocations: 23.98 kB / 0.6966 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.5626, allocations: 24 kB / 0.6967 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.5627, allocations: 71.67 kB / 0.6967 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.5627, allocations: 28 kB / 0.6968 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001058/0.5638, allocations: 0.9053 MB / 0.6976 GB, free: 140 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5638, allocations: 0 / 0.6976 GB, free: 140 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.2122/0.7759, allocations: 400 kB / 0.698 GB, free: 121.1 MB / 0.4948 GB 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.0002403/0.7762, allocations: 132.8 kB / 0.6981 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.7783, allocations: 1.171 MB / 0.6993 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7783, allocations: 3 kB / 0.6993 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.7786, allocations: 222.9 kB / 0.6995 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.7795, allocations: 193.4 kB / 0.6997 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.7855, allocations: 3.672 MB / 0.7033 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.7872, allocations: 1.557 MB / 0.7048 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001547/0.7888, allocations: 0.5668 MB / 0.7053 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.789, allocations: 93.02 kB / 0.7054 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.789, allocations: 0 / 0.7054 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.01567/0.8047, allocations: 9.094 MB / 0.7143 GB, free: 118 MB / 0.4948 GB 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