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.00152/0.00152, allocations: 111.6 kB / 17.09 MB, free: 5.934 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.001824/0.001824, allocations: 195.4 kB / 18.02 MB, free: 5.016 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.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.19 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.2018/0.2018, allocations: 43.53 MB / 314.8 MB, free: 444 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.002916/0.002916, allocations: 73.41 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.126, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009897/0.1359, allocations: 7.62 MB / 0.496 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.1415, allocations: 2.536 MB / 0.4985 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.1425, allocations: 31.94 kB / 0.4985 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1444, allocations: 0.8915 MB / 0.4994 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008934/0.1454, allocations: 334.2 kB / 0.4997 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.1462, allocations: 323.4 kB / 0.5 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1473, allocations: 0.7474 MB / 0.5007 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.1485, allocations: 0.8217 MB / 0.5015 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.1492, allocations: 378.6 kB / 0.5019 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.1503, allocations: 0.6505 MB / 0.5025 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.1506, allocations: 108 kB / 0.5026 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.1516, allocations: 0.5109 MB / 0.5031 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.1521, allocations: 0.4948 MB / 0.5036 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.1529, allocations: 0.5788 MB / 0.5042 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.155, allocations: 1.794 MB / 0.5059 GB, free: 9.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.155, allocations: 0 / 0.5059 GB, free: 9.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1551, allocations: 0 / 0.5059 GB, free: 9.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.528e-05/0.1551, allocations: 4 kB / 0.5059 GB, free: 9.867 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.003896/0.159, allocations: 1.656 MB / 0.5076 GB, free: 8.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1591, allocations: 11.89 kB / 0.5076 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.1599, allocations: 172 kB / 0.5077 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.1612, allocations: 0.6477 MB / 0.5084 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.1613, allocations: 50.36 kB / 0.5084 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.1615, allocations: 87.86 kB / 0.5085 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.1666, allocations: 2.669 MB / 0.5111 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.1667, allocations: 11.92 kB / 0.5111 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/0.1668, allocations: 39.97 kB / 0.5112 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004808/0.1673, allocations: 385.7 kB / 0.5115 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005292/0.1726, allocations: 2.357 MB / 0.5138 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.1828, allocations: 8.257 MB / 0.5219 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.1865, allocations: 0.9755 MB / 0.5228 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1869, allocations: 260.8 kB / 0.5231 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/0.1895, allocations: 1.734 MB / 0.5248 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1895, allocations: 34.56 kB / 0.5248 GB, free: 5.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 4.127e-06/0.1895, allocations: 0 / 0.5248 GB, free: 5.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01161/0.2012, allocations: 2.968 MB / 0.5277 GB, free: 2.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2012, allocations: 55.97 kB / 0.5278 GB, free: 2.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2025, allocations: 0.911 MB / 0.5287 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.2026, allocations: 33.7 kB / 0.5287 GB, free: 1.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.2031, allocations: 0.69 MB / 0.5294 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2033, allocations: 218.2 kB / 0.5296 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.2037, allocations: 250.8 kB / 0.5298 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2039, allocations: 402.7 kB / 0.5302 GB, free: 168 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2353/0.4392, allocations: 365.2 kB / 0.5305 GB, free: 40.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.44, allocations: 1.004 MB / 0.5315 GB, free: 39.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4413, allocations: 1.492 MB / 0.533 GB, free: 39.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4413, allocations: 6.156 kB / 0.533 GB, free: 39.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001875/0.4432, allocations: 1.399 MB / 0.5344 GB, free: 38.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4433, allocations: 14.53 kB / 0.5344 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.4433, allocations: 25.78 kB / 0.5344 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.4433, allocations: 30.3 kB / 0.5344 GB, free: 38.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4445, allocations: 318 kB / 0.5347 GB, free: 38.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/0.4452, allocations: 1.452 MB / 0.5361 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.4458, allocations: 63.22 kB / 0.5362 GB, free: 37.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.4459, allocations: 64.16 kB / 0.5363 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.0005814/0.4465, allocations: 0.5055 MB / 0.5368 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4466, allocations: 93.95 kB / 0.5369 GB, free: 37.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.4468, allocations: 118.8 kB / 0.537 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4468, allocations: 7.562 kB / 0.537 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4468, allocations: 0 / 0.537 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.447, allocations: 200.6 kB / 0.5372 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.4471, allocations: 12.38 kB / 0.5372 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.4474, allocations: 15.66 kB / 0.5372 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.4475, allocations: 29.86 kB / 0.5372 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001308/0.4488, allocations: 0.7332 MB / 0.5379 GB, free: 37.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001299/0.4501, allocations: 1.188 MB / 0.5391 GB, free: 36.58 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003213/0.4505, allocations: 285.7 kB / 0.5394 GB, free: 36.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.4512, allocations: 0.5836 MB / 0.5399 GB, free: 36.24 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.4512, allocations: 0 / 0.5399 GB, free: 36.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.4527, allocations: 0.8397 MB / 0.5408 GB, free: 35.93 MB / 414.1 MB Notification: Performance of SimCode: time 0.00257/0.4553, allocations: 2.314 MB / 0.543 GB, free: 34.59 MB / 414.1 MB Notification: Performance of Templates: time 0.01887/0.4742, allocations: 10.63 MB / 0.5534 GB, free: 32.13 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