Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00101/0.001011, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.239/1.239, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0007763/0.0007764, allocations: 86.12 kB / 267 MB, free: 9.262 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.3142/0.3142, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.24e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4576, allocations: 99.32 MB / 0.5698 GB, free: 6.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4579, allocations: 79.48 kB / 0.5699 GB, free: 6.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08063/0.5385, allocations: 35.24 MB / 0.6043 GB, free: 7.816 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5386, allocations: 0 / 0.6043 GB, free: 7.816 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.5386, allocations: 36 kB / 0.6043 GB, free: 7.781 MB / 426.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.004464/0.5431, allocations: 2.216 MB / 0.6065 GB, free: 5.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5432, allocations: 8.031 kB / 0.6065 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5449, allocations: 380.2 kB / 0.6069 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.5471, allocations: 1.152 MB / 0.608 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/0.5472, allocations: 147.9 kB / 0.6081 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.5476, allocations: 191.1 kB / 0.6083 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008583/0.5561, allocations: 4.788 MB / 0.613 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.5562, allocations: 15.88 kB / 0.613 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.5565, allocations: 92.69 kB / 0.6131 GB, free: 212 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009167/0.5574, allocations: 0.5256 MB / 0.6136 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007567/0.565, allocations: 3.783 MB / 0.6173 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.5856, allocations: 16.72 MB / 0.6336 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.5896, allocations: 1.269 MB / 0.6349 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.5904, allocations: 0.7028 MB / 0.6356 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004866/0.5953, allocations: 4.074 MB / 0.6395 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.5953, allocations: 38.5 kB / 0.6396 GB, free: 7.137 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 2.645e-06/0.5954, allocations: 4 kB / 0.6396 GB, free: 7.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.005206/0.6006, allocations: 1.47 MB / 0.641 GB, free: 5.652 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.6006, allocations: 110.9 kB / 0.6411 GB, free: 5.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.6024, allocations: 1.407 MB / 0.6425 GB, free: 4.105 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6025, allocations: 37.64 kB / 0.6425 GB, free: 4.062 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/0.6033, allocations: 1.402 MB / 0.6439 GB, free: 2.637 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6035, allocations: 182 kB / 0.6441 GB, free: 2.457 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.6035, allocations: 48 kB / 0.6441 GB, free: 2.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.6038, allocations: 455.3 kB / 0.6445 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.6045, allocations: 496.5 kB / 0.645 GB, free: 1.469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.6065, allocations: 2.035 MB / 0.647 GB, free: 14.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.6078, allocations: 0.9711 MB / 0.648 GB, free: 13.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/0.6078, allocations: 19.98 kB / 0.648 GB, free: 13.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003633/0.6115, allocations: 2.395 MB / 0.6503 GB, free: 11.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.6115, allocations: 28 kB / 0.6503 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/0.6116, allocations: 56 kB / 0.6504 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.726e-05/0.6117, allocations: 80.75 kB / 0.6505 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.6131, allocations: 0.5459 MB / 0.651 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.96e-05/0.6132, allocations: 115.6 kB / 0.6511 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6147, allocations: 332.4 kB / 0.6514 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.6149, allocations: 144 kB / 0.6516 GB, free: 9.965 MB / 474.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.0003082/0.6152, allocations: 318.7 kB / 0.6519 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6154, allocations: 138.2 kB / 0.652 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.6158, allocations: 157.7 kB / 0.6522 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6158, allocations: 4 kB / 0.6522 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6158, allocations: 0 / 0.6522 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6158, allocations: 0 / 0.6522 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.6203, allocations: 3.23 MB / 0.6553 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.6203, allocations: 12 kB / 0.6553 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.6206, allocations: 95.83 kB / 0.6554 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/0.6206, allocations: 16 kB / 0.6554 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.6207, allocations: 27.94 kB / 0.6555 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/0.6207, allocations: 23.92 kB / 0.6555 GB, free: 5.727 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.6207, allocations: 15.94 kB / 0.6555 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6219, allocations: 1.561 MB / 0.657 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.6222, allocations: 231.2 kB / 0.6572 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.6223, allocations: 31.94 kB / 0.6573 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.6227, allocations: 23.98 kB / 0.6573 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.6228, allocations: 67.69 kB / 0.6574 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.6228, allocations: 28 kB / 0.6574 GB, free: 3.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.624, allocations: 0.966 MB / 0.6583 GB, free: 2.266 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.624, allocations: 0 / 0.6583 GB, free: 2.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001665/0.6257, allocations: 489.9 kB / 0.6588 GB, free: 1.785 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.0001806/0.6259, allocations: 138.9 kB / 0.6589 GB, free: 1.641 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.6276, allocations: 1.238 MB / 0.6601 GB, free: 420 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6276, allocations: 4 kB / 0.6601 GB, free: 416 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.6279, allocations: 222.6 kB / 0.6604 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.6285, allocations: 175.5 kB / 0.6605 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.6328, allocations: 2.803 MB / 0.6633 GB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.6343, allocations: 1.749 MB / 0.665 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.6359, allocations: 0.6139 MB / 0.6656 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.6361, allocations: 91.44 kB / 0.6656 GB, free: 10.54 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6361, allocations: 0 / 0.6656 GB, free: 10.54 MB / 490.7 MB Notification: Performance of Templates: time 0.01991/0.656, allocations: 9.756 MB / 0.6752 GB, free: 0.8047 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches