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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 111.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3232, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008434/0.3317, allocations: 7.602 MB / 0.5391 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.3367, allocations: 2.566 MB / 0.5416 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.3376, allocations: 36.81 kB / 0.5416 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3394, allocations: 0.9015 MB / 0.5425 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.3401, allocations: 305.8 kB / 0.5428 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.3408, allocations: 316.3 kB / 0.5431 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.3416, allocations: 0.7247 MB / 0.5438 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.3425, allocations: 0.8284 MB / 0.5446 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.3429, allocations: 364.3 kB / 0.545 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.3437, allocations: 0.6565 MB / 0.5456 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.3439, allocations: 104 kB / 0.5457 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009285/0.3448, allocations: 0.5165 MB / 0.5462 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.3453, allocations: 0.4909 MB / 0.5467 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.3458, allocations: 0.5633 MB / 0.5472 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3473, allocations: 1.773 MB / 0.549 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3473, allocations: 0 / 0.549 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3474, allocations: 4 kB / 0.549 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3474, allocations: 0 / 0.549 GB, free: 15.97 MB / 414.1 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.002788/0.3502, allocations: 1.619 MB / 0.5506 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3502, allocations: 12.03 kB / 0.5506 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.3509, allocations: 163.2 kB / 0.5507 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.3518, allocations: 0.6278 MB / 0.5513 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.3519, allocations: 66.33 kB / 0.5514 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.352, allocations: 83.91 kB / 0.5515 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.3568, allocations: 2.666 MB / 0.5541 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.3569, allocations: 11.94 kB / 0.5541 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.357, allocations: 39.97 kB / 0.5541 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004521/0.3574, allocations: 385.7 kB / 0.5545 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.3622, allocations: 2.357 MB / 0.5568 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008307/0.3706, allocations: 8.244 MB / 0.5649 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.3741, allocations: 0.9756 MB / 0.5658 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.3745, allocations: 260.7 kB / 0.5661 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.376, allocations: 1.722 MB / 0.5677 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.376, allocations: 38.56 kB / 0.5678 GB, free: 11.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.906e-06/0.376, allocations: 4 kB / 0.5678 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01125/0.3873, allocations: 2.944 MB / 0.5707 GB, free: 8.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.3874, allocations: 59.97 kB / 0.5707 GB, free: 8.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.3889, allocations: 0.8951 MB / 0.5716 GB, free: 7.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3889, allocations: 33.7 kB / 0.5716 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/0.3895, allocations: 0.6642 MB / 0.5723 GB, free: 7.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.3897, allocations: 213 kB / 0.5725 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.3901, allocations: 242.7 kB / 0.5727 GB, free: 6.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.3903, allocations: 398.7 kB / 0.5731 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.391, allocations: 378.3 kB / 0.5734 GB, free: 6.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.3921, allocations: 0.9953 MB / 0.5744 GB, free: 4.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.394, allocations: 1.495 MB / 0.5759 GB, free: 2.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.3941, allocations: 7.938 kB / 0.5759 GB, free: 2.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002317/0.3964, allocations: 1.401 MB / 0.5772 GB, free: 1.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3964, allocations: 12 kB / 0.5773 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.3965, allocations: 31.88 kB / 0.5773 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/0.3965, allocations: 28 kB / 0.5773 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3977, allocations: 323.5 kB / 0.5776 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.3989, allocations: 1.448 MB / 0.579 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.3997, allocations: 56.06 kB / 0.5791 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.3998, allocations: 64 kB / 0.5792 GB, free: 15.44 MB / 446.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006456/0.4004, allocations: 0.4964 MB / 0.5796 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4006, allocations: 82.97 kB / 0.5797 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.4008, allocations: 116.5 kB / 0.5798 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4008, allocations: 3.984 kB / 0.5798 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4008, allocations: 7.938 kB / 0.5798 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.401, allocations: 156 kB / 0.58 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.4011, allocations: 15.92 kB / 0.58 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4015, allocations: 12 kB / 0.58 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4015, allocations: 32.52 kB / 0.58 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/0.4028, allocations: 0.7378 MB / 0.5808 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00143/0.4043, allocations: 1.18 MB / 0.5819 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003543/0.4047, allocations: 280.4 kB / 0.5822 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006906/0.4053, allocations: 0.5848 MB / 0.5828 GB, free: 11.69 MB / 446.1 MB Notification: Performance of Backend: time 8.51e-07/0.4054, allocations: 0 / 0.5828 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4071, allocations: 0.8251 MB / 0.5836 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 0.003201/0.4103, allocations: 2.297 MB / 0.5858 GB, free: 8.52 MB / 446.1 MB Notification: Performance of Templates: time 0.01926/0.4296, allocations: 10.72 MB / 0.5963 GB, free: 13.85 MB / 462.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches