Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 189.5 kB / 16.78 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 226.5 MB / 244.1 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007614/0.0007614, allocations: 99.56 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 16 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4153, allocations: 101.8 MB / 0.6159 GB, free: 3.625 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4155, allocations: 75.95 kB / 0.6159 GB, free: 3.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07358/0.4891, allocations: 30.41 MB / 0.6456 GB, free: 4.945 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4892, allocations: 4 kB / 0.6456 GB, free: 4.941 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.431e-05/0.4892, allocations: 28 kB / 0.6457 GB, free: 4.914 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.004106/0.4933, allocations: 1.997 MB / 0.6476 GB, free: 2.855 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4934, allocations: 8.031 kB / 0.6476 GB, free: 2.848 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.4948, allocations: 330.2 kB / 0.6479 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.497, allocations: 1.061 MB / 0.649 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.4971, allocations: 131.6 kB / 0.6491 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.4974, allocations: 160.3 kB / 0.6492 GB, free: 1.133 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007863/0.5053, allocations: 4.191 MB / 0.6533 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.5054, allocations: 12.06 kB / 0.6533 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.5056, allocations: 83.89 kB / 0.6534 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005487/0.5061, allocations: 414.5 kB / 0.6538 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/0.5133, allocations: 3.504 MB / 0.6572 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.5293, allocations: 14.49 MB / 0.6714 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.5331, allocations: 1.22 MB / 0.6726 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.534, allocations: 0.6897 MB / 0.6733 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.5387, allocations: 3.675 MB / 0.6768 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5388, allocations: 42.92 kB / 0.6769 GB, free: 3.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.186e-06/0.5388, allocations: 0 / 0.6769 GB, free: 3.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.005819/0.5446, allocations: 1.776 MB / 0.6786 GB, free: 2.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5447, allocations: 63.34 kB / 0.6787 GB, free: 2.051 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.5465, allocations: 1.476 MB / 0.6801 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.5465, allocations: 29.7 kB / 0.6802 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2061/0.7526, allocations: 1.192 MB / 0.6813 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.7529, allocations: 174.9 kB / 0.6815 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.753, allocations: 41.97 kB / 0.6815 GB, free: 118.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.7533, allocations: 443.8 kB / 0.6819 GB, free: 118.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/0.7542, allocations: 481.5 kB / 0.6824 GB, free: 118.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.7554, allocations: 1.884 MB / 0.6842 GB, free: 116.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.7575, allocations: 2.579 MB / 0.6868 GB, free: 114.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/0.7575, allocations: 15 kB / 0.6868 GB, free: 114.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003/0.7605, allocations: 2.248 MB / 0.689 GB, free: 114.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.7606, allocations: 26.53 kB / 0.689 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/0.7606, allocations: 53.36 kB / 0.689 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.048e-05/0.7607, allocations: 70.72 kB / 0.6891 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7618, allocations: 493.3 kB / 0.6896 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-05/0.7619, allocations: 103.5 kB / 0.6897 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.7632, allocations: 298.3 kB / 0.69 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7633, allocations: 136.2 kB / 0.6901 GB, free: 114.3 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.0009367/0.7642, allocations: 0.7637 MB / 0.6908 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.7644, allocations: 123.6 kB / 0.691 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.7646, allocations: 142.9 kB / 0.6911 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7646, allocations: 2.969 kB / 0.6911 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7646, allocations: 3.75 kB / 0.6911 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7646, allocations: 3.375 kB / 0.6911 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.7677, allocations: 2.835 MB / 0.6939 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.7677, allocations: 11.75 kB / 0.6939 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.7679, allocations: 92.31 kB / 0.694 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.768, allocations: 17.84 kB / 0.694 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.768, allocations: 29.16 kB / 0.694 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.768, allocations: 24.38 kB / 0.694 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.768, allocations: 15.62 kB / 0.6941 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.7687, allocations: 0.8301 MB / 0.6949 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.769, allocations: 224.7 kB / 0.6951 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7691, allocations: 26.39 kB / 0.6951 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.7695, allocations: 26.94 kB / 0.6951 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.7696, allocations: 59.95 kB / 0.6952 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.7696, allocations: 31 kB / 0.6952 GB, free: 112.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.7706, allocations: 0.8994 MB / 0.6961 GB, free: 112.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7706, allocations: 0 / 0.6961 GB, free: 112.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001648/0.7723, allocations: 406.7 kB / 0.6965 GB, free: 112.2 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.0001718/0.7725, allocations: 136.2 kB / 0.6966 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.7739, allocations: 1.168 MB / 0.6978 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.774, allocations: 4.531 kB / 0.6978 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.7742, allocations: 228.8 kB / 0.698 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.7768, allocations: 205.8 kB / 0.6982 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7814, allocations: 3.869 MB / 0.702 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.7824, allocations: 1.529 MB / 0.7035 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.7827, allocations: 101 kB / 0.7035 GB, free: 108.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.82e-07/0.7827, allocations: 0 / 0.7035 GB, free: 108.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03174/0.8145, allocations: 17.89 MB / 0.721 GB, free: 106.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches