Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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_3.2.3_cpp_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.001162/0.001162, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.3/1.3, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007561/0.0007561, allocations: 97.47 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3359/0.3359, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004055, allocations: 12 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.4101, allocations: 99.52 MB / 0.5771 GB, free: 2.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4103, allocations: 75.97 kB / 0.5772 GB, free: 2.789 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08836/0.4987, allocations: 34.92 MB / 0.6113 GB, free: 15.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4988, allocations: 0 / 0.6113 GB, free: 15.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.239e-05/0.4989, allocations: 32 kB / 0.6113 GB, free: 15.59 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.006205/0.5051, allocations: 2.213 MB / 0.6135 GB, free: 13.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5051, allocations: 8.031 kB / 0.6135 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.5074, allocations: 385.7 kB / 0.6139 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.5106, allocations: 1.163 MB / 0.615 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.5108, allocations: 152.2 kB / 0.6151 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.5115, allocations: 188.3 kB / 0.6153 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.5224, allocations: 4.778 MB / 0.62 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/0.5225, allocations: 16.06 kB / 0.62 GB, free: 6.352 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005554/0.5231, allocations: 99.81 kB / 0.6201 GB, free: 6.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/0.5241, allocations: 0.5189 MB / 0.6206 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008576/0.5327, allocations: 3.78 MB / 0.6243 GB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.5559, allocations: 16.69 MB / 0.6406 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.5603, allocations: 1.269 MB / 0.6418 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.5613, allocations: 0.7066 MB / 0.6425 GB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005404/0.5667, allocations: 4.019 MB / 0.6464 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5668, allocations: 42.55 kB / 0.6465 GB, free: 10.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 2.995e-06/0.5668, allocations: 0 / 0.6465 GB, free: 10.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.006117/0.5729, allocations: 1.795 MB / 0.6482 GB, free: 8.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.573, allocations: 118.7 kB / 0.6484 GB, free: 8.539 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.5756, allocations: 1.588 MB / 0.6499 GB, free: 6.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.5757, allocations: 37.7 kB / 0.6499 GB, free: 6.898 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.5767, allocations: 1.402 MB / 0.6513 GB, free: 5.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.5769, allocations: 178 kB / 0.6515 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.5771, allocations: 48 kB / 0.6515 GB, free: 5.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.5773, allocations: 455.4 kB / 0.652 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009077/0.5782, allocations: 0.5042 MB / 0.6525 GB, free: 4.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5799, allocations: 2.051 MB / 0.6545 GB, free: 1.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.5829, allocations: 2.811 MB / 0.6572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.583, allocations: 16 kB / 0.6572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003929/0.5869, allocations: 2.438 MB / 0.6596 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.587, allocations: 28 kB / 0.6596 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/0.587, allocations: 56 kB / 0.6597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.245e-05/0.5871, allocations: 72 kB / 0.6597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.5886, allocations: 0.5464 MB / 0.6603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.873e-05/0.5887, allocations: 111.5 kB / 0.6604 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.5903, allocations: 344.4 kB / 0.6607 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.5905, allocations: 140 kB / 0.6608 GB, free: 10.11 MB / 490.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.001328/0.5918, allocations: 0.8595 MB / 0.6617 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.592, allocations: 138.2 kB / 0.6618 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.5923, allocations: 153.6 kB / 0.662 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5923, allocations: 11.94 kB / 0.662 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5924, allocations: 3.938 kB / 0.662 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5924, allocations: 3.984 kB / 0.662 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.5969, allocations: 3.238 MB / 0.6651 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.597, allocations: 16.06 kB / 0.6652 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.5973, allocations: 99.77 kB / 0.6653 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.5973, allocations: 16 kB / 0.6653 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5973, allocations: 23.94 kB / 0.6653 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.5974, allocations: 15.94 kB / 0.6653 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.5974, allocations: 15.94 kB / 0.6653 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.5983, allocations: 0.8617 MB / 0.6662 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.5986, allocations: 231.1 kB / 0.6664 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5988, allocations: 27.98 kB / 0.6664 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.5992, allocations: 20 kB / 0.6664 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.5993, allocations: 71.64 kB / 0.6665 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.5993, allocations: 24 kB / 0.6665 GB, free: 3.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.6006, allocations: 0.9867 MB / 0.6675 GB, free: 2.887 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6006, allocations: 0 / 0.6675 GB, free: 2.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0019/0.6025, allocations: 486 kB / 0.668 GB, free: 2.41 MB / 490.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.0001884/0.6027, allocations: 139 kB / 0.6681 GB, free: 2.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.6045, allocations: 1.249 MB / 0.6693 GB, free: 1.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6045, allocations: 4 kB / 0.6693 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.6048, allocations: 230.6 kB / 0.6695 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.6078, allocations: 177.2 kB / 0.6697 GB, free: 0.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.6141, allocations: 4.511 MB / 0.6741 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.6156, allocations: 1.702 MB / 0.6758 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.6159, allocations: 115.4 kB / 0.6759 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/0.6159, allocations: 3.938 kB / 0.6759 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.2046/0.8206, allocations: 20.25 MB / 0.6956 GB, free: 131.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches