Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 183 kB / 18.09 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 242.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007536/0.0007537, allocations: 97.22 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3264/0.3264, allocations: 44.14 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 12 kB / 461.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4189, allocations: 61.87 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5514, allocations: 99.95 MB / 0.6083 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5517, allocations: 87.92 kB / 0.6084 GB, free: 11.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05479/0.6066, allocations: 20.76 MB / 0.6287 GB, free: 6.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6066, allocations: 0 / 0.6287 GB, free: 6.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.311e-05/0.6067, allocations: 23.98 kB / 0.6287 GB, free: 6.16 MB / 442.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.003718/0.6104, allocations: 1.455 MB / 0.6301 GB, free: 4.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6105, allocations: 8.031 kB / 0.6301 GB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.6117, allocations: 203.2 kB / 0.6303 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.6134, allocations: 0.7409 MB / 0.6311 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.6135, allocations: 78.42 kB / 0.6311 GB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.6139, allocations: 100.3 kB / 0.6312 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.6206, allocations: 2.646 MB / 0.6338 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.23e-05/0.6207, allocations: 16.12 kB / 0.6338 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.621, allocations: 47.92 kB / 0.6339 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004247/0.6214, allocations: 205.8 kB / 0.6341 GB, free: 404 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007705/0.6291, allocations: 2.377 MB / 0.6364 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.645, allocations: 8.603 MB / 0.6448 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/0.6501, allocations: 1.007 MB / 0.6458 GB, free: 4.129 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.6507, allocations: 257.4 kB / 0.646 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/0.6527, allocations: 1.734 MB / 0.6477 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.6528, allocations: 42.56 kB / 0.6478 GB, free: 1.812 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 3.056e-06/0.6528, allocations: 0 / 0.6478 GB, free: 1.812 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01557/0.6684, allocations: 3.024 MB / 0.6507 GB, free: 14.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.6685, allocations: 55.97 kB / 0.6508 GB, free: 14.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.6703, allocations: 0.9028 MB / 0.6516 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.6704, allocations: 41.7 kB / 0.6517 GB, free: 13.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.6711, allocations: 0.6564 MB / 0.6523 GB, free: 13.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.6714, allocations: 217.1 kB / 0.6525 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.6715, allocations: 24 kB / 0.6526 GB, free: 12.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.6717, allocations: 402.7 kB / 0.6529 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.6726, allocations: 362.4 kB / 0.6533 GB, free: 12.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.674, allocations: 0.9875 MB / 0.6542 GB, free: 10.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.6764, allocations: 1.491 MB / 0.6557 GB, free: 8.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.6764, allocations: 8 kB / 0.6557 GB, free: 8.984 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003121/0.6796, allocations: 1.385 MB / 0.6571 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.6796, allocations: 16 kB / 0.6571 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/0.6797, allocations: 20 kB / 0.6571 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/0.6797, allocations: 32 kB / 0.6571 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.6814, allocations: 323.4 kB / 0.6574 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.6827, allocations: 1.365 MB / 0.6588 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.6839, allocations: 51.91 kB / 0.6588 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.684, allocations: 64 kB / 0.6589 GB, free: 5.602 MB / 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.001094/0.6851, allocations: 0.5011 MB / 0.6594 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6853, allocations: 82.97 kB / 0.6594 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.6857, allocations: 120.7 kB / 0.6596 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6857, allocations: 4 kB / 0.6596 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6857, allocations: 0 / 0.6596 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6857, allocations: 3.984 kB / 0.6596 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.691, allocations: 2.156 MB / 0.6617 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.6911, allocations: 8 kB / 0.6617 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.6919, allocations: 127.8 kB / 0.6618 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/0.6919, allocations: 8 kB / 0.6618 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.692, allocations: 20 kB / 0.6618 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.6932, allocations: 1.333 MB / 0.6631 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.6932, allocations: 11.94 kB / 0.6631 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.6947, allocations: 0.8181 MB / 0.6639 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.6952, allocations: 168 kB / 0.6641 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.6954, allocations: 20 kB / 0.6641 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.696, allocations: 20 kB / 0.6641 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6962, allocations: 51.81 kB / 0.6642 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.6962, allocations: 24 kB / 0.6642 GB, free: 15.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.6977, allocations: 0.5888 MB / 0.6648 GB, free: 15.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6977, allocations: 0 / 0.6648 GB, free: 15.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001846/0.6995, allocations: 220 kB / 0.665 GB, free: 14.93 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.0002824/0.6998, allocations: 127 kB / 0.6651 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.702, allocations: 0.8673 MB / 0.666 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.702, allocations: 4 kB / 0.666 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006495/0.7027, allocations: 284.5 kB / 0.6662 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.7047, allocations: 124.4 kB / 0.6664 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.7102, allocations: 2.508 MB / 0.6688 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.7117, allocations: 1.224 MB / 0.67 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001503/0.7132, allocations: 339.6 kB / 0.6703 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.7135, allocations: 67.42 kB / 0.6704 GB, free: 9.266 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7135, allocations: 0 / 0.6704 GB, free: 9.266 MB / 490.7 MB Notification: Performance of Templates: time 0.02232/0.7359, allocations: 7.426 MB / 0.6776 GB, free: 1.895 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches