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.001072/0.001072, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008971/0.0008972, allocations: 103 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1761/0.1761, allocations: 45.14 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.191e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.0947, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.4924, allocations: 100.2 MB / 0.6022 GB, free: 2.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4927, allocations: 75.59 kB / 0.6023 GB, free: 2.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0528/0.5455, allocations: 20.51 MB / 0.6223 GB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5456, allocations: 0 / 0.6223 GB, free: 0.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.167e-05/0.5456, allocations: 20 kB / 0.6223 GB, free: 0.9375 MB / 410.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.002631/0.5483, allocations: 1.385 MB / 0.6237 GB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5483, allocations: 8.031 kB / 0.6237 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.5493, allocations: 209.4 kB / 0.6239 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.5505, allocations: 0.7212 MB / 0.6246 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.5506, allocations: 32 kB / 0.6246 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.5507, allocations: 60 kB / 0.6247 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002408/0.5532, allocations: 1.696 MB / 0.6264 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.5557, allocations: 1.953 MB / 0.6283 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.5558, allocations: 7.938 kB / 0.6283 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5559, allocations: 4 kB / 0.6283 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.5562, allocations: 204.6 kB / 0.6285 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007011/0.5632, allocations: 7.567 MB / 0.6359 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.5638, allocations: 408.4 kB / 0.6363 GB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.5641, allocations: 233.9 kB / 0.6365 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.5655, allocations: 1.732 MB / 0.6382 GB, free: 2.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5656, allocations: 46.19 kB / 0.6382 GB, free: 2.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.5656, allocations: 0 / 0.6382 GB, free: 2.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.006469/0.5721, allocations: 2.006 MB / 0.6402 GB, free: 1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5721, allocations: 55.97 kB / 0.6402 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/0.5729, allocations: 0.6689 MB / 0.6409 GB, free: 428 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.573, allocations: 25.7 kB / 0.6409 GB, free: 396 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5734, allocations: 0.6752 MB / 0.6416 GB, free: 15.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.5735, allocations: 209.9 kB / 0.6418 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.5736, allocations: 0 / 0.6418 GB, free: 15.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5737, allocations: 388.9 kB / 0.6421 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.5741, allocations: 344.1 kB / 0.6425 GB, free: 15.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.5749, allocations: 0.9672 MB / 0.6434 GB, free: 13.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5756, allocations: 0.5479 MB / 0.6439 GB, free: 13.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5756, allocations: 8 kB / 0.6439 GB, free: 13.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001716/0.5773, allocations: 1.219 MB / 0.6451 GB, free: 12.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5774, allocations: 16 kB / 0.6452 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.5774, allocations: 27.92 kB / 0.6452 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.627e-05/0.5775, allocations: 36 kB / 0.6452 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5787, allocations: 329.7 kB / 0.6455 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000925/0.5797, allocations: 1.321 MB / 0.6468 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.5803, allocations: 31.89 kB / 0.6468 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.5804, allocations: 70.06 kB / 0.6469 GB, free: 10.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (160): * Single equations (assignments): 159 * 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.0002168/0.5806, allocations: 173.5 kB / 0.6471 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5807, allocations: 75.06 kB / 0.6472 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.581, allocations: 106.4 kB / 0.6473 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.581, allocations: 8 kB / 0.6473 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.581, allocations: 0 / 0.6473 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.581, allocations: 11.92 kB / 0.6473 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.5839, allocations: 1.823 MB / 0.6491 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5839, allocations: 11.95 kB / 0.6491 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.5845, allocations: 128.4 kB / 0.6492 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.5845, allocations: 12 kB / 0.6492 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.5845, allocations: 8 kB / 0.6492 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008133/0.5854, allocations: 1.291 MB / 0.6505 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.5854, allocations: 8 kB / 0.6505 GB, free: 7.215 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.5863, allocations: 1.079 MB / 0.6515 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.5865, allocations: 155 kB / 0.6517 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.5866, allocations: 15.94 kB / 0.6517 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.5869, allocations: 11.98 kB / 0.6517 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.587, allocations: 58.41 kB / 0.6518 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.587, allocations: 27.44 kB / 0.6518 GB, free: 5.754 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005368/0.5875, allocations: 467 kB / 0.6522 GB, free: 5.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5875, allocations: 0 / 0.6522 GB, free: 5.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001008/0.5886, allocations: 184 kB / 0.6524 GB, free: 5.242 MB / 442.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.0001905/0.5888, allocations: 119.1 kB / 0.6525 GB, free: 5.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.5899, allocations: 0.7812 MB / 0.6533 GB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5899, allocations: 1.062 kB / 0.6533 GB, free: 4.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.5903, allocations: 254.8 kB / 0.6535 GB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.5908, allocations: 85.36 kB / 0.6536 GB, free: 4.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5933, allocations: 1.612 MB / 0.6552 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.5941, allocations: 1.243 MB / 0.6564 GB, free: 1.582 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008195/0.5949, allocations: 330.9 kB / 0.6567 GB, free: 1.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5951, allocations: 68.92 kB / 0.6568 GB, free: 1.188 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5951, allocations: 0 / 0.6568 GB, free: 1.188 MB / 442.7 MB Notification: Performance of Templates: time 0.01172/0.6068, allocations: 6.202 MB / 0.6628 GB, free: 11.03 MB / 458.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