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.001501/0.001501, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008465/0.0008465, allocations: 82.62 kB / 261.7 MB, free: 1.676 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.2224/0.2224, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.382e-05/1.381e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.5135, allocations: 98.65 MB / 0.5623 GB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.5139, allocations: 80.27 kB / 0.5624 GB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08574/0.5996, allocations: 34.54 MB / 0.5961 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5997, allocations: 0 / 0.5961 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.075e-05/0.5997, allocations: 32 kB / 0.5961 GB, free: 15.31 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.004629/0.6044, allocations: 2.201 MB / 0.5983 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6044, allocations: 8.031 kB / 0.5983 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.6062, allocations: 391.8 kB / 0.5986 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.6086, allocations: 1.145 MB / 0.5998 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.6087, allocations: 64 kB / 0.5998 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.6089, allocations: 119.9 kB / 0.5999 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003754/0.6127, allocations: 2.753 MB / 0.6026 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/0.6178, allocations: 3.776 MB / 0.6063 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.6179, allocations: 11.88 kB / 0.6063 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.618, allocations: 8 kB / 0.6063 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009892/0.619, allocations: 0.5162 MB / 0.6068 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.6395, allocations: 15.62 MB / 0.6221 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.6408, allocations: 0.841 MB / 0.6229 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007639/0.6416, allocations: 0.6637 MB / 0.6236 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/0.6471, allocations: 3.506 MB / 0.627 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.6472, allocations: 42.5 kB / 0.627 GB, free: 2.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 4.128e-06/0.6472, allocations: 0 / 0.627 GB, free: 2.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.003692/0.6509, allocations: 1.061 MB / 0.6281 GB, free: 1.047 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.651, allocations: 110.8 kB / 0.6282 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.6529, allocations: 1.291 MB / 0.6294 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.653, allocations: 25.7 kB / 0.6295 GB, free: 15.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.654, allocations: 1.483 MB / 0.6309 GB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.6541, allocations: 138.6 kB / 0.631 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.6542, allocations: 0 / 0.631 GB, free: 13.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.6545, allocations: 443.7 kB / 0.6315 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.6551, allocations: 472.7 kB / 0.6319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.6568, allocations: 2.08 MB / 0.6339 GB, free: 10.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.658, allocations: 0.9594 MB / 0.6349 GB, free: 9.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.6581, allocations: 16 kB / 0.6349 GB, free: 9.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.003232/0.6613, allocations: 2.146 MB / 0.637 GB, free: 6.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/0.6614, allocations: 32.94 kB / 0.637 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-05/0.6615, allocations: 63.98 kB / 0.6371 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.6616, allocations: 84 kB / 0.6372 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.6632, allocations: 0.577 MB / 0.6377 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-05/0.6633, allocations: 115.5 kB / 0.6378 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6648, allocations: 296.4 kB / 0.6381 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.6649, allocations: 152 kB / 0.6383 GB, free: 5.676 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * 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 (310): * Single equations (assignments): 310 * 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.0003011/0.6652, allocations: 266.7 kB / 0.6385 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.6654, allocations: 122.4 kB / 0.6386 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.6657, allocations: 135.8 kB / 0.6388 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6657, allocations: 4 kB / 0.6388 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.6658, allocations: 4 kB / 0.6388 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6658, allocations: 3.984 kB / 0.6388 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/0.6696, allocations: 2.517 MB / 0.6412 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6696, allocations: 11.94 kB / 0.6412 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.6699, allocations: 75.84 kB / 0.6413 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.6699, allocations: 12 kB / 0.6413 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.6699, allocations: 8 kB / 0.6413 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/0.67, allocations: 23.94 kB / 0.6414 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.67, allocations: 11.94 kB / 0.6414 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6711, allocations: 1.186 MB / 0.6425 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.6713, allocations: 219.2 kB / 0.6427 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6715, allocations: 15.98 kB / 0.6427 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.6718, allocations: 15.98 kB / 0.6428 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.6719, allocations: 47.81 kB / 0.6428 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.672, allocations: 20 kB / 0.6428 GB, free: 396 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.6732, allocations: 0.8439 MB / 0.6437 GB, free: 15.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6732, allocations: 0 / 0.6437 GB, free: 15.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002057/0.6752, allocations: 453.8 kB / 0.6441 GB, free: 15.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002371/0.6755, allocations: 119 kB / 0.6442 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.6772, allocations: 1.134 MB / 0.6453 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6772, allocations: 0 / 0.6453 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.6775, allocations: 177.3 kB / 0.6455 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.678, allocations: 129.2 kB / 0.6456 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.6825, allocations: 2.671 MB / 0.6482 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.6842, allocations: 1.732 MB / 0.6499 GB, free: 8.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001655/0.6858, allocations: 0.6248 MB / 0.6505 GB, free: 8.344 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.686, allocations: 91.44 kB / 0.6506 GB, free: 8.254 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.686, allocations: 0 / 0.6506 GB, free: 8.254 MB / 458.7 MB Notification: Performance of Templates: time 0.01764/0.7037, allocations: 7.763 MB / 0.6582 GB, free: 0.5 MB / 458.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