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.001481/0.001482, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009007, allocations: 87.72 kB / 292.1 MB, free: 10.92 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.3181/0.3181, allocations: 44.23 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 12 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4725, allocations: 100.8 MB / 0.608 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4728, allocations: 83.95 kB / 0.6081 GB, free: 10.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07436/0.5472, allocations: 30.59 MB / 0.6379 GB, free: 11.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5472, allocations: 0 / 0.6379 GB, free: 11.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.871e-05/0.5473, allocations: 39.98 kB / 0.638 GB, free: 11.43 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.004093/0.5514, allocations: 2.106 MB / 0.64 GB, free: 9.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5514, allocations: 12.03 kB / 0.64 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.5527, allocations: 317.2 kB / 0.6403 GB, free: 8.945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.5549, allocations: 1.049 MB / 0.6414 GB, free: 7.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.555, allocations: 123.2 kB / 0.6415 GB, free: 7.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.5552, allocations: 160 kB / 0.6416 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.563, allocations: 4.26 MB / 0.6458 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.5631, allocations: 15.81 kB / 0.6458 GB, free: 3.039 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.5633, allocations: 79.95 kB / 0.6459 GB, free: 2.961 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005124/0.5638, allocations: 414.5 kB / 0.6463 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006822/0.5706, allocations: 3.586 MB / 0.6498 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.5866, allocations: 14.54 MB / 0.664 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.5903, allocations: 1.22 MB / 0.6652 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004944/0.5952, allocations: 3.73 MB / 0.6688 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5953, allocations: 34.89 kB / 0.6688 GB, free: 10.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.5953, allocations: 0 / 0.6688 GB, free: 10.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.005584/0.6009, allocations: 1.784 MB / 0.6706 GB, free: 9.016 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.6009, allocations: 59.34 kB / 0.6706 GB, free: 8.945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.6026, allocations: 1.321 MB / 0.6719 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.6026, allocations: 37.69 kB / 0.672 GB, free: 7.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006889/0.6033, allocations: 1.201 MB / 0.6731 GB, free: 6.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.6034, allocations: 166.1 kB / 0.6733 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.6035, allocations: 44 kB / 0.6733 GB, free: 6.141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.6037, allocations: 442.9 kB / 0.6738 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.6044, allocations: 479.9 kB / 0.6742 GB, free: 5.227 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.6059, allocations: 1.874 MB / 0.676 GB, free: 2.629 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.607, allocations: 0.886 MB / 0.6769 GB, free: 1.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.607, allocations: 23.94 kB / 0.6769 GB, free: 1.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.2538/0.8608, allocations: 2.235 MB / 0.6791 GB, free: 116.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.861, allocations: 26.53 kB / 0.6791 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.8611, allocations: 51.38 kB / 0.6792 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.8613, allocations: 73.94 kB / 0.6793 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.8629, allocations: 498.1 kB / 0.6797 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.002e-05/0.8629, allocations: 102.5 kB / 0.6798 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8643, allocations: 301.7 kB / 0.6801 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.8645, allocations: 131.2 kB / 0.6802 GB, free: 116.1 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.001008/0.8655, allocations: 0.7607 MB / 0.681 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.8656, allocations: 126.6 kB / 0.6811 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.8658, allocations: 141 kB / 0.6812 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8659, allocations: 5.812 kB / 0.6812 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8659, allocations: 2.953 kB / 0.6813 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8659, allocations: 3.328 kB / 0.6813 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.869, allocations: 2.842 MB / 0.684 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.869, allocations: 8.875 kB / 0.684 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.8693, allocations: 97.45 kB / 0.6841 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.8693, allocations: 15.12 kB / 0.6841 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.8693, allocations: 23.22 kB / 0.6842 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/0.8694, allocations: 16.94 kB / 0.6842 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.8694, allocations: 16.97 kB / 0.6842 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/0.8704, allocations: 1.511 MB / 0.6857 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8706, allocations: 221.6 kB / 0.6859 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8707, allocations: 27.5 kB / 0.6859 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.8711, allocations: 21.66 kB / 0.6859 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.8712, allocations: 71.56 kB / 0.686 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.8712, allocations: 28.78 kB / 0.686 GB, free: 113.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.8722, allocations: 0.904 MB / 0.6869 GB, free: 113.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8722, allocations: 0 / 0.6869 GB, free: 113.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001574/0.8738, allocations: 409.8 kB / 0.6873 GB, free: 113.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.0001745/0.874, allocations: 133.5 kB / 0.6874 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.8756, allocations: 1.165 MB / 0.6886 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.8756, allocations: 6.5 kB / 0.6886 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.8758, allocations: 232.8 kB / 0.6888 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.8766, allocations: 184.4 kB / 0.689 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.881, allocations: 3.672 MB / 0.6926 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.882, allocations: 1.565 MB / 0.6941 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001395/0.8834, allocations: 0.5675 MB / 0.6946 GB, free: 110.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8836, allocations: 83.56 kB / 0.6947 GB, free: 110.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8836, allocations: 0 / 0.6947 GB, free: 110.6 MB / 490.7 MB Notification: Performance of Templates: time 0.01764/0.9012, allocations: 9.087 MB / 0.7036 GB, free: 110.1 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