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.001218/0.001218, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.701/1.701, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007729/0.0007728, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2125/0.2125, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4981, allocations: 98.39 MB / 0.5748 GB, free: 1.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4984, allocations: 78.41 kB / 0.5749 GB, free: 1.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05312/0.5516, allocations: 20.6 MB / 0.595 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5516, allocations: 4 kB / 0.595 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.508e-05/0.5517, allocations: 27.94 kB / 0.5951 GB, free: 15.56 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.002788/0.5545, allocations: 1.463 MB / 0.5965 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.5545, allocations: 8.031 kB / 0.5965 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.5555, allocations: 210.2 kB / 0.5967 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.557, allocations: 0.7209 MB / 0.5974 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.557, allocations: 73.61 kB / 0.5975 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.5572, allocations: 105 kB / 0.5976 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005053/0.5623, allocations: 2.682 MB / 0.6002 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.5623, allocations: 11.31 kB / 0.6002 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5625, allocations: 56.03 kB / 0.6003 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/0.5627, allocations: 205.2 kB / 0.6005 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.5675, allocations: 2.408 MB / 0.6028 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009155/0.5767, allocations: 8.637 MB / 0.6112 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.5802, allocations: 1.012 MB / 0.6122 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.5819, allocations: 1.738 MB / 0.6139 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.582, allocations: 41.81 kB / 0.614 GB, free: 14.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.582, allocations: 0 / 0.614 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01079/0.5928, allocations: 3.023 MB / 0.6169 GB, free: 11.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5929, allocations: 55.97 kB / 0.617 GB, free: 11.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5939, allocations: 0.8092 MB / 0.6178 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.594, allocations: 35.7 kB / 0.6178 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.5943, allocations: 0.6584 MB / 0.6184 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5945, allocations: 219.3 kB / 0.6186 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.5946, allocations: 29.12 kB / 0.6187 GB, free: 10.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5947, allocations: 397.7 kB / 0.6191 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.5952, allocations: 367.6 kB / 0.6194 GB, free: 9.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/0.5961, allocations: 0.9852 MB / 0.6204 GB, free: 8.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.5968, allocations: 0.5749 MB / 0.6209 GB, free: 8.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.5969, allocations: 8 kB / 0.6209 GB, free: 8.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00187/0.5987, allocations: 1.383 MB / 0.6223 GB, free: 7.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5988, allocations: 19.98 kB / 0.6223 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.5988, allocations: 24 kB / 0.6223 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/0.5989, allocations: 32 kB / 0.6224 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.6, allocations: 326.6 kB / 0.6227 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.6011, allocations: 1.37 MB / 0.624 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.6019, allocations: 50.55 kB / 0.6241 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.6019, allocations: 65.62 kB / 0.6241 GB, free: 5.324 MB / 426.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.0007134/0.6027, allocations: 0.4945 MB / 0.6246 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.6028, allocations: 86.88 kB / 0.6247 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.603, allocations: 122.4 kB / 0.6248 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.603, allocations: 8 kB / 0.6248 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.603, allocations: 3.953 kB / 0.6248 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6031, allocations: 3.984 kB / 0.6248 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.6064, allocations: 2.174 MB / 0.6269 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6064, allocations: 4 kB / 0.6269 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.6069, allocations: 123.9 kB / 0.6271 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.6069, allocations: 19.98 kB / 0.6271 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.607, allocations: 14.75 kB / 0.6271 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009397/0.6079, allocations: 1.343 MB / 0.6284 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.608, allocations: 8 kB / 0.6284 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6091, allocations: 1.128 MB / 0.6295 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.6095, allocations: 204.9 kB / 0.6297 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.6096, allocations: 19.05 kB / 0.6297 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.61, allocations: 23.02 kB / 0.6298 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.61, allocations: 47.09 kB / 0.6298 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.6101, allocations: 23.69 kB / 0.6298 GB, free: 15.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008116/0.6109, allocations: 0.5965 MB / 0.6304 GB, free: 15.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6109, allocations: 3.938 kB / 0.6304 GB, free: 15.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001251/0.6122, allocations: 220 kB / 0.6306 GB, free: 15.05 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 () * 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.000258/0.6124, allocations: 119.1 kB / 0.6307 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.6139, allocations: 0.8585 MB / 0.6316 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.614, allocations: 0.8125 kB / 0.6316 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.6144, allocations: 279.6 kB / 0.6318 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.615, allocations: 111.4 kB / 0.6319 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.6188, allocations: 2.496 MB / 0.6344 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009051/0.6197, allocations: 1.248 MB / 0.6356 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008912/0.6206, allocations: 343.5 kB / 0.6359 GB, free: 9.461 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.6208, allocations: 71.44 kB / 0.636 GB, free: 9.391 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6208, allocations: 0 / 0.636 GB, free: 9.391 MB / 442.7 MB Notification: Performance of Templates: time 0.01443/0.6352, allocations: 7.387 MB / 0.6432 GB, free: 2.02 MB / 442.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