Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 110.2 kB / 17.09 MB, free: 5.957 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.001188/0.001188, allocations: 199.4 kB / 18.02 MB, free: 5.043 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.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.1997/0.1997, allocations: 43.52 MB / 314.8 MB, free: 460 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.001395/0.001395, allocations: 73.45 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01188/0.1369, allocations: 11.82 MB / 0.5001 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007381/0.1443, allocations: 4.047 MB / 0.504 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.1457, allocations: 63.81 kB / 0.5041 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.1483, allocations: 1.187 MB / 0.5053 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.1524, allocations: 1.791 MB / 0.507 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1537, allocations: 0.5535 MB / 0.5076 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005034/0.1587, allocations: 3.969 MB / 0.5114 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.1617, allocations: 1.787 MB / 0.5132 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.164, allocations: 1.171 MB / 0.5143 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.1665, allocations: 1.674 MB / 0.516 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007288/0.1673, allocations: 220 kB / 0.5162 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.1699, allocations: 1.299 MB / 0.5174 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.172, allocations: 1.589 MB / 0.519 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003226/0.1752, allocations: 1.851 MB / 0.5208 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00794/0.1832, allocations: 6.239 MB / 0.5269 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1832, allocations: 0 / 0.5269 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1832, allocations: 4 kB / 0.5269 GB, free: 4.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.1834, allocations: 0 / 0.5269 GB, free: 4.344 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009887/0.1933, allocations: 4.111 MB / 0.5309 GB, free: 168 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1934, allocations: 15.95 kB / 0.5309 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2375/0.4309, allocations: 5.668 MB / 0.5365 GB, free: 37.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006137/0.437, allocations: 2.259 MB / 0.5387 GB, free: 37.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4372, allocations: 175 kB / 0.5388 GB, free: 37.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.4382, allocations: 317.1 kB / 0.5391 GB, free: 37.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.4534, allocations: 10.72 MB / 0.5496 GB, free: 32.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/0.4535, allocations: 29.91 kB / 0.5496 GB, free: 32.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.4538, allocations: 112.6 kB / 0.5497 GB, free: 32.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003569/0.4574, allocations: 2.464 MB / 0.5521 GB, free: 31.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.4728, allocations: 10.15 MB / 0.5621 GB, free: 23.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04682/0.5197, allocations: 35.51 MB / 0.5967 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.5322, allocations: 5.603 MB / 0.6022 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/0.5356, allocations: 2.338 MB / 0.6045 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/0.5375, allocations: 1.876 MB / 0.6063 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.5376, allocations: 49.44 kB / 0.6064 GB, free: 9.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 5.45e-06/0.5376, allocations: 0.5625 kB / 0.6064 GB, free: 9.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.0357/0.5733, allocations: 14.57 MB / 0.6206 GB, free: 10.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.5734, allocations: 77.28 kB / 0.6207 GB, free: 10.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/0.5782, allocations: 2.81 MB / 0.6234 GB, free: 7.664 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.5785, allocations: 57.7 kB / 0.6235 GB, free: 7.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.5806, allocations: 2.674 MB / 0.6261 GB, free: 4.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008376/0.5814, allocations: 0.8365 MB / 0.6269 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/0.5834, allocations: 1.089 MB / 0.628 GB, free: 2.941 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.5836, allocations: 305.1 kB / 0.6283 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004/0.5876, allocations: 2.533 MB / 0.6307 GB, free: 104 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/0.5937, allocations: 5.541 MB / 0.6361 GB, free: 9.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.6044, allocations: 8.765 MB / 0.6447 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.946e-05/0.6045, allocations: 32.5 kB / 0.6447 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06922/0.6737, allocations: 18.82 MB / 0.6631 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.6739, allocations: 55.44 kB / 0.6632 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04855/0.7225, allocations: 11.81 MB / 0.6747 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05243/0.775, allocations: 10.28 MB / 0.6847 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/0.7799, allocations: 1.306 MB / 0.686 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03087/0.8108, allocations: 18.21 MB / 0.7038 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.8148, allocations: 375.6 kB / 0.7042 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009136/0.8157, allocations: 312 kB / 0.7045 GB, free: 1.305 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (656): * Single equations (assignments): 647 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004367/0.8201, allocations: 2.016 MB / 0.7064 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.8209, allocations: 264.5 kB / 0.7067 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/0.83, allocations: 4.836 MB / 0.7114 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.83, allocations: 7.969 kB / 0.7114 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.83, allocations: 3.938 kB / 0.7114 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.8308, allocations: 305.6 kB / 0.7117 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.8313, allocations: 35.98 kB / 0.7117 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.8326, allocations: 155.8 kB / 0.7119 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/0.833, allocations: 113.8 kB / 0.712 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007922/0.8409, allocations: 4.369 MB / 0.7163 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007916/0.8488, allocations: 6.286 MB / 0.7224 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00212/0.851, allocations: 1.776 MB / 0.7241 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002905/0.8539, allocations: 1.712 MB / 0.7258 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Backend: time 3.61e-07/0.8539, allocations: 0 / 0.7258 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01124/0.8651, allocations: 5.042 MB / 0.7307 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0148/0.8799, allocations: 8.395 MB / 0.7389 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.3047/1.185, allocations: 56.21 MB / 0.7938 GB, free: 179.3 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches