Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009781/0.000978, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007537/0.0007538, allocations: 88.27 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3293/0.3293, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.353e-05, allocations: 8 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4837, allocations: 98.29 MB / 0.5688 GB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4839, allocations: 82.19 kB / 0.5689 GB, free: 7.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04925/0.5332, allocations: 20.6 MB / 0.589 GB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5332, allocations: 0 / 0.589 GB, free: 5.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-05/0.5333, allocations: 24 kB / 0.589 GB, free: 5.629 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.002544/0.5358, allocations: 1.386 MB / 0.5904 GB, free: 4.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5359, allocations: 12.03 kB / 0.5904 GB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.5368, allocations: 205.7 kB / 0.5906 GB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5381, allocations: 0.718 MB / 0.5913 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.5382, allocations: 73.05 kB / 0.5913 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.5384, allocations: 107.2 kB / 0.5914 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005286/0.5437, allocations: 2.66 MB / 0.594 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.5438, allocations: 12.56 kB / 0.5941 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.5439, allocations: 46.98 kB / 0.5941 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/0.5442, allocations: 207.1 kB / 0.5943 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/0.55, allocations: 2.381 MB / 0.5966 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008162/0.5581, allocations: 8.639 MB / 0.6051 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.5619, allocations: 1.008 MB / 0.606 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.5623, allocations: 260.9 kB / 0.6063 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.5637, allocations: 1.725 MB / 0.608 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5637, allocations: 41.42 kB / 0.608 GB, free: 4.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.5637, allocations: 0 / 0.608 GB, free: 4.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01002/0.5737, allocations: 2.705 MB / 0.6107 GB, free: 2.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5738, allocations: 55.97 kB / 0.6107 GB, free: 2.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/0.5748, allocations: 0.798 MB / 0.6115 GB, free: 1.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.5748, allocations: 36.83 kB / 0.6115 GB, free: 1.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.5752, allocations: 0.6597 MB / 0.6122 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5753, allocations: 211.4 kB / 0.6124 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.5754, allocations: 25.81 kB / 0.6124 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5755, allocations: 398.2 kB / 0.6128 GB, free: 416 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.576, allocations: 356.1 kB / 0.6131 GB, free: 172 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/0.5768, allocations: 0.9776 MB / 0.6141 GB, free: 15.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.5775, allocations: 0.5721 MB / 0.6146 GB, free: 14.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.5775, allocations: 8 kB / 0.6146 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001691/0.5792, allocations: 1.373 MB / 0.616 GB, free: 13.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5793, allocations: 16 kB / 0.616 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.5793, allocations: 20 kB / 0.616 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.5793, allocations: 32 kB / 0.616 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.5805, allocations: 329.5 kB / 0.6164 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/0.5814, allocations: 1.361 MB / 0.6177 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.582, allocations: 61.8 kB / 0.6177 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.5821, allocations: 65.38 kB / 0.6178 GB, free: 11.58 MB / 442.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.0001852/0.5823, allocations: 208.6 kB / 0.618 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5824, allocations: 86.95 kB / 0.6181 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.5826, allocations: 114.4 kB / 0.6182 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5826, allocations: 11.95 kB / 0.6182 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5826, allocations: 7.984 kB / 0.6182 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5826, allocations: 0 / 0.6182 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.5856, allocations: 2.166 MB / 0.6203 GB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5856, allocations: 4 kB / 0.6203 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.5861, allocations: 127.2 kB / 0.6205 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.5862, allocations: 12.62 kB / 0.6205 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.5862, allocations: 15.06 kB / 0.6205 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.587, allocations: 1.338 MB / 0.6218 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.587, allocations: 8 kB / 0.6218 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.588, allocations: 1.122 MB / 0.6229 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.5883, allocations: 205.4 kB / 0.6231 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.5884, allocations: 22.5 kB / 0.6231 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5887, allocations: 21.98 kB / 0.6231 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.5888, allocations: 53.28 kB / 0.6232 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.5888, allocations: 18.75 kB / 0.6232 GB, free: 6.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006359/0.5894, allocations: 0.5874 MB / 0.6238 GB, free: 5.867 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5894, allocations: 7.938 kB / 0.6238 GB, free: 5.859 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008305/0.5903, allocations: 216.7 kB / 0.624 GB, free: 5.672 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.0001786/0.5905, allocations: 122 kB / 0.6241 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.5915, allocations: 0.8409 MB / 0.6249 GB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5916, allocations: 5.812 kB / 0.6249 GB, free: 4.906 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.5919, allocations: 279 kB / 0.6252 GB, free: 4.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.5924, allocations: 105.5 kB / 0.6253 GB, free: 4.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.595, allocations: 1.659 MB / 0.6269 GB, free: 3.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.5959, allocations: 1.245 MB / 0.6281 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008097/0.5967, allocations: 339.6 kB / 0.6285 GB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.5969, allocations: 63.44 kB / 0.6285 GB, free: 1.496 MB / 442.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5969, allocations: 0 / 0.6285 GB, free: 1.496 MB / 442.7 MB Notification: Performance of Templates: time 0.01326/0.6101, allocations: 7.397 MB / 0.6357 GB, free: 10.14 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches