Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009645, allocations: 96.64 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.319e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.5447, allocations: 100 MB / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.545, allocations: 75.34 kB / 0.5924 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07609/0.6211, allocations: 29.98 MB / 0.6217 GB, free: 14.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6212, allocations: 0 / 0.6217 GB, free: 14.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.684e-05/0.6212, allocations: 36 kB / 0.6217 GB, free: 14.18 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004046/0.6253, allocations: 1.993 MB / 0.6237 GB, free: 12.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6253, allocations: 15.98 kB / 0.6237 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6267, allocations: 321.2 kB / 0.624 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.6287, allocations: 1.047 MB / 0.625 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.6288, allocations: 52 kB / 0.6251 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.6291, allocations: 92 kB / 0.6252 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0034/0.6325, allocations: 2.393 MB / 0.6275 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/0.6366, allocations: 3.273 MB / 0.6307 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.6367, allocations: 7.938 kB / 0.6307 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.6368, allocations: 7.938 kB / 0.6307 GB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005891/0.6374, allocations: 414.6 kB / 0.6311 GB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.6569, allocations: 13.84 MB / 0.6446 GB, free: 6.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.659, allocations: 0.8066 MB / 0.6454 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.6605, allocations: 0.6465 MB / 0.6461 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007109/0.6676, allocations: 3.178 MB / 0.6492 GB, free: 1.176 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.6677, allocations: 34.56 kB / 0.6492 GB, free: 1.133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 4.549e-06/0.6677, allocations: 0 / 0.6492 GB, free: 1.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.006375/0.6741, allocations: 1.038 MB / 0.6502 GB, free: 88 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.6742, allocations: 59.41 kB / 0.6503 GB, free: 16 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.6769, allocations: 1.189 MB / 0.6514 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.677, allocations: 29.64 kB / 0.6514 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6783, allocations: 1.251 MB / 0.6527 GB, free: 13.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.6785, allocations: 134.6 kB / 0.6528 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.6786, allocations: 0 / 0.6528 GB, free: 13.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003238/0.6789, allocations: 431 kB / 0.6532 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.68, allocations: 436.1 kB / 0.6536 GB, free: 12.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.6823, allocations: 1.852 MB / 0.6554 GB, free: 9.934 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.6841, allocations: 0.8519 MB / 0.6563 GB, free: 9.082 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.6842, allocations: 16 kB / 0.6563 GB, free: 9.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004842/0.689, allocations: 1.934 MB / 0.6582 GB, free: 7.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.6891, allocations: 33.36 kB / 0.6582 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.14e-05/0.6892, allocations: 52 kB / 0.6583 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.6894, allocations: 76 kB / 0.6583 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.6917, allocations: 0.4951 MB / 0.6588 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001108/0.6918, allocations: 103.6 kB / 0.6589 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.694, allocations: 253.2 kB / 0.6591 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.6942, allocations: 140 kB / 0.6593 GB, free: 5.988 MB / 474.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.0003681/0.6946, allocations: 244.9 kB / 0.6595 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6948, allocations: 110.6 kB / 0.6596 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.6951, allocations: 126.8 kB / 0.6597 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6952, allocations: 4 kB / 0.6597 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6952, allocations: 0 / 0.6597 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6952, allocations: 11.92 kB / 0.6598 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.6988, allocations: 2.137 MB / 0.6618 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.6988, allocations: 8 kB / 0.6619 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.6991, allocations: 71.84 kB / 0.6619 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.6991, allocations: 12 kB / 0.6619 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6992, allocations: 8 kB / 0.6619 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.6992, allocations: 15.94 kB / 0.662 GB, free: 3.086 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/0.6992, allocations: 11.94 kB / 0.662 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.7002, allocations: 1.132 MB / 0.6631 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.7005, allocations: 203.5 kB / 0.6633 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7006, allocations: 11.95 kB / 0.6633 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.701, allocations: 23.97 kB / 0.6633 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.7011, allocations: 47.8 kB / 0.6633 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.7011, allocations: 20 kB / 0.6634 GB, free: 1.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.7023, allocations: 0.7785 MB / 0.6641 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7023, allocations: 0 / 0.6641 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002083/0.7044, allocations: 374.3 kB / 0.6645 GB, free: 208 kB / 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.0001995/0.7046, allocations: 119 kB / 0.6646 GB, free: 80 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.7065, allocations: 1.031 MB / 0.6656 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.7065, allocations: 0 / 0.6656 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7068, allocations: 169.7 kB / 0.6658 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.7076, allocations: 145.6 kB / 0.6659 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.7118, allocations: 2.283 MB / 0.6681 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.7133, allocations: 1.559 MB / 0.6697 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001549/0.7148, allocations: 0.5691 MB / 0.6702 GB, free: 10.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.715, allocations: 83.42 kB / 0.6703 GB, free: 10.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/0.715, allocations: 0 / 0.6703 GB, free: 10.09 MB / 490.7 MB Notification: Performance of Templates: time 0.01688/0.7319, allocations: 7.405 MB / 0.6775 GB, free: 2.707 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches