Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009277, allocations: 84.06 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.168/0.168, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.795e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.485, allocations: 99.8 MB / 0.5992 GB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4853, allocations: 75.69 kB / 0.5992 GB, free: 5.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05228/0.5376, allocations: 20.89 MB / 0.6196 GB, free: 420 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5377, allocations: 0 / 0.6196 GB, free: 420 kB / 426.7 MB Notification: Performance of Transformations before backend: time 4.851e-05/0.5377, allocations: 20 kB / 0.6197 GB, free: 400 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002519/0.5402, allocations: 1.384 MB / 0.621 GB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5403, allocations: 12.03 kB / 0.621 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008659/0.5412, allocations: 202.3 kB / 0.6212 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5424, allocations: 0.7127 MB / 0.6219 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.5425, allocations: 78 kB / 0.622 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.5426, allocations: 104 kB / 0.6221 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005362/0.548, allocations: 2.673 MB / 0.6247 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.5481, allocations: 7.938 kB / 0.6247 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5482, allocations: 47.97 kB / 0.6248 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/0.5485, allocations: 209.8 kB / 0.625 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005372/0.5539, allocations: 2.381 MB / 0.6273 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008642/0.5626, allocations: 8.621 MB / 0.6357 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.5664, allocations: 0.9991 MB / 0.6367 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.5668, allocations: 253.4 kB / 0.6369 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.5682, allocations: 1.746 MB / 0.6386 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5683, allocations: 34.52 kB / 0.6387 GB, free: 12.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 2.255e-06/0.5683, allocations: 0 / 0.6387 GB, free: 12.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01015/0.5784, allocations: 2.7 MB / 0.6413 GB, free: 9.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.5785, allocations: 63.91 kB / 0.6413 GB, free: 9.309 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.5795, allocations: 0.789 MB / 0.6421 GB, free: 8.516 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.5795, allocations: 33.7 kB / 0.6422 GB, free: 8.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.5799, allocations: 0.6603 MB / 0.6428 GB, free: 7.805 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5801, allocations: 217.1 kB / 0.643 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.5801, allocations: 28 kB / 0.643 GB, free: 7.562 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5803, allocations: 406.7 kB / 0.6434 GB, free: 7.156 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.5808, allocations: 354.5 kB / 0.6438 GB, free: 6.809 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.5816, allocations: 0.9759 MB / 0.6447 GB, free: 5.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.5823, allocations: 0.5729 MB / 0.6453 GB, free: 4.949 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.5823, allocations: 4 kB / 0.6453 GB, free: 4.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001772/0.5841, allocations: 1.373 MB / 0.6466 GB, free: 3.562 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5841, allocations: 15.94 kB / 0.6466 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5842, allocations: 24.88 kB / 0.6467 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.106e-05/0.5842, allocations: 32 kB / 0.6467 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5854, allocations: 323.4 kB / 0.647 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.5863, allocations: 1.373 MB / 0.6483 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.5869, allocations: 48 kB / 0.6484 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.587, allocations: 67.95 kB / 0.6484 GB, free: 1.562 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.5871, allocations: 207.5 kB / 0.6486 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5873, allocations: 90.97 kB / 0.6487 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.5875, allocations: 116.7 kB / 0.6488 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5875, allocations: 11.98 kB / 0.6488 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5875, allocations: 0 / 0.6488 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5876, allocations: 3.984 kB / 0.6489 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.5906, allocations: 2.141 MB / 0.6509 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.5906, allocations: 8 kB / 0.651 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.5912, allocations: 135.8 kB / 0.6511 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.5912, allocations: 8 kB / 0.6511 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.5912, allocations: 20 kB / 0.6511 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007703/0.592, allocations: 1.333 MB / 0.6524 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.592, allocations: 7.938 kB / 0.6524 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.593, allocations: 1.131 MB / 0.6535 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.5931, allocations: 164.1 kB / 0.6537 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.5932, allocations: 19.98 kB / 0.6537 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.5935, allocations: 16 kB / 0.6537 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.5936, allocations: 59.8 kB / 0.6538 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.5936, allocations: 20 kB / 0.6538 GB, free: 11.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006473/0.5943, allocations: 0.5889 MB / 0.6544 GB, free: 10.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5943, allocations: 0 / 0.6544 GB, free: 10.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008706/0.5952, allocations: 220 kB / 0.6546 GB, free: 10.72 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.5954, allocations: 119.1 kB / 0.6547 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.5966, allocations: 0.8474 MB / 0.6555 GB, free: 9.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5967, allocations: 4.312 kB / 0.6555 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.597, allocations: 275.8 kB / 0.6558 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.5976, allocations: 125.8 kB / 0.6559 GB, free: 9.355 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.6, allocations: 1.642 MB / 0.6575 GB, free: 7.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.6008, allocations: 1.248 MB / 0.6587 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008054/0.6016, allocations: 339.6 kB / 0.659 GB, free: 5.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6018, allocations: 67.44 kB / 0.6591 GB, free: 5.926 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6018, allocations: 3.938 kB / 0.6591 GB, free: 5.922 MB / 474.7 MB Notification: Performance of Templates: time 0.01289/0.6147, allocations: 7.387 MB / 0.6663 GB, free: 14.57 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches