Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002017/0.002016, allocations: 185.5 kB / 16.4 MB, free: 5.746 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.961/1.961, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001199/0.001199, allocations: 97.97 kB / 270.9 MB, free: 8.367 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.5161/0.5161, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5617/0.6863, allocations: 98.39 MB / 0.5748 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6866, allocations: 75.97 kB / 0.5749 GB, free: 4.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09189/0.7785, allocations: 20.61 MB / 0.595 GB, free: 15.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7786, allocations: 0 / 0.595 GB, free: 15.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.538e-05/0.7787, allocations: 24 kB / 0.595 GB, free: 15.5 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.005186/0.7839, allocations: 1.474 MB / 0.5965 GB, free: 13.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.784, allocations: 8.031 kB / 0.5965 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.7858, allocations: 205.7 kB / 0.5967 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.7881, allocations: 0.7243 MB / 0.5974 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.7882, allocations: 74.05 kB / 0.5975 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/0.7886, allocations: 104 kB / 0.5976 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009795/0.7984, allocations: 2.681 MB / 0.6002 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/0.7985, allocations: 11.94 kB / 0.6002 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.7988, allocations: 51.97 kB / 0.6002 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004774/0.7993, allocations: 206.8 kB / 0.6004 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009832/0.8091, allocations: 2.408 MB / 0.6028 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.8237, allocations: 8.641 MB / 0.6112 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.8313, allocations: 1.009 MB / 0.6122 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/0.8339, allocations: 1.73 MB / 0.6139 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.834, allocations: 42.59 kB / 0.6139 GB, free: 11.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.297e-06/0.834, allocations: 0 / 0.6139 GB, free: 11.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02144/0.8555, allocations: 3.03 MB / 0.6169 GB, free: 8.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.8556, allocations: 59.91 kB / 0.617 GB, free: 8.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.8573, allocations: 0.8083 MB / 0.6177 GB, free: 7.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.8575, allocations: 37.7 kB / 0.6178 GB, free: 7.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.8581, allocations: 0.6824 MB / 0.6185 GB, free: 6.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.8584, allocations: 209 kB / 0.6187 GB, free: 6.453 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.8585, allocations: 28 kB / 0.6187 GB, free: 6.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8587, allocations: 362.8 kB / 0.619 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009509/0.8596, allocations: 366.4 kB / 0.6194 GB, free: 5.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.8611, allocations: 0.9836 MB / 0.6203 GB, free: 4.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.8625, allocations: 0.5758 MB / 0.6209 GB, free: 3.836 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.8626, allocations: 8 kB / 0.6209 GB, free: 3.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00338/0.866, allocations: 1.35 MB / 0.6222 GB, free: 2.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.8661, allocations: 16 kB / 0.6222 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.8661, allocations: 20 kB / 0.6223 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.905e-05/0.8662, allocations: 39.94 kB / 0.6223 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.8686, allocations: 319.4 kB / 0.6226 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.8701, allocations: 1.372 MB / 0.6239 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.8713, allocations: 52.23 kB / 0.624 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.8715, allocations: 68 kB / 0.6241 GB, free: 476 kB / 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 () * 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.001203/0.8727, allocations: 0.4942 MB / 0.6245 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.873, allocations: 86.88 kB / 0.6246 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.8733, allocations: 116.7 kB / 0.6247 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8733, allocations: 7.984 kB / 0.6247 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8734, allocations: 3.953 kB / 0.6247 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8734, allocations: 4 kB / 0.6247 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.8796, allocations: 2.174 MB / 0.6269 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.8796, allocations: 8 kB / 0.6269 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.8808, allocations: 123.8 kB / 0.627 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/0.8808, allocations: 8 kB / 0.627 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.8809, allocations: 20.5 kB / 0.627 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.8822, allocations: 1.348 MB / 0.6283 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.8822, allocations: 12.25 kB / 0.6284 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.8842, allocations: 1.127 MB / 0.6295 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.8848, allocations: 207.9 kB / 0.6296 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.8849, allocations: 16 kB / 0.6297 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.8855, allocations: 23.77 kB / 0.6297 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.8857, allocations: 55.84 kB / 0.6297 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.8857, allocations: 20 kB / 0.6298 GB, free: 10.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.8871, allocations: 0.6004 MB / 0.6303 GB, free: 9.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8872, allocations: 4 kB / 0.6304 GB, free: 9.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001638/0.8888, allocations: 212 kB / 0.6306 GB, free: 9.254 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.0002943/0.8891, allocations: 127.1 kB / 0.6307 GB, free: 9.121 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.8917, allocations: 0.8672 MB / 0.6315 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.262e-05/0.8918, allocations: 0 / 0.6315 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008863/0.8927, allocations: 288 kB / 0.6318 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.8937, allocations: 124.2 kB / 0.6319 GB, free: 7.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.8997, allocations: 2.599 MB / 0.6345 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.9012, allocations: 1.248 MB / 0.6357 GB, free: 3.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.9017, allocations: 67.44 kB / 0.6357 GB, free: 3.793 MB / 458.7 MB Notification: Performance of SimCode: time 3.256e-06/0.9017, allocations: 8 kB / 0.6357 GB, free: 3.785 MB / 458.7 MB Notification: Performance of Templates: time 0.0358/0.9375, allocations: 15.94 MB / 0.6513 GB, free: 3.852 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches