Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001139/0.001139, allocations: 110.6 kB / 18.46 MB, free: 4.617 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.001131/0.001131, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.388/1.388, 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.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 64.14 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3441, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01204/0.3562, allocations: 11.8 MB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008901/0.3652, allocations: 4.059 MB / 0.5351 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.3673, allocations: 60.34 kB / 0.5351 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.3701, allocations: 1.173 MB / 0.5363 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.3749, allocations: 1.801 MB / 0.538 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3765, allocations: 0.5539 MB / 0.5386 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005973/0.3825, allocations: 3.947 MB / 0.5424 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.3861, allocations: 1.796 MB / 0.5442 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.3892, allocations: 1.17 MB / 0.5453 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.3924, allocations: 1.682 MB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.3936, allocations: 216 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.3976, allocations: 1.299 MB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.4003, allocations: 1.589 MB / 0.55 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003834/0.4041, allocations: 1.855 MB / 0.5518 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009451/0.4136, allocations: 6.241 MB / 0.5579 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4137, allocations: 4 kB / 0.5579 GB, free: 4.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4137, allocations: 4 kB / 0.5579 GB, free: 4.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002547/0.4139, allocations: 0 / 0.5579 GB, free: 4.703 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.01148/0.4254, allocations: 4.1 MB / 0.5619 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.4255, allocations: 12.03 kB / 0.5619 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/0.4448, allocations: 5.681 MB / 0.5675 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/0.4507, allocations: 2.221 MB / 0.5696 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.4509, allocations: 176.8 kB / 0.5698 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.4523, allocations: 315.6 kB / 0.5701 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/0.4722, allocations: 10.72 MB / 0.5806 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.881e-05/0.4723, allocations: 23.81 kB / 0.5806 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.4727, allocations: 115.8 kB / 0.5807 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.4765, allocations: 2.467 MB / 0.5831 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.4972, allocations: 10.15 MB / 0.593 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/0.5534, allocations: 35.51 MB / 0.6277 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.5658, allocations: 5.592 MB / 0.6332 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.5694, allocations: 2.341 MB / 0.6355 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/0.5716, allocations: 1.88 MB / 0.6373 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/0.5716, allocations: 48.5 kB / 0.6373 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.692e-06/0.5717, allocations: 0 / 0.6373 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=225): time 0.0377/0.6094, allocations: 14.57 MB / 0.6516 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.6095, allocations: 69.41 kB / 0.6516 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.6145, allocations: 2.794 MB / 0.6544 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003878/0.6149, allocations: 53.7 kB / 0.6544 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/0.6173, allocations: 2.677 MB / 0.657 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.6185, allocations: 0.8365 MB / 0.6578 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/0.6211, allocations: 1.088 MB / 0.6589 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6212, allocations: 301.1 kB / 0.6592 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/0.6253, allocations: 2.537 MB / 0.6617 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006714/0.632, allocations: 5.537 MB / 0.6671 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.6442, allocations: 8.777 MB / 0.6756 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.6444, allocations: 28 kB / 0.6757 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06895/0.7133, allocations: 18.82 MB / 0.694 GB, free: 4.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.7135, allocations: 52 kB / 0.6941 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04745/0.7609, allocations: 11.8 MB / 0.7056 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0499/0.8109, allocations: 10.28 MB / 0.7157 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/0.8157, allocations: 1.306 MB / 0.7169 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3245/1.14, allocations: 18.21 MB / 0.7347 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/1.145, allocations: 373.6 kB / 0.7351 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.146, allocations: 311.8 kB / 0.7354 GB, free: 179.5 MB / 0.5762 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.003991/1.15, allocations: 2.019 MB / 0.7374 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.151, allocations: 270.5 kB / 0.7376 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/1.159, allocations: 4.82 MB / 0.7423 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.159, allocations: 11.58 kB / 0.7423 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.159, allocations: 4.156 kB / 0.7423 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/1.16, allocations: 305.1 kB / 0.7426 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/1.16, allocations: 39.53 kB / 0.7427 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.162, allocations: 159.6 kB / 0.7428 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/1.162, allocations: 111.7 kB / 0.7429 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007499/1.169, allocations: 4.369 MB / 0.7472 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006302/1.176, allocations: 6.29 MB / 0.7533 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001794/1.178, allocations: 1.77 MB / 0.7551 GB, free: 173 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002428/1.18, allocations: 1.708 MB / 0.7567 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of Backend: time 7.71e-07/1.18, allocations: 0 / 0.7567 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009669/1.19, allocations: 5.045 MB / 0.7617 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01296/1.203, allocations: 8.379 MB / 0.7698 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.08323/1.286, allocations: 56.19 MB / 0.8247 GB, free: 107.8 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches