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.0009072/0.0009072, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.261/1.261, allocations: 223.2 MB / 241 MB, free: 10.16 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.0009179/0.0009178, allocations: 93.77 kB / 292.2 MB, free: 10.72 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.3291/0.3291, allocations: 44.22 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 15.94 kB / 459.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4559, allocations: 99.89 MB / 0.6071 GB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4562, allocations: 79.97 kB / 0.6072 GB, free: 11.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05475/0.5109, allocations: 20.89 MB / 0.6276 GB, free: 6.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.511, allocations: 0 / 0.6276 GB, free: 6.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.511, allocations: 23.98 kB / 0.6276 GB, free: 6.148 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.002749/0.5138, allocations: 1.478 MB / 0.6291 GB, free: 4.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5138, allocations: 8.031 kB / 0.6291 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.5147, allocations: 202.3 kB / 0.6293 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.5161, allocations: 0.7128 MB / 0.63 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.5161, allocations: 78 kB / 0.63 GB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.5163, allocations: 115.9 kB / 0.6301 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/0.5212, allocations: 2.685 MB / 0.6328 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.5212, allocations: 7.938 kB / 0.6328 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5214, allocations: 47.98 kB / 0.6328 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.5216, allocations: 205.8 kB / 0.633 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.5265, allocations: 2.412 MB / 0.6354 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009572/0.5361, allocations: 8.634 MB / 0.6438 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.5397, allocations: 0.9996 MB / 0.6448 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.5414, allocations: 1.738 MB / 0.6465 GB, free: 2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.5414, allocations: 38.59 kB / 0.6465 GB, free: 1.953 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.5414, allocations: 0 / 0.6465 GB, free: 1.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01087/0.5523, allocations: 3.025 MB / 0.6495 GB, free: 14.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.5524, allocations: 59.91 kB / 0.6495 GB, free: 14.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5535, allocations: 0.8083 MB / 0.6503 GB, free: 14.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5535, allocations: 33.7 kB / 0.6503 GB, free: 14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.5541, allocations: 0.6603 MB / 0.651 GB, free: 13.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5542, allocations: 209.1 kB / 0.6512 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.5543, allocations: 28 kB / 0.6512 GB, free: 13.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5545, allocations: 406.7 kB / 0.6516 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.555, allocations: 370.4 kB / 0.652 GB, free: 12.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.556, allocations: 0.9836 MB / 0.6529 GB, free: 11.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.5568, allocations: 0.5719 MB / 0.6535 GB, free: 10.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5568, allocations: 4 kB / 0.6535 GB, free: 10.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002015/0.5589, allocations: 1.389 MB / 0.6548 GB, free: 9.055 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.5589, allocations: 17.56 kB / 0.6548 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/0.559, allocations: 20 kB / 0.6549 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.559, allocations: 39.98 kB / 0.6549 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.5602, allocations: 319.4 kB / 0.6552 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5614, allocations: 1.372 MB / 0.6566 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.5621, allocations: 56.16 kB / 0.6566 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.5622, allocations: 64 kB / 0.6567 GB, free: 7.051 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.0007345/0.5629, allocations: 0.4932 MB / 0.6571 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5631, allocations: 78.97 kB / 0.6572 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.5633, allocations: 116.7 kB / 0.6573 GB, free: 6.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5633, allocations: 8 kB / 0.6573 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5633, allocations: 0 / 0.6573 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.5633, allocations: 7.984 kB / 0.6573 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.5668, allocations: 2.16 MB / 0.6595 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.5668, allocations: 8 kB / 0.6595 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.5673, allocations: 135.7 kB / 0.6596 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.5674, allocations: 11.95 kB / 0.6596 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.5674, allocations: 20.47 kB / 0.6596 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/0.5683, allocations: 1.346 MB / 0.6609 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.5683, allocations: 12.06 kB / 0.661 GB, free: 2.375 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5695, allocations: 1.125 MB / 0.6621 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.5697, allocations: 164.1 kB / 0.6622 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.5698, allocations: 19.98 kB / 0.6622 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5701, allocations: 16 kB / 0.6622 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.5702, allocations: 55.8 kB / 0.6623 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.5702, allocations: 24 kB / 0.6623 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007667/0.571, allocations: 0.5888 MB / 0.6629 GB, free: 112 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.571, allocations: 7.938 kB / 0.6629 GB, free: 104 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001044/0.5721, allocations: 220 kB / 0.6631 GB, free: 15.88 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.0002119/0.5723, allocations: 123 kB / 0.6632 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.5737, allocations: 0.8576 MB / 0.6641 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5737, allocations: 1.812 kB / 0.6641 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5741, allocations: 272.7 kB / 0.6643 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.5747, allocations: 115.2 kB / 0.6644 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.5783, allocations: 2.5 MB / 0.6669 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.5793, allocations: 1.24 MB / 0.6681 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008973/0.5802, allocations: 343.6 kB / 0.6684 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.5804, allocations: 71.36 kB / 0.6685 GB, free: 10.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.167e-05/0.5804, allocations: 0 / 0.6685 GB, free: 10.24 MB / 490.7 MB Notification: Performance of Templates: time 0.01533/0.5958, allocations: 7.387 MB / 0.6757 GB, free: 2.906 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/jenkins/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