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.001185/0.001185, allocations: 184 kB / 15.76 MB, free: 6.367 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.599/1.599, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001057/0.001057, allocations: 86.83 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09901, allocations: 58.85 MB / 490.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3282/0.4272, allocations: 99.42 MB / 0.5758 GB, free: 0.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4275, allocations: 78.89 kB / 0.5759 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.5485, allocations: 35.22 MB / 0.6103 GB, free: 1.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5485, allocations: 7.875 kB / 0.6103 GB, free: 1.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.838e-05/0.5486, allocations: 32 kB / 0.6103 GB, free: 1.793 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.006568/0.5552, allocations: 2.317 MB / 0.6126 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5552, allocations: 8.031 kB / 0.6126 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.5575, allocations: 391.8 kB / 0.613 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.5608, allocations: 1.146 MB / 0.6141 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.5609, allocations: 152.7 kB / 0.6143 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.5615, allocations: 188.6 kB / 0.6144 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.5715, allocations: 4.845 MB / 0.6192 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.5716, allocations: 11.88 kB / 0.6192 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.5718, allocations: 86.33 kB / 0.6193 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.5729, allocations: 0.5207 MB / 0.6198 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008854/0.5817, allocations: 3.865 MB / 0.6235 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02377/0.6055, allocations: 16.73 MB / 0.6399 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.6098, allocations: 1.274 MB / 0.6411 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005734/0.6156, allocations: 4.074 MB / 0.6451 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6157, allocations: 42.56 kB / 0.6451 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.6157, allocations: 0 / 0.6451 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.006115/0.6218, allocations: 1.791 MB / 0.6469 GB, free: 15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.622, allocations: 115.1 kB / 0.647 GB, free: 14.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.6242, allocations: 1.424 MB / 0.6484 GB, free: 13.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.6242, allocations: 33.7 kB / 0.6484 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.6251, allocations: 1.41 MB / 0.6498 GB, free: 11.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.6253, allocations: 178 kB / 0.65 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.6254, allocations: 44 kB / 0.65 GB, free: 11.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.6257, allocations: 463.3 kB / 0.6505 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.6264, allocations: 0.5042 MB / 0.6509 GB, free: 10.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.6282, allocations: 2.043 MB / 0.6529 GB, free: 7.945 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.6295, allocations: 0.9636 MB / 0.6539 GB, free: 6.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-05/0.6295, allocations: 16 kB / 0.6539 GB, free: 6.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003827/0.6333, allocations: 2.43 MB / 0.6563 GB, free: 4.527 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.6334, allocations: 31.44 kB / 0.6563 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.194e-05/0.6335, allocations: 56 kB / 0.6564 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.501e-05/0.6336, allocations: 80.81 kB / 0.6564 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.6352, allocations: 0.5536 MB / 0.657 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-05/0.6353, allocations: 111.5 kB / 0.6571 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.6368, allocations: 336.4 kB / 0.6574 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.637, allocations: 148 kB / 0.6575 GB, free: 3.227 MB / 458.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.001424/0.6384, allocations: 0.8633 MB / 0.6584 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.6386, allocations: 134.4 kB / 0.6585 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.6389, allocations: 157.6 kB / 0.6587 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6389, allocations: 4 kB / 0.6587 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6389, allocations: 0 / 0.6587 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6389, allocations: 7.984 kB / 0.6587 GB, free: 2.047 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.6434, allocations: 3.242 MB / 0.6618 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.6434, allocations: 12 kB / 0.6618 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.6437, allocations: 99.7 kB / 0.6619 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.6438, allocations: 16 kB / 0.662 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.6438, allocations: 24 kB / 0.662 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.6438, allocations: 19.94 kB / 0.662 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.6439, allocations: 15.94 kB / 0.662 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.6452, allocations: 1.572 MB / 0.6636 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.6456, allocations: 227.2 kB / 0.6638 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6457, allocations: 23.98 kB / 0.6638 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.6462, allocations: 27.98 kB / 0.6638 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.6463, allocations: 67.69 kB / 0.6639 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.6463, allocations: 28 kB / 0.6639 GB, free: 11.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001279/0.6476, allocations: 0.975 MB / 0.6649 GB, free: 10.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6476, allocations: 0 / 0.6649 GB, free: 10.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001905/0.6495, allocations: 497.9 kB / 0.6653 GB, free: 10.46 MB / 474.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.0002244/0.6497, allocations: 142.9 kB / 0.6655 GB, free: 10.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.6516, allocations: 1.249 MB / 0.6667 GB, free: 9.074 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6516, allocations: 4.062 kB / 0.6667 GB, free: 9.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.6519, allocations: 226.1 kB / 0.6669 GB, free: 8.852 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.6525, allocations: 177.7 kB / 0.6671 GB, free: 8.676 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.6582, allocations: 4.279 MB / 0.6713 GB, free: 4.207 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.6598, allocations: 1.745 MB / 0.673 GB, free: 2.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001618/0.6614, allocations: 0.6139 MB / 0.6736 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.6616, allocations: 95.44 kB / 0.6737 GB, free: 1.715 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6616, allocations: 0 / 0.6737 GB, free: 1.715 MB / 474.7 MB Notification: Performance of Templates: time 0.01979/0.6814, allocations: 9.726 MB / 0.6832 GB, free: 8 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/jenkins/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