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.0009478/0.0009478, allocations: 178.6 kB / 18.09 MB, free: 3.754 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.356/1.356, allocations: 223.3 MB / 242.1 MB, free: 9.977 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.0008065/0.0008064, allocations: 92.38 kB / 293.3 MB, free: 10.58 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.3587/0.3587, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.338, allocations: 61.88 MB / 0.5107 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4736, allocations: 100.9 MB / 0.6092 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.474, allocations: 83.95 kB / 0.6093 GB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08789/0.5619, allocations: 30.35 MB / 0.6389 GB, free: 11.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.562, allocations: 0 / 0.6389 GB, free: 11.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.16e-05/0.5621, allocations: 36 kB / 0.639 GB, free: 11.55 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.00638/0.5684, allocations: 1.993 MB / 0.6409 GB, free: 9.492 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5685, allocations: 12.03 kB / 0.6409 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5706, allocations: 322.2 kB / 0.6412 GB, free: 9.164 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.5739, allocations: 1.065 MB / 0.6423 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.5741, allocations: 119.6 kB / 0.6424 GB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.5745, allocations: 160.3 kB / 0.6425 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.5864, allocations: 4.202 MB / 0.6466 GB, free: 3.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.5865, allocations: 12.06 kB / 0.6467 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.5867, allocations: 75.91 kB / 0.6467 GB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000649/0.5874, allocations: 422.5 kB / 0.6471 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.599, allocations: 3.508 MB / 0.6506 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/0.6249, allocations: 14.49 MB / 0.6647 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.6309, allocations: 1.226 MB / 0.6659 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.6323, allocations: 0.6858 MB / 0.6666 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00743/0.6397, allocations: 3.675 MB / 0.6702 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.6398, allocations: 34.89 kB / 0.6702 GB, free: 10.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.356e-06/0.6398, allocations: 0 / 0.6702 GB, free: 10.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.009345/0.6492, allocations: 1.776 MB / 0.6719 GB, free: 8.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.6493, allocations: 63.28 kB / 0.672 GB, free: 8.699 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.6524, allocations: 1.476 MB / 0.6734 GB, free: 7.207 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.6525, allocations: 37.7 kB / 0.6735 GB, free: 7.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6537, allocations: 1.197 MB / 0.6746 GB, free: 5.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.654, allocations: 170 kB / 0.6748 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.6541, allocations: 40 kB / 0.6748 GB, free: 5.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003163/0.6544, allocations: 442.9 kB / 0.6753 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.6555, allocations: 483.9 kB / 0.6757 GB, free: 4.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.6579, allocations: 1.882 MB / 0.6776 GB, free: 2.223 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3546/1.012, allocations: 2.576 MB / 0.6801 GB, free: 116.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.769e-05/1.013, allocations: 16 kB / 0.6801 GB, free: 116.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005705/1.018, allocations: 2.246 MB / 0.6823 GB, free: 116.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/1.018, allocations: 32.88 kB / 0.6823 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/1.018, allocations: 48.72 kB / 0.6824 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.13e-05/1.019, allocations: 67.78 kB / 0.6824 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.021, allocations: 493 kB / 0.6829 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.013e-05/1.021, allocations: 99.41 kB / 0.683 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.023, allocations: 300.7 kB / 0.6833 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.023, allocations: 135.2 kB / 0.6834 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.001494/1.024, allocations: 0.7622 MB / 0.6842 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/1.025, allocations: 122.9 kB / 0.6843 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/1.025, allocations: 146.4 kB / 0.6844 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.025, allocations: 3.031 kB / 0.6844 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.025, allocations: 0.9375 kB / 0.6844 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.025, allocations: 2.938 kB / 0.6844 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/1.03, allocations: 2.838 MB / 0.6872 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.03, allocations: 11.81 kB / 0.6872 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/1.031, allocations: 95.69 kB / 0.6873 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.143e-05/1.031, allocations: 21.39 kB / 0.6873 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/1.031, allocations: 23.69 kB / 0.6873 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/1.031, allocations: 24.5 kB / 0.6874 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.031, allocations: 16.25 kB / 0.6874 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.032, allocations: 0.8404 MB / 0.6882 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/1.032, allocations: 214.4 kB / 0.6884 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/1.032, allocations: 23.77 kB / 0.6884 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/1.033, allocations: 24.62 kB / 0.6884 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.033, allocations: 72.95 kB / 0.6885 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/1.033, allocations: 26.19 kB / 0.6885 GB, free: 114.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001655/1.035, allocations: 0.9032 MB / 0.6894 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.035, allocations: 0 / 0.6894 GB, free: 114.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003047/1.038, allocations: 411.5 kB / 0.6898 GB, free: 114.1 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.0002513/1.038, allocations: 132.8 kB / 0.6899 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/1.041, allocations: 1.164 MB / 0.6911 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.041, allocations: 2.781 kB / 0.6911 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/1.041, allocations: 228.4 kB / 0.6913 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/1.045, allocations: 191.3 kB / 0.6915 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/1.051, allocations: 3.702 MB / 0.6951 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.053, allocations: 1.53 MB / 0.6966 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002272/1.055, allocations: 0.5634 MB / 0.6971 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/1.056, allocations: 86.75 kB / 0.6972 GB, free: 111.2 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/1.056, allocations: 7.281 kB / 0.6972 GB, free: 111.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0288/1.085, allocations: 9.15 MB / 0.7062 GB, free: 110.7 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/jenkins1/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