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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.00149, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001531/0.001531, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.539/1.539, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2201/0.2201, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.512, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01238/0.5245, allocations: 9.567 MB / 0.5283 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.5362, allocations: 3.813 MB / 0.532 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/0.5403, allocations: 60.25 kB / 0.532 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006081/0.5465, allocations: 2.295 MB / 0.5343 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.5541, allocations: 1.649 MB / 0.5359 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.5564, allocations: 0.6982 MB / 0.5366 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009455/0.5659, allocations: 3.814 MB / 0.5403 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.5708, allocations: 2.915 MB / 0.5431 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.5741, allocations: 1.299 MB / 0.5444 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.5768, allocations: 1.74 MB / 0.5461 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.5775, allocations: 284 kB / 0.5464 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.5799, allocations: 1.182 MB / 0.5475 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.5814, allocations: 1.625 MB / 0.5491 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.5834, allocations: 1.903 MB / 0.551 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.5908, allocations: 6.359 MB / 0.5572 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5908, allocations: 0 / 0.5572 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5909, allocations: 0 / 0.5572 GB, free: 4.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.591, allocations: 0 / 0.5572 GB, free: 4.734 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.009444/0.6005, allocations: 4.222 MB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.6005, allocations: 8.031 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007624/0.6082, allocations: 2.02 MB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00531/0.6135, allocations: 2.381 MB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.6137, allocations: 193.4 kB / 0.5658 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006176/0.6143, allocations: 271.9 kB / 0.5661 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.6296, allocations: 8.782 MB / 0.5746 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.6298, allocations: 39.59 kB / 0.5747 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.6302, allocations: 123.9 kB / 0.5748 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003207/0.6334, allocations: 1.798 MB / 0.5765 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.6481, allocations: 7.721 MB / 0.5841 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05074/0.6988, allocations: 34.58 MB / 0.6179 GB, free: 4.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007385/0.7063, allocations: 3.089 MB / 0.6209 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.7089, allocations: 1.909 MB / 0.6227 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.7093, allocations: 339.8 kB / 0.6231 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.7094, allocations: 47.22 kB / 0.6231 GB, free: 15.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.128e-06/0.7094, allocations: 0 / 0.6231 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03945/0.7489, allocations: 15.38 MB / 0.6381 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.7491, allocations: 175.2 kB / 0.6383 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.7543, allocations: 3.548 MB / 0.6418 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004835/0.7548, allocations: 53.69 kB / 0.6418 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/0.7571, allocations: 2.682 MB / 0.6444 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.7584, allocations: 0.6095 MB / 0.645 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.7602, allocations: 1.11 MB / 0.6461 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7604, allocations: 309.1 kB / 0.6464 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.7635, allocations: 2.127 MB / 0.6485 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/0.7695, allocations: 5.386 MB / 0.6537 GB, free: 14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.7797, allocations: 8.092 MB / 0.6616 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.7799, allocations: 32 kB / 0.6617 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01677/0.7967, allocations: 8.334 MB / 0.6698 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.7968, allocations: 55.94 kB / 0.6699 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.797, allocations: 116 kB / 0.67 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.8001, allocations: 1.227 MB / 0.6712 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/0.8044, allocations: 1.224 MB / 0.6724 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.8144, allocations: 7.614 MB / 0.6798 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/0.8189, allocations: 315.4 kB / 0.6801 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000856/0.8198, allocations: 328.2 kB / 0.6804 GB, free: 0.9141 MB / 0.5294 GB 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.003435/0.8233, allocations: 1.884 MB / 0.6823 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007073/0.824, allocations: 304.1 kB / 0.6826 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.8303, allocations: 3.569 MB / 0.686 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/0.8304, allocations: 23.94 kB / 0.6861 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.8304, allocations: 4 kB / 0.6861 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.8304, allocations: 7.969 kB / 0.6861 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.8463, allocations: 8.229 MB / 0.6941 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.8464, allocations: 4 kB / 0.6941 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.8475, allocations: 231.6 kB / 0.6943 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.8502, allocations: 1.05 MB / 0.6954 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.8504, allocations: 35.94 kB / 0.6954 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009885/0.8603, allocations: 7.262 MB / 0.7025 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8604, allocations: 4 kB / 0.7025 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.8706, allocations: 6.279 MB / 0.7086 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.8719, allocations: 365 kB / 0.709 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008448/0.8728, allocations: 24 kB / 0.709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.8746, allocations: 99.84 kB / 0.7091 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.8749, allocations: 88.83 kB / 0.7092 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.8751, allocations: 51.91 kB / 0.7092 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003788/0.8789, allocations: 2.224 MB / 0.7114 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8789, allocations: 0 / 0.7114 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005366/0.8843, allocations: 0.9102 MB / 0.7123 GB, free: 15.99 MB / 0.5762 GB 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.0005286/0.8848, allocations: 147 kB / 0.7124 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008808/0.8936, allocations: 5.176 MB / 0.7175 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8937, allocations: 0 / 0.7175 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.8968, allocations: 1.861 MB / 0.7193 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.9002, allocations: 380.8 kB / 0.7197 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.9183, allocations: 8.401 MB / 0.7279 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3833/1.302, allocations: 2.925 MB / 0.7307 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005355/1.307, allocations: 1.724 MB / 0.7324 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/1.308, allocations: 214.4 kB / 0.7326 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.308, allocations: 1.375 kB / 0.7326 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.06308/1.371, allocations: 33.69 MB / 0.7655 GB, free: 165 MB / 0.5762 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches