Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 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 / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 102.9 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3787/0.3787, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3629, allocations: 60.8 MB / 0.5064 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03224/0.3951, allocations: 41.05 MB / 0.5465 GB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.022/0.4172, allocations: 9.152 MB / 0.5554 GB, free: 3.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.4287, allocations: 175.2 kB / 0.5556 GB, free: 3.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.4338, allocations: 2.277 MB / 0.5578 GB, free: 1.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.4387, allocations: 1.548 MB / 0.5593 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.4407, allocations: 0.6442 MB / 0.5599 GB, free: 1.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009406/0.4501, allocations: 5.486 MB / 0.5653 GB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006639/0.4568, allocations: 2.852 MB / 0.5681 GB, free: 14.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.4604, allocations: 1.14 MB / 0.5692 GB, free: 13.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004428/0.4649, allocations: 1.867 MB / 0.571 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.4664, allocations: 193.5 kB / 0.5712 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.47, allocations: 1.156 MB / 0.5723 GB, free: 12.42 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003253/0.4733, allocations: 1.554 MB / 0.5739 GB, free: 10.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.4768, allocations: 1.836 MB / 0.5756 GB, free: 9.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007105/0.4839, allocations: 6.09 MB / 0.5816 GB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.484, allocations: 0 / 0.5816 GB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.484, allocations: 0 / 0.5816 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.4841, allocations: 0 / 0.5816 GB, free: 2.906 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.00823/0.4924, allocations: 4.218 MB / 0.5857 GB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4924, allocations: 8.031 kB / 0.5857 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007839/0.5003, allocations: 2.028 MB / 0.5877 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.5052, allocations: 2.335 MB / 0.59 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.5053, allocations: 197.4 kB / 0.5902 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.5058, allocations: 267.9 kB / 0.5904 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.5201, allocations: 8.77 MB / 0.599 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.5203, allocations: 51.52 kB / 0.599 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008866/0.5212, allocations: 127.9 kB / 0.5992 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003407/0.5247, allocations: 1.794 MB / 0.6009 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.5402, allocations: 7.723 MB / 0.6085 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0479/0.5881, allocations: 34.74 MB / 0.6424 GB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/0.5952, allocations: 3.1 MB / 0.6454 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.5977, allocations: 1.915 MB / 0.6473 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.5982, allocations: 335.7 kB / 0.6476 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.5982, allocations: 47.16 kB / 0.6476 GB, free: 13.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.3e-06/0.5983, allocations: 0 / 0.6476 GB, free: 13.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.04217/0.6404, allocations: 15.37 MB / 0.6627 GB, free: 13.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.6407, allocations: 175.2 kB / 0.6628 GB, free: 13.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008784/0.6495, allocations: 3.552 MB / 0.6663 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.65, allocations: 49.61 kB / 0.6663 GB, free: 9.984 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002816/0.6528, allocations: 2.694 MB / 0.669 GB, free: 7.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.654, allocations: 0.6056 MB / 0.6696 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003826/0.6579, allocations: 1.106 MB / 0.6706 GB, free: 5.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.658, allocations: 309.1 kB / 0.6709 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/0.662, allocations: 2.127 MB / 0.673 GB, free: 3.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2769/0.9389, allocations: 5.384 MB / 0.6783 GB, free: 126.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/0.9474, allocations: 8.098 MB / 0.6862 GB, free: 120.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/0.9476, allocations: 35.06 kB / 0.6862 GB, free: 120.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01328/0.9609, allocations: 8.336 MB / 0.6944 GB, free: 117.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.961, allocations: 52.5 kB / 0.6944 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.9611, allocations: 115.1 kB / 0.6945 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.9639, allocations: 1.224 MB / 0.6957 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/0.9675, allocations: 1.224 MB / 0.6969 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00797/0.9755, allocations: 7.122 MB / 0.7039 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/0.9799, allocations: 309 kB / 0.7042 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.981, allocations: 329.3 kB / 0.7045 GB, free: 113.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (655): * Single equations (assignments): 651 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003213/0.9842, allocations: 1.892 MB / 0.7063 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/0.9848, allocations: 302.8 kB / 0.7066 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.9911, allocations: 3.572 MB / 0.7101 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/0.9912, allocations: 16.75 kB / 0.7101 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.9912, allocations: 8.562 kB / 0.7101 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.9913, allocations: 11.95 kB / 0.7101 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.008, allocations: 8.318 MB / 0.7183 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.008, allocations: 1.781 kB / 0.7183 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/1.009, allocations: 229.7 kB / 0.7185 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/1.012, allocations: 1.058 MB / 0.7195 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.012, allocations: 25.14 kB / 0.7195 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/1.021, allocations: 6.726 MB / 0.7261 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.021, allocations: 0.6094 kB / 0.7261 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06083/1.082, allocations: 43.78 MB / 0.7688 GB, free: 68.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/1.082, allocations: 361 kB / 0.7692 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.083, allocations: 28 kB / 0.7692 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.084, allocations: 107.8 kB / 0.7693 GB, free: 67.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/1.084, allocations: 80.84 kB / 0.7694 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.084, allocations: 51.66 kB / 0.7695 GB, free: 67.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002696/1.087, allocations: 2.224 MB / 0.7716 GB, free: 65.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.087, allocations: 0 / 0.7716 GB, free: 65.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005625/1.093, allocations: 1.222 MB / 0.7728 GB, free: 64.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/1.093, allocations: 164.7 kB / 0.773 GB, free: 63.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006535/1.1, allocations: 5.149 MB / 0.778 GB, free: 58.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.1, allocations: 0 / 0.778 GB, free: 58.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.102, allocations: 1.861 MB / 0.7798 GB, free: 56.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.105, allocations: 368.9 kB / 0.7802 GB, free: 56.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/1.119, allocations: 11.75 MB / 0.7916 GB, free: 44.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/1.122, allocations: 2.985 MB / 0.7946 GB, free: 41.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003736/1.126, allocations: 1.765 MB / 0.7963 GB, free: 40.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/1.127, allocations: 219.4 kB / 0.7965 GB, free: 39.79 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/1.127, allocations: 0 / 0.7965 GB, free: 39.79 MB / 490.7 MB Notification: Performance of Templates: time 0.06458/1.191, allocations: 46.7 MB / 0.8421 GB, free: 9.23 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches