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.001058/0.001058, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008057/0.0008055, allocations: 95.64 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1841/0.1841, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.467e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09753, allocations: 63.25 MB / 0.5114 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4381, allocations: 100.9 MB / 0.6099 GB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.4383, allocations: 71.53 kB / 0.61 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05283/0.4911, allocations: 20.93 MB / 0.6304 GB, free: 6.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4912, allocations: 0 / 0.6304 GB, free: 6.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.469e-05/0.4912, allocations: 20 kB / 0.6304 GB, free: 6.949 MB / 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.003002/0.4942, allocations: 1.394 MB / 0.6318 GB, free: 5.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4943, allocations: 19.95 kB / 0.6318 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4954, allocations: 206.2 kB / 0.632 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.4968, allocations: 0.7105 MB / 0.6327 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.4968, allocations: 74.8 kB / 0.6327 GB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.4971, allocations: 105.3 kB / 0.6328 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005411/0.5025, allocations: 2.667 MB / 0.6355 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.5026, allocations: 7.938 kB / 0.6355 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.5027, allocations: 49.03 kB / 0.6355 GB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.503, allocations: 205.6 kB / 0.6357 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.5082, allocations: 2.385 MB / 0.638 GB, free: 464 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008727/0.5169, allocations: 8.622 MB / 0.6465 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.5207, allocations: 0.9955 MB / 0.6474 GB, free: 8.094 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.521, allocations: 255.1 kB / 0.6477 GB, free: 7.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5224, allocations: 1.741 MB / 0.6494 GB, free: 5.977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5225, allocations: 37.52 kB / 0.6494 GB, free: 5.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.5225, allocations: 0 / 0.6494 GB, free: 5.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01004/0.5325, allocations: 2.7 MB / 0.652 GB, free: 3.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.5326, allocations: 62.72 kB / 0.6521 GB, free: 3.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.5336, allocations: 0.794 MB / 0.6529 GB, free: 2.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.5336, allocations: 33.89 kB / 0.6529 GB, free: 2.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.534, allocations: 0.6631 MB / 0.6536 GB, free: 2.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.5341, allocations: 210.3 kB / 0.6538 GB, free: 2.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.5342, allocations: 26.88 kB / 0.6538 GB, free: 2.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5344, allocations: 399.9 kB / 0.6542 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.5349, allocations: 355.8 kB / 0.6545 GB, free: 1.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008565/0.5357, allocations: 0.9807 MB / 0.6555 GB, free: 336 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/0.5364, allocations: 0.5731 MB / 0.656 GB, free: 15.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5365, allocations: 4 kB / 0.656 GB, free: 15.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001802/0.5383, allocations: 1.378 MB / 0.6574 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5383, allocations: 12 kB / 0.6574 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.5383, allocations: 27.98 kB / 0.6574 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.784e-05/0.5384, allocations: 36.73 kB / 0.6574 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5395, allocations: 321.9 kB / 0.6577 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008799/0.5404, allocations: 1.371 MB / 0.6591 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.541, allocations: 57.14 kB / 0.6591 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.5411, allocations: 64.62 kB / 0.6592 GB, free: 12.86 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.0001796/0.5413, allocations: 211.8 kB / 0.6594 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5414, allocations: 87.06 kB / 0.6595 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.5416, allocations: 120.1 kB / 0.6596 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5417, allocations: 4 kB / 0.6596 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5417, allocations: 0 / 0.6596 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5417, allocations: 0 / 0.6596 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.545, allocations: 2.151 MB / 0.6617 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.545, allocations: 8.812 kB / 0.6617 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.5455, allocations: 127.1 kB / 0.6618 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/0.5456, allocations: 8 kB / 0.6618 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.5456, allocations: 19.81 kB / 0.6619 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/0.5464, allocations: 1.345 MB / 0.6632 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5465, allocations: 7.828 kB / 0.6632 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5475, allocations: 1.131 MB / 0.6643 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.5478, allocations: 170.9 kB / 0.6645 GB, free: 7.703 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.5479, allocations: 21.7 kB / 0.6645 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5482, allocations: 18.23 kB / 0.6645 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.5483, allocations: 56.41 kB / 0.6645 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.5483, allocations: 19.88 kB / 0.6646 GB, free: 7.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006968/0.549, allocations: 0.5816 MB / 0.6651 GB, free: 7.188 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.549, allocations: 3.938 kB / 0.6651 GB, free: 7.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001041/0.5501, allocations: 217.2 kB / 0.6653 GB, free: 6.996 MB / 458.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.0002255/0.5503, allocations: 125.5 kB / 0.6655 GB, free: 6.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.5518, allocations: 0.8439 MB / 0.6663 GB, free: 6.094 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.5518, allocations: 4 kB / 0.6663 GB, free: 6.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.5523, allocations: 267.6 kB / 0.6665 GB, free: 5.828 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.5528, allocations: 111.5 kB / 0.6667 GB, free: 5.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.5558, allocations: 1.662 MB / 0.6683 GB, free: 3.953 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009616/0.5567, allocations: 1.24 MB / 0.6695 GB, free: 2.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009026/0.5576, allocations: 343.6 kB / 0.6698 GB, free: 2.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5578, allocations: 71.42 kB / 0.6699 GB, free: 2.273 MB / 458.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5578, allocations: 4 kB / 0.6699 GB, free: 2.27 MB / 458.7 MB Notification: Performance of Templates: time 0.0147/0.5726, allocations: 7.383 MB / 0.6771 GB, free: 10.93 MB / 474.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/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