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.002429/0.002428, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001065/0.001065, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2792/0.2792, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.286e-05, allocations: 8 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.6452, allocations: 99.32 MB / 0.5698 GB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.6455, allocations: 77.31 kB / 0.5699 GB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.7984, allocations: 35.24 MB / 0.6043 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7984, allocations: 4 kB / 0.6043 GB, free: 5.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.7986, allocations: 39.94 kB / 0.6043 GB, free: 5.695 MB / 410.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.008501/0.8071, allocations: 2.203 MB / 0.6065 GB, free: 3.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8072, allocations: 12.03 kB / 0.6065 GB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.8106, allocations: 380.7 kB / 0.6068 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/0.8151, allocations: 1.157 MB / 0.608 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.8153, allocations: 146.5 kB / 0.6081 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00081/0.8161, allocations: 191.3 kB / 0.6083 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.8322, allocations: 4.79 MB / 0.613 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/0.8324, allocations: 11.88 kB / 0.613 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004538/0.8328, allocations: 86.27 kB / 0.6131 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.8346, allocations: 0.5229 MB / 0.6136 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.8492, allocations: 3.794 MB / 0.6173 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/0.8876, allocations: 16.73 MB / 0.6336 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007745/0.8954, allocations: 1.264 MB / 0.6348 GB, free: 9.312 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.8971, allocations: 0.7027 MB / 0.6355 GB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009117/0.9063, allocations: 4.062 MB / 0.6395 GB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.9064, allocations: 42.5 kB / 0.6395 GB, free: 4.234 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 4.118e-06/0.9064, allocations: 0 / 0.6395 GB, free: 4.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.01059/0.917, allocations: 1.474 MB / 0.641 GB, free: 2.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.9171, allocations: 106.8 kB / 0.6411 GB, free: 2.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/0.9203, allocations: 1.411 MB / 0.6425 GB, free: 1.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.9205, allocations: 33.7 kB / 0.6425 GB, free: 1.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.9218, allocations: 1.42 MB / 0.6439 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.9221, allocations: 190 kB / 0.6441 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.9223, allocations: 44 kB / 0.6441 GB, free: 15.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.9226, allocations: 407.4 kB / 0.6445 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.9239, allocations: 0.4926 MB / 0.645 GB, free: 14.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.9267, allocations: 2.023 MB / 0.6469 GB, free: 11.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.9292, allocations: 0.9672 MB / 0.6479 GB, free: 10.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.325e-05/0.9292, allocations: 20 kB / 0.6479 GB, free: 10.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006944/0.9362, allocations: 2.357 MB / 0.6502 GB, free: 8.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.9363, allocations: 32.03 kB / 0.6502 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.379e-05/0.9364, allocations: 59.94 kB / 0.6503 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.9366, allocations: 80 kB / 0.6504 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/0.9403, allocations: 0.5419 MB / 0.6509 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002082/0.9406, allocations: 111.6 kB / 0.651 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/0.9448, allocations: 332.4 kB / 0.6513 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/0.9456, allocations: 148 kB / 0.6515 GB, free: 7.137 MB / 458.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 () * 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.0009614/0.9466, allocations: 310.8 kB / 0.6518 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/0.9472, allocations: 138.3 kB / 0.6519 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.9479, allocations: 153.7 kB / 0.652 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.948, allocations: 4 kB / 0.6521 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.948, allocations: 0 / 0.6521 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.948, allocations: 0 / 0.6521 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.9604, allocations: 3.237 MB / 0.6552 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/0.9605, allocations: 15.98 kB / 0.6552 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/0.9615, allocations: 95.78 kB / 0.6553 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.253e-05/0.9615, allocations: 16 kB / 0.6553 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.9616, allocations: 20.69 kB / 0.6554 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-05/0.9617, allocations: 23.92 kB / 0.6554 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.482e-05/0.9617, allocations: 19.94 kB / 0.6554 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.9648, allocations: 1.564 MB / 0.6569 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008893/0.9657, allocations: 227.2 kB / 0.6571 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/0.9663, allocations: 31.98 kB / 0.6572 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9678, allocations: 20 kB / 0.6572 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.9681, allocations: 71.62 kB / 0.6573 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.9682, allocations: 32 kB / 0.6573 GB, free: 408 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004084/0.9723, allocations: 0.9699 MB / 0.6582 GB, free: 15.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.9724, allocations: 0 / 0.6582 GB, free: 15.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004815/0.9772, allocations: 486 kB / 0.6587 GB, free: 14.95 MB / 474.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 () * 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.000432/0.9777, allocations: 131.1 kB / 0.6588 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.9822, allocations: 1.241 MB / 0.66 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.658e-05/0.9823, allocations: 4 kB / 0.66 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008328/0.9832, allocations: 222.5 kB / 0.6603 GB, free: 13.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.9851, allocations: 170.2 kB / 0.6604 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.9969, allocations: 3.016 MB / 0.6634 GB, free: 9.992 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004404/1.001, allocations: 1.741 MB / 0.6651 GB, free: 8.219 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/1.002, allocations: 111.4 kB / 0.6652 GB, free: 8.109 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.002, allocations: 0 / 0.6652 GB, free: 8.109 MB / 474.7 MB Notification: Performance of Templates: time 0.06576/1.068, allocations: 20.05 MB / 0.6847 GB, free: 4.051 MB / 490.7 MB 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