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.001411/0.001412, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008486/0.0008486, allocations: 100.5 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2954/0.2954, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002508, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3253, allocations: 63.24 MB / 0.5192 GB, free: 43.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4539, allocations: 101 MB / 0.6178 GB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4542, allocations: 79.95 kB / 0.6178 GB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0552/0.5094, allocations: 20.96 MB / 0.6383 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5095, allocations: 0 / 0.6383 GB, free: 15.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.457e-05/0.5095, allocations: 20 kB / 0.6383 GB, free: 15.53 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.003435/0.513, allocations: 1.474 MB / 0.6398 GB, free: 14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.513, allocations: 8.031 kB / 0.6398 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5141, allocations: 202.3 kB / 0.64 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.5159, allocations: 0.7205 MB / 0.6407 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.516, allocations: 78.03 kB / 0.6407 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/0.5163, allocations: 103.9 kB / 0.6408 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/0.5219, allocations: 2.685 MB / 0.6435 GB, free: 9.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.522, allocations: 11.92 kB / 0.6435 GB, free: 9.977 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.5222, allocations: 47.97 kB / 0.6435 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003298/0.5225, allocations: 205.8 kB / 0.6437 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005065/0.5276, allocations: 2.408 MB / 0.6461 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009276/0.5369, allocations: 8.632 MB / 0.6545 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.5404, allocations: 1.011 MB / 0.6555 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.5419, allocations: 1.738 MB / 0.6572 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.5419, allocations: 34.56 kB / 0.6572 GB, free: 11.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.5419, allocations: 0 / 0.6572 GB, free: 11.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.0107/0.5526, allocations: 3.037 MB / 0.6602 GB, free: 8.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.5527, allocations: 59.97 kB / 0.6602 GB, free: 8.223 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.554, allocations: 0.8045 MB / 0.661 GB, free: 7.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.5541, allocations: 37.7 kB / 0.6611 GB, free: 7.371 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.5546, allocations: 0.6603 MB / 0.6617 GB, free: 6.699 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5548, allocations: 209.2 kB / 0.6619 GB, free: 6.492 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.5548, allocations: 24 kB / 0.6619 GB, free: 6.469 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.555, allocations: 398.7 kB / 0.6623 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.5556, allocations: 366.4 kB / 0.6627 GB, free: 5.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.5565, allocations: 0.9874 MB / 0.6636 GB, free: 4.418 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.5573, allocations: 0.5681 MB / 0.6642 GB, free: 3.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.5573, allocations: 15.92 kB / 0.6642 GB, free: 3.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002028/0.5594, allocations: 1.381 MB / 0.6655 GB, free: 2.445 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.5594, allocations: 18.03 kB / 0.6656 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.5594, allocations: 28.16 kB / 0.6656 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/0.5595, allocations: 32 kB / 0.6656 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5607, allocations: 323.4 kB / 0.6659 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5617, allocations: 1.364 MB / 0.6673 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.5624, allocations: 55.89 kB / 0.6673 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5626, allocations: 68 kB / 0.6674 GB, free: 452 kB / 474.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.000801/0.5634, allocations: 0.5013 MB / 0.6679 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5635, allocations: 90.69 kB / 0.668 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.5638, allocations: 116.7 kB / 0.6681 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5638, allocations: 7.953 kB / 0.6681 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5638, allocations: 0 / 0.6681 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5638, allocations: 3.984 kB / 0.6681 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.5675, allocations: 2.16 MB / 0.6702 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5676, allocations: 8 kB / 0.6702 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.5681, allocations: 123.8 kB / 0.6703 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.5681, allocations: 11.94 kB / 0.6703 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.5682, allocations: 27.98 kB / 0.6703 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00088/0.5691, allocations: 1.333 MB / 0.6717 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5691, allocations: 11.94 kB / 0.6717 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5702, allocations: 1.129 MB / 0.6728 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.5705, allocations: 164 kB / 0.6729 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5706, allocations: 31.88 kB / 0.673 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.571, allocations: 16 kB / 0.673 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.5711, allocations: 55.84 kB / 0.673 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.5711, allocations: 20 kB / 0.673 GB, free: 10.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007804/0.5719, allocations: 0.5888 MB / 0.6736 GB, free: 9.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5719, allocations: 0 / 0.6736 GB, free: 9.488 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009854/0.5729, allocations: 220 kB / 0.6738 GB, free: 9.273 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.0001816/0.5731, allocations: 123.1 kB / 0.6739 GB, free: 9.145 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.5744, allocations: 0.859 MB / 0.6748 GB, free: 8.293 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5744, allocations: 0 / 0.6748 GB, free: 8.293 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.5749, allocations: 281.2 kB / 0.675 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.5755, allocations: 112.4 kB / 0.6752 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.5791, allocations: 2.507 MB / 0.6776 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.5802, allocations: 1.248 MB / 0.6788 GB, free: 4.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008676/0.5811, allocations: 339.6 kB / 0.6791 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5813, allocations: 63.44 kB / 0.6792 GB, free: 3.621 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5813, allocations: 0 / 0.6792 GB, free: 3.621 MB / 490.7 MB Notification: Performance of Templates: time 0.01505/0.5964, allocations: 7.378 MB / 0.6864 GB, free: 12.29 MB / 0.4948 GB 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/jenkins/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