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.002138/0.002137, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.979/1.979, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001101/0.001101, allocations: 88.28 kB / 270.9 MB, free: 8.395 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.4992/0.4992, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004955, allocations: 8 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.6084, allocations: 99.41 MB / 0.5758 GB, free: 3.316 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.6087, allocations: 75.95 kB / 0.5759 GB, free: 3.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1486/0.7573, allocations: 35.23 MB / 0.6103 GB, free: 15.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.7574, allocations: 0 / 0.6103 GB, free: 15.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.7575, allocations: 40 kB / 0.6103 GB, free: 15.74 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.008985/0.7665, allocations: 2.307 MB / 0.6126 GB, free: 13.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.7666, allocations: 8.031 kB / 0.6126 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.7701, allocations: 396.2 kB / 0.613 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.7745, allocations: 1.143 MB / 0.6141 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.7748, allocations: 147.9 kB / 0.6142 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008168/0.7756, allocations: 195.8 kB / 0.6144 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.7924, allocations: 4.84 MB / 0.6191 GB, free: 6.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.214e-05/0.7926, allocations: 15.88 kB / 0.6191 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.793, allocations: 83.95 kB / 0.6192 GB, free: 6.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/0.7947, allocations: 0.5305 MB / 0.6197 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.8101, allocations: 3.859 MB / 0.6235 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.8471, allocations: 16.73 MB / 0.6399 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007744/0.8549, allocations: 1.274 MB / 0.6411 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009087/0.8641, allocations: 4.085 MB / 0.6451 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.8642, allocations: 34.56 kB / 0.6451 GB, free: 11.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 4.058e-06/0.8642, allocations: 4 kB / 0.6451 GB, free: 11 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.01143/0.8756, allocations: 1.787 MB / 0.6469 GB, free: 9.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.8757, allocations: 110.8 kB / 0.647 GB, free: 9.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.879, allocations: 1.424 MB / 0.6484 GB, free: 7.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.8792, allocations: 37.95 kB / 0.6484 GB, free: 7.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.8808, allocations: 1.428 MB / 0.6498 GB, free: 6.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.8812, allocations: 178 kB / 0.65 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.8814, allocations: 48 kB / 0.65 GB, free: 5.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.8816, allocations: 407.4 kB / 0.6504 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.883, allocations: 0.5042 MB / 0.6509 GB, free: 5.016 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.8855, allocations: 2.047 MB / 0.6529 GB, free: 2.184 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.888, allocations: 0.9597 MB / 0.6538 GB, free: 1.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.862e-05/0.8881, allocations: 16 kB / 0.6538 GB, free: 1.207 MB / 474.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006137/0.8942, allocations: 2.388 MB / 0.6562 GB, free: 14.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.8943, allocations: 28 kB / 0.6562 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/0.8944, allocations: 56 kB / 0.6563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.8945, allocations: 80 kB / 0.6563 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.8976, allocations: 0.5458 MB / 0.6569 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001323/0.8978, allocations: 115.5 kB / 0.657 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.9001, allocations: 336.7 kB / 0.6573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/0.9005, allocations: 148 kB / 0.6574 GB, free: 13.51 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.001951/0.9024, allocations: 0.8633 MB / 0.6583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.9028, allocations: 130.3 kB / 0.6584 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.9032, allocations: 153.6 kB / 0.6585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.9032, allocations: 8 kB / 0.6586 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9032, allocations: 4 kB / 0.6586 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.9033, allocations: 11.92 kB / 0.6586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007691/0.911, allocations: 3.238 MB / 0.6617 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.911, allocations: 12 kB / 0.6617 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.9117, allocations: 95.95 kB / 0.6618 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.893e-05/0.9117, allocations: 27.92 kB / 0.6619 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.9118, allocations: 24 kB / 0.6619 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.149e-05/0.9118, allocations: 15.94 kB / 0.6619 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-05/0.9118, allocations: 19.94 kB / 0.6619 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.914, allocations: 1.568 MB / 0.6635 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.9146, allocations: 227.3 kB / 0.6637 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.915, allocations: 23.98 kB / 0.6637 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.9158, allocations: 23.98 kB / 0.6637 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.9159, allocations: 75.69 kB / 0.6638 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.916, allocations: 28 kB / 0.6638 GB, free: 6.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00245/0.9184, allocations: 0.9711 MB / 0.6648 GB, free: 5.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9185, allocations: 0 / 0.6648 GB, free: 5.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002854/0.9213, allocations: 497.9 kB / 0.6652 GB, free: 4.746 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.0003218/0.9217, allocations: 138.9 kB / 0.6654 GB, free: 4.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.9251, allocations: 1.253 MB / 0.6666 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.9252, allocations: 0 / 0.6666 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.9258, allocations: 226.5 kB / 0.6668 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.9271, allocations: 169.4 kB / 0.667 GB, free: 2.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.9377, allocations: 4.476 MB / 0.6713 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/0.9406, allocations: 1.749 MB / 0.673 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.9411, allocations: 111.4 kB / 0.6732 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of SimCode: time 1.513e-06/0.9412, allocations: 4 kB / 0.6732 GB, free: 12.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.3746/1.316, allocations: 20.03 MB / 0.6927 GB, free: 132.2 MB / 0.4949 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