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.0008908/0.0008909, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.355/1.355, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.0007751/0.0007752, allocations: 87.36 kB / 271.9 MB, free: 8.242 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.3065/0.3065, allocations: 43.57 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.3862, allocations: 98.49 MB / 0.5761 GB, free: 3.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.3865, allocations: 79.94 kB / 0.5762 GB, free: 3.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05314/0.4397, allocations: 20.46 MB / 0.5962 GB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4397, allocations: 0 / 0.5962 GB, free: 15.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.666e-05/0.4398, allocations: 27.98 kB / 0.5962 GB, free: 15.12 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.003553/0.4434, allocations: 1.454 MB / 0.5976 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4434, allocations: 12.03 kB / 0.5976 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.4446, allocations: 207.2 kB / 0.5978 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4461, allocations: 0.7331 MB / 0.5985 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.4462, allocations: 74.42 kB / 0.5986 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.4466, allocations: 112.3 kB / 0.5987 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/0.452, allocations: 2.651 MB / 0.6013 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.4521, allocations: 12.06 kB / 0.6013 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.4522, allocations: 47.92 kB / 0.6014 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003013/0.4525, allocations: 201.9 kB / 0.6016 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005364/0.4579, allocations: 2.373 MB / 0.6039 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009932/0.4679, allocations: 8.613 MB / 0.6123 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.4717, allocations: 1.013 MB / 0.6133 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.4721, allocations: 256.7 kB / 0.6135 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.4735, allocations: 1.726 MB / 0.6152 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.4736, allocations: 34.56 kB / 0.6152 GB, free: 10.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.206e-06/0.4736, allocations: 0 / 0.6152 GB, free: 10.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01122/0.4848, allocations: 3.038 MB / 0.6182 GB, free: 7.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.4849, allocations: 59.97 kB / 0.6183 GB, free: 7.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.4864, allocations: 0.9067 MB / 0.6191 GB, free: 6.758 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4864, allocations: 33.7 kB / 0.6192 GB, free: 6.719 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.4869, allocations: 0.6564 MB / 0.6198 GB, free: 6.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4871, allocations: 217 kB / 0.62 GB, free: 5.836 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.4871, allocations: 24 kB / 0.62 GB, free: 5.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4873, allocations: 402.7 kB / 0.6204 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.4879, allocations: 374.3 kB / 0.6208 GB, free: 5.043 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.4889, allocations: 0.9836 MB / 0.6217 GB, free: 3.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.4906, allocations: 1.491 MB / 0.6232 GB, free: 1.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.4906, allocations: 7.938 kB / 0.6232 GB, free: 1.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002197/0.4928, allocations: 1.385 MB / 0.6246 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4929, allocations: 16 kB / 0.6246 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.4929, allocations: 20 kB / 0.6246 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.052e-05/0.4929, allocations: 32 kB / 0.6246 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4941, allocations: 316 kB / 0.6249 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.4952, allocations: 1.36 MB / 0.6263 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.496, allocations: 60.05 kB / 0.6263 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4961, allocations: 68 kB / 0.6264 GB, free: 14.56 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.0008355/0.4969, allocations: 0.4893 MB / 0.6269 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4971, allocations: 86.88 kB / 0.6269 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.4974, allocations: 120.7 kB / 0.6271 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4974, allocations: 4 kB / 0.6271 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4974, allocations: 4 kB / 0.6271 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4974, allocations: 3.938 kB / 0.6271 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.5012, allocations: 2.173 MB / 0.6292 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.5012, allocations: 8 kB / 0.6292 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.5018, allocations: 128.4 kB / 0.6293 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.5018, allocations: 8 kB / 0.6293 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5018, allocations: 27.94 kB / 0.6294 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.5027, allocations: 1.321 MB / 0.6306 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.5028, allocations: 16.09 kB / 0.6307 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.5038, allocations: 0.8222 MB / 0.6315 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.5041, allocations: 207.9 kB / 0.6317 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.5043, allocations: 19.98 kB / 0.6317 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.5046, allocations: 16 kB / 0.6317 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.5047, allocations: 59.77 kB / 0.6317 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.5048, allocations: 20 kB / 0.6318 GB, free: 8.637 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008987/0.5057, allocations: 0.5927 MB / 0.6323 GB, free: 8.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5057, allocations: 0 / 0.6323 GB, free: 8.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001034/0.5067, allocations: 216 kB / 0.6326 GB, free: 7.836 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.0002193/0.507, allocations: 131 kB / 0.6327 GB, free: 7.699 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.5085, allocations: 0.8554 MB / 0.6335 GB, free: 6.848 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5085, allocations: 8 kB / 0.6335 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.509, allocations: 277 kB / 0.6338 GB, free: 6.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5105, allocations: 137.9 kB / 0.6339 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.5146, allocations: 2.619 MB / 0.6365 GB, free: 3.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5157, allocations: 1.224 MB / 0.6377 GB, free: 2.453 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.5159, allocations: 71.44 kB / 0.6377 GB, free: 2.383 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5159, allocations: 0 / 0.6377 GB, free: 2.383 MB / 458.7 MB Notification: Performance of Templates: time 0.02299/0.5389, allocations: 16.42 MB / 0.6538 GB, free: 1.965 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