Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 176.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007395, allocations: 84.8 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3429/0.3429, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 12 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4788, allocations: 99.52 MB / 0.5771 GB, free: 2.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4791, allocations: 82.48 kB / 0.5772 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09168/0.5708, allocations: 34.92 MB / 0.6113 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5709, allocations: 0 / 0.6113 GB, free: 15.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.571, allocations: 39.98 kB / 0.6114 GB, free: 15.01 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.006291/0.5773, allocations: 2.197 MB / 0.6135 GB, free: 12.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5774, allocations: 12.02 kB / 0.6135 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.5796, allocations: 385.7 kB / 0.6139 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.5823, allocations: 1.175 MB / 0.615 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.5825, allocations: 144.2 kB / 0.6152 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006256/0.5831, allocations: 192.3 kB / 0.6153 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.5943, allocations: 4.786 MB / 0.62 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.262e-05/0.5944, allocations: 8.125 kB / 0.62 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/0.5949, allocations: 95.83 kB / 0.6201 GB, free: 5.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.5959, allocations: 0.519 MB / 0.6206 GB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009046/0.605, allocations: 3.787 MB / 0.6243 GB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.6309, allocations: 16.68 MB / 0.6406 GB, free: 252 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.6355, allocations: 1.274 MB / 0.6419 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6366, allocations: 0.7027 MB / 0.6425 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006077/0.6427, allocations: 4.023 MB / 0.6465 GB, free: 9.953 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6428, allocations: 46.44 kB / 0.6465 GB, free: 9.898 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 3.126e-06/0.6428, allocations: 0 / 0.6465 GB, free: 9.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.006086/0.6489, allocations: 1.794 MB / 0.6483 GB, free: 8.094 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.649, allocations: 110.8 kB / 0.6484 GB, free: 7.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.6522, allocations: 1.596 MB / 0.6499 GB, free: 6.355 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.6522, allocations: 29.7 kB / 0.65 GB, free: 6.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6533, allocations: 1.402 MB / 0.6513 GB, free: 4.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.6535, allocations: 178 kB / 0.6515 GB, free: 4.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.6536, allocations: 52.19 kB / 0.6515 GB, free: 4.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.6539, allocations: 463.4 kB / 0.652 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/0.6548, allocations: 0.5042 MB / 0.6525 GB, free: 3.699 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.6569, allocations: 2.055 MB / 0.6545 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.6602, allocations: 2.807 MB / 0.6572 GB, free: 13.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.6603, allocations: 16 kB / 0.6572 GB, free: 13.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004444/0.6647, allocations: 2.426 MB / 0.6596 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.6648, allocations: 28 kB / 0.6596 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.909e-05/0.6649, allocations: 56.91 kB / 0.6597 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.067e-05/0.665, allocations: 72 kB / 0.6598 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.6666, allocations: 0.5536 MB / 0.6603 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.6667, allocations: 115.5 kB / 0.6604 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6684, allocations: 332.4 kB / 0.6607 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.6687, allocations: 148 kB / 0.6609 GB, free: 9.523 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.001603/0.6703, allocations: 0.8634 MB / 0.6617 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.6706, allocations: 134.2 kB / 0.6618 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.671, allocations: 153.6 kB / 0.662 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.671, allocations: 4 kB / 0.662 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.671, allocations: 3.938 kB / 0.662 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.671, allocations: 7.984 kB / 0.662 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/0.677, allocations: 3.234 MB / 0.6652 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.677, allocations: 12 kB / 0.6652 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.6774, allocations: 99.77 kB / 0.6653 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.6774, allocations: 16.09 kB / 0.6653 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.6774, allocations: 31.92 kB / 0.6653 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/0.6774, allocations: 19.94 kB / 0.6653 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/0.6775, allocations: 15.94 kB / 0.6654 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.6785, allocations: 0.8503 MB / 0.6662 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.679, allocations: 231.1 kB / 0.6664 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.6792, allocations: 31.92 kB / 0.6664 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.6797, allocations: 23.98 kB / 0.6665 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.6798, allocations: 71.7 kB / 0.6665 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.6799, allocations: 24 kB / 0.6665 GB, free: 3.289 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.6814, allocations: 0.975 MB / 0.6675 GB, free: 2.316 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6814, allocations: 0 / 0.6675 GB, free: 2.316 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00235/0.6837, allocations: 490 kB / 0.668 GB, free: 1.836 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (50): * Single equations (assignments): 50 * 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.0002829/0.684, allocations: 142.9 kB / 0.6681 GB, free: 1.688 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.6864, allocations: 1.256 MB / 0.6693 GB, free: 452 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.6864, allocations: 0 / 0.6693 GB, free: 452 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.6867, allocations: 226.5 kB / 0.6695 GB, free: 228 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.6898, allocations: 193.2 kB / 0.6697 GB, free: 36 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.208/0.8978, allocations: 4.291 MB / 0.6739 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.9005, allocations: 1.699 MB / 0.6756 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002082/0.9026, allocations: 0.6142 MB / 0.6762 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.9029, allocations: 97.84 kB / 0.6763 GB, free: 118.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/0.9029, allocations: 1.312 kB / 0.6763 GB, free: 118.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02249/0.9254, allocations: 9.794 MB / 0.6858 GB, free: 118 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches