Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 200.9 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009092/0.000909, allocations: 108.5 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4161/0.4161, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 62.95 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5182, allocations: 100.9 MB / 0.6169 GB, free: 4.434 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5186, allocations: 83.94 kB / 0.617 GB, free: 4.355 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05523/0.5738, allocations: 20.78 MB / 0.6373 GB, free: 15.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5738, allocations: 0 / 0.6373 GB, free: 15.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.5739, allocations: 24 kB / 0.6373 GB, free: 15.43 MB / 458.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.003785/0.5777, allocations: 1.462 MB / 0.6388 GB, free: 13.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5778, allocations: 8.031 kB / 0.6388 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.579, allocations: 199.2 kB / 0.639 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5807, allocations: 0.7332 MB / 0.6397 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5809, allocations: 78.42 kB / 0.6397 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.5813, allocations: 112.2 kB / 0.6399 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/0.5876, allocations: 2.65 MB / 0.6424 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.5877, allocations: 8.125 kB / 0.6424 GB, free: 9.906 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.5878, allocations: 47.92 kB / 0.6425 GB, free: 9.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/0.5881, allocations: 213.8 kB / 0.6427 GB, free: 9.648 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/0.5932, allocations: 2.365 MB / 0.645 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009223/0.6024, allocations: 8.609 MB / 0.6534 GB, free: 14.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.6059, allocations: 1.005 MB / 0.6544 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.6063, allocations: 261.4 kB / 0.6546 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.6077, allocations: 1.73 MB / 0.6563 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.6077, allocations: 38.56 kB / 0.6564 GB, free: 11.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.6077, allocations: 4 kB / 0.6564 GB, free: 11.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01062/0.6184, allocations: 3.036 MB / 0.6593 GB, free: 8.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6184, allocations: 55.97 kB / 0.6594 GB, free: 7.953 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.6196, allocations: 0.8951 MB / 0.6603 GB, free: 7.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.6197, allocations: 37.7 kB / 0.6603 GB, free: 7.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.6201, allocations: 0.6642 MB / 0.661 GB, free: 6.332 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6203, allocations: 217.2 kB / 0.6612 GB, free: 6.117 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.6204, allocations: 24 kB / 0.6612 GB, free: 6.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6206, allocations: 398.7 kB / 0.6616 GB, free: 5.695 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.6211, allocations: 366.4 kB / 0.6619 GB, free: 5.336 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/0.622, allocations: 0.9913 MB / 0.6629 GB, free: 4.039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6236, allocations: 1.483 MB / 0.6643 GB, free: 2.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.6237, allocations: 8 kB / 0.6643 GB, free: 2.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001992/0.6257, allocations: 1.385 MB / 0.6657 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.6257, allocations: 15.94 kB / 0.6657 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.6257, allocations: 28.12 kB / 0.6657 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.6258, allocations: 35.94 kB / 0.6658 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6269, allocations: 319.5 kB / 0.6661 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009556/0.6279, allocations: 1.362 MB / 0.6674 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.6286, allocations: 51.91 kB / 0.6675 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.6287, allocations: 71.98 kB / 0.6675 GB, free: 14.85 MB / 490.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 () * Number of clocked 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.0007164/0.6294, allocations: 0.4989 MB / 0.668 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6296, allocations: 78.97 kB / 0.6681 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.6298, allocations: 120.7 kB / 0.6682 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6298, allocations: 8 kB / 0.6682 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6298, allocations: 0 / 0.6682 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6298, allocations: 3.984 kB / 0.6682 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.6334, allocations: 2.148 MB / 0.6703 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.6334, allocations: 8 kB / 0.6703 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.6339, allocations: 135.8 kB / 0.6704 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.634, allocations: 8 kB / 0.6705 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.634, allocations: 12 kB / 0.6705 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008608/0.6349, allocations: 1.341 MB / 0.6718 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6349, allocations: 8 kB / 0.6718 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6359, allocations: 0.8181 MB / 0.6726 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.6362, allocations: 168 kB / 0.6727 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6363, allocations: 20 kB / 0.6728 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.6366, allocations: 16 kB / 0.6728 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.6367, allocations: 51.81 kB / 0.6728 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.6367, allocations: 24 kB / 0.6728 GB, free: 8.984 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008083/0.6376, allocations: 0.5888 MB / 0.6734 GB, free: 8.398 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6376, allocations: 0 / 0.6734 GB, free: 8.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001166/0.6387, allocations: 224 kB / 0.6736 GB, free: 8.18 MB / 490.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 () * Number of clocked 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.0002735/0.639, allocations: 123 kB / 0.6738 GB, free: 8.051 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.6407, allocations: 0.8619 MB / 0.6746 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6407, allocations: 0 / 0.6746 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.6411, allocations: 282.7 kB / 0.6749 GB, free: 6.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6425, allocations: 127.1 kB / 0.675 GB, free: 6.797 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.6466, allocations: 2.507 MB / 0.6774 GB, free: 4.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.6477, allocations: 1.224 MB / 0.6786 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00094/0.6487, allocations: 339.6 kB / 0.679 GB, free: 2.594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.6489, allocations: 67.42 kB / 0.679 GB, free: 2.527 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6489, allocations: 0 / 0.679 GB, free: 2.527 MB / 490.7 MB Notification: Performance of Templates: time 0.295/0.9439, allocations: 7.422 MB / 0.6863 GB, free: 122.6 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches