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.001011/0.001011, allocations: 175 kB / 16.76 MB, free: 5.043 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.403/1.403, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0008086/0.0008087, allocations: 84.8 kB / 271.3 MB, free: 8.246 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.3319/0.3319, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4529, allocations: 98.49 MB / 0.5761 GB, free: 3.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.4532, allocations: 75.97 kB / 0.5762 GB, free: 3.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05393/0.5071, allocations: 20.47 MB / 0.5962 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5072, allocations: 0 / 0.5962 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.042e-05/0.5073, allocations: 24 kB / 0.5962 GB, free: 14.85 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.004335/0.5116, allocations: 1.454 MB / 0.5976 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5117, allocations: 11.97 kB / 0.5977 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.5131, allocations: 203.2 kB / 0.5978 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.515, allocations: 0.7331 MB / 0.5986 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.5151, allocations: 78.42 kB / 0.5986 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.5155, allocations: 100.3 kB / 0.5987 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005612/0.5211, allocations: 2.654 MB / 0.6013 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.5212, allocations: 8.125 kB / 0.6013 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.5213, allocations: 47.92 kB / 0.6014 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.5216, allocations: 209.8 kB / 0.6016 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.5265, allocations: 2.377 MB / 0.6039 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.5366, allocations: 8.609 MB / 0.6123 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.54, allocations: 1.005 MB / 0.6133 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.5403, allocations: 260.7 kB / 0.6135 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.5417, allocations: 1.73 MB / 0.6152 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5417, allocations: 42.59 kB / 0.6153 GB, free: 10.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.5417, allocations: 0 / 0.6153 GB, free: 10.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01041/0.5521, allocations: 3.026 MB / 0.6182 GB, free: 7.484 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.5522, allocations: 59.91 kB / 0.6183 GB, free: 7.414 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.5534, allocations: 0.9106 MB / 0.6192 GB, free: 6.492 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.5534, allocations: 33.7 kB / 0.6192 GB, free: 6.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.5539, allocations: 0.6604 MB / 0.6198 GB, free: 5.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.554, allocations: 213 kB / 0.62 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.5541, allocations: 28 kB / 0.6201 GB, free: 5.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5543, allocations: 398.7 kB / 0.6205 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.5548, allocations: 362.4 kB / 0.6208 GB, free: 4.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/0.5558, allocations: 0.9875 MB / 0.6218 GB, free: 3.492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.5574, allocations: 1.495 MB / 0.6232 GB, free: 1.691 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.5575, allocations: 8 kB / 0.6232 GB, free: 1.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002077/0.5595, allocations: 1.381 MB / 0.6246 GB, free: 304 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.5596, allocations: 12 kB / 0.6246 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.5596, allocations: 24 kB / 0.6246 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.624e-05/0.5597, allocations: 32 kB / 0.6246 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5609, allocations: 323.4 kB / 0.625 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.5619, allocations: 1.36 MB / 0.6263 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.5626, allocations: 55.89 kB / 0.6263 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.5627, allocations: 64 kB / 0.6264 GB, free: 14.3 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 () * 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.0007721/0.5634, allocations: 0.4933 MB / 0.6269 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.5636, allocations: 90.88 kB / 0.627 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5638, allocations: 120.7 kB / 0.6271 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5638, allocations: 8 kB / 0.6271 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5638, allocations: 0 / 0.6271 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5639, allocations: 3.984 kB / 0.6271 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.5673, allocations: 2.166 MB / 0.6292 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5673, allocations: 4 kB / 0.6292 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.5678, allocations: 127.8 kB / 0.6293 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.5679, allocations: 12 kB / 0.6293 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.5679, allocations: 16 kB / 0.6294 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/0.5687, allocations: 1.333 MB / 0.6307 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5687, allocations: 7.938 kB / 0.6307 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.5696, allocations: 0.8263 MB / 0.6315 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.5699, allocations: 219.8 kB / 0.6317 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.57, allocations: 20 kB / 0.6317 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.5703, allocations: 19.98 kB / 0.6317 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.5704, allocations: 47.83 kB / 0.6318 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.5705, allocations: 28 kB / 0.6318 GB, free: 8.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007182/0.5712, allocations: 0.5888 MB / 0.6324 GB, free: 7.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5712, allocations: 0 / 0.6324 GB, free: 7.785 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009239/0.5721, allocations: 220 kB / 0.6326 GB, free: 7.57 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 () * 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.0002004/0.5723, allocations: 135 kB / 0.6327 GB, free: 7.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.5736, allocations: 0.8549 MB / 0.6335 GB, free: 6.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.5736, allocations: 4 kB / 0.6335 GB, free: 6.574 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.5741, allocations: 284.5 kB / 0.6338 GB, free: 6.297 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5754, allocations: 119.1 kB / 0.6339 GB, free: 6.188 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.5791, allocations: 2.507 MB / 0.6364 GB, free: 3.566 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.5801, allocations: 1.228 MB / 0.6376 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009472/0.5811, allocations: 339.6 kB / 0.6379 GB, free: 1.977 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.5813, allocations: 67.44 kB / 0.638 GB, free: 1.91 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5813, allocations: 4 kB / 0.638 GB, free: 1.906 MB / 458.7 MB Notification: Performance of Templates: time 0.01686/0.5981, allocations: 7.421 MB / 0.6452 GB, free: 10.51 MB / 474.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/jenkins1/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