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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 112.6 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 199.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.221/0.221, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 73.88 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009562/0.1397, allocations: 7.628 MB / 0.496 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.1454, allocations: 2.536 MB / 0.4985 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.1468, allocations: 39.94 kB / 0.4985 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.1489, allocations: 0.8798 MB / 0.4994 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1501, allocations: 318.2 kB / 0.4997 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1511, allocations: 323.2 kB / 0.5 GB, free: 12 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.1525, allocations: 0.7475 MB / 0.5007 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.1539, allocations: 0.8217 MB / 0.5015 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.1546, allocations: 378.5 kB / 0.5019 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1558, allocations: 0.6583 MB / 0.5025 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003972/0.1562, allocations: 107.9 kB / 0.5026 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1574, allocations: 0.507 MB / 0.5031 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.1581, allocations: 0.4987 MB / 0.5036 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.1593, allocations: 0.5671 MB / 0.5042 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.1623, allocations: 1.787 MB / 0.5059 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1623, allocations: 4 kB / 0.5059 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1623, allocations: 0 / 0.5059 GB, free: 9.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.103e-05/0.1624, allocations: 0 / 0.5059 GB, free: 9.914 MB / 398.1 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.004378/0.1668, allocations: 1.63 MB / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1668, allocations: 11.89 kB / 0.5075 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.1677, allocations: 175.2 kB / 0.5077 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1689, allocations: 0.6317 MB / 0.5083 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.169, allocations: 58.34 kB / 0.5084 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.1693, allocations: 83.81 kB / 0.5084 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.1744, allocations: 2.68 MB / 0.5111 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.1745, allocations: 3.938 kB / 0.5111 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1746, allocations: 39.97 kB / 0.5111 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004918/0.1751, allocations: 377.7 kB / 0.5115 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.1802, allocations: 2.353 MB / 0.5138 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009574/0.1898, allocations: 8.251 MB / 0.5218 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.1934, allocations: 0.9795 MB / 0.5228 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1938, allocations: 256.7 kB / 0.523 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.1954, allocations: 1.734 MB / 0.5247 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1954, allocations: 34.56 kB / 0.5247 GB, free: 5.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.775e-06/0.1955, allocations: 4 kB / 0.5247 GB, free: 5.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.0112/0.2067, allocations: 2.943 MB / 0.5276 GB, free: 2.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2067, allocations: 55.97 kB / 0.5277 GB, free: 2.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.2081, allocations: 0.9146 MB / 0.5286 GB, free: 1.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.2082, allocations: 33.7 kB / 0.5286 GB, free: 1.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.2087, allocations: 0.6603 MB / 0.5292 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.2089, allocations: 213.1 kB / 0.5295 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.2092, allocations: 246.6 kB / 0.5297 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2094, allocations: 406.7 kB / 0.5301 GB, free: 316 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2846/0.4941, allocations: 367.3 kB / 0.5304 GB, free: 40.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.4951, allocations: 0.9932 MB / 0.5314 GB, free: 39.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4964, allocations: 1.495 MB / 0.5329 GB, free: 39.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4964, allocations: 6.031 kB / 0.5329 GB, free: 39.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002051/0.4985, allocations: 1.398 MB / 0.5342 GB, free: 38.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.4985, allocations: 15.7 kB / 0.5342 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.4985, allocations: 25.47 kB / 0.5343 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.747e-05/0.4986, allocations: 30.31 kB / 0.5343 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4998, allocations: 320.3 kB / 0.5346 GB, free: 38.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000809/0.5006, allocations: 1.453 MB / 0.536 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.5012, allocations: 53.77 kB / 0.5361 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.5013, allocations: 70.19 kB / 0.5361 GB, free: 37.41 MB / 414.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00061/0.502, allocations: 0.4952 MB / 0.5366 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5021, allocations: 92.5 kB / 0.5367 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.5023, allocations: 117.5 kB / 0.5368 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.5023, allocations: 4.797 kB / 0.5368 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5023, allocations: 0 / 0.5368 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.5025, allocations: 197 kB / 0.537 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.5026, allocations: 11.08 kB / 0.537 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.5029, allocations: 18.2 kB / 0.537 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.503, allocations: 30.09 kB / 0.5371 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001306/0.5043, allocations: 0.7348 MB / 0.5378 GB, free: 37.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001288/0.5056, allocations: 1.177 MB / 0.5389 GB, free: 36.62 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003331/0.5059, allocations: 290 kB / 0.5392 GB, free: 36.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007668/0.5067, allocations: 0.5841 MB / 0.5398 GB, free: 36.28 MB / 414.1 MB Notification: Performance of Backend: time 4.3e-07/0.5067, allocations: 0 / 0.5398 GB, free: 36.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.5084, allocations: 0.8392 MB / 0.5406 GB, free: 35.97 MB / 414.1 MB Notification: Performance of SimCode: time 0.002944/0.5114, allocations: 2.292 MB / 0.5428 GB, free: 34.66 MB / 414.1 MB Notification: Performance of Templates: time 0.02052/0.5319, allocations: 10.74 MB / 0.5533 GB, free: 32.1 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches