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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001223/0.001224, allocations: 178.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.423, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009744/0.4328, allocations: 7.614 MB / 0.527 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.4393, allocations: 2.531 MB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.4406, allocations: 33.47 kB / 0.5295 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.4427, allocations: 0.8948 MB / 0.5304 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009948/0.4437, allocations: 327.7 kB / 0.5307 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.4447, allocations: 320.6 kB / 0.531 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.446, allocations: 0.7378 MB / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.4472, allocations: 0.8304 MB / 0.5325 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/0.4481, allocations: 370.4 kB / 0.5329 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.4494, allocations: 0.6573 MB / 0.5335 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.4497, allocations: 104.6 kB / 0.5336 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4508, allocations: 0.5139 MB / 0.5341 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000643/0.4515, allocations: 0.4965 MB / 0.5346 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.4522, allocations: 0.5648 MB / 0.5352 GB, free: 9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.4543, allocations: 1.789 MB / 0.5369 GB, free: 7.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4544, allocations: 0.8438 kB / 0.5369 GB, free: 7.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4544, allocations: 0 / 0.5369 GB, free: 7.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.4544, allocations: 0 / 0.5369 GB, free: 7.754 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.003651/0.458, allocations: 1.626 MB / 0.5385 GB, free: 6.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.4581, allocations: 17.14 kB / 0.5385 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/0.4589, allocations: 160.9 kB / 0.5387 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.4602, allocations: 0.6349 MB / 0.5393 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.4603, allocations: 60.16 kB / 0.5394 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.4605, allocations: 84.69 kB / 0.5394 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005717/0.4663, allocations: 2.681 MB / 0.5421 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.4663, allocations: 7.344 kB / 0.5421 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.4664, allocations: 34.61 kB / 0.5421 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006487/0.4671, allocations: 383.9 kB / 0.5425 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.4723, allocations: 2.358 MB / 0.5448 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009529/0.4819, allocations: 8.236 MB / 0.5528 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.4858, allocations: 0.9756 MB / 0.5538 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.4863, allocations: 264.7 kB / 0.554 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.4882, allocations: 1.718 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.4883, allocations: 42.56 kB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 4.268e-06/0.4883, allocations: 0 / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01161/0.4999, allocations: 2.944 MB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.5, allocations: 59.97 kB / 0.5587 GB, free: 3.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5012, allocations: 0.9068 MB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.5012, allocations: 37.69 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.5017, allocations: 0.6603 MB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5018, allocations: 213 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.5021, allocations: 246.6 kB / 0.5607 GB, free: 1.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5023, allocations: 402.7 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.5029, allocations: 370.4 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009822/0.5038, allocations: 0.9992 MB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5055, allocations: 1.491 MB / 0.5638 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5055, allocations: 4 kB / 0.5638 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001935/0.5074, allocations: 1.393 MB / 0.5652 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5075, allocations: 18.75 kB / 0.5652 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.5075, allocations: 27.94 kB / 0.5652 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/0.5075, allocations: 28 kB / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5087, allocations: 323.5 kB / 0.5656 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5099, allocations: 1.451 MB / 0.567 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.5107, allocations: 60 kB / 0.5671 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.5107, allocations: 64 kB / 0.5671 GB, free: 9.707 MB / 430.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.0007353/0.5115, allocations: 0.4971 MB / 0.5676 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5116, allocations: 90.86 kB / 0.5677 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.5118, allocations: 116.7 kB / 0.5678 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5119, allocations: 7.984 kB / 0.5678 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5119, allocations: 0 / 0.5678 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.512, allocations: 152.1 kB / 0.568 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.5121, allocations: 15.94 kB / 0.568 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5124, allocations: 12 kB / 0.568 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.5125, allocations: 32.52 kB / 0.568 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001279/0.5138, allocations: 0.7415 MB / 0.5687 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001338/0.5151, allocations: 1.169 MB / 0.5699 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003496/0.5155, allocations: 288.3 kB / 0.5702 GB, free: 6.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006909/0.5162, allocations: 0.5848 MB / 0.5707 GB, free: 5.961 MB / 430.1 MB Notification: Performance of Backend: time 2.8e-07/0.5162, allocations: 0 / 0.5707 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.518, allocations: 0.8288 MB / 0.5715 GB, free: 5.125 MB / 430.1 MB Notification: Performance of SimCode: time 0.003357/0.5213, allocations: 2.297 MB / 0.5738 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Templates: time 0.01952/0.5409, allocations: 10.63 MB / 0.5842 GB, free: 8.207 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches