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.001275/0.001275, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00137/0.00137, allocations: 194 kB / 18.12 MB, free: 5.363 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.437/1.437, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2315/0.2315, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.28 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03873/0.1742, allocations: 41.05 MB / 0.4976 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.344/0.5182, allocations: 9.138 MB / 0.5066 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01161/0.5299, allocations: 174.8 kB / 0.5067 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006394/0.5364, allocations: 2.285 MB / 0.509 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009087/0.5455, allocations: 1.548 MB / 0.5105 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.549, allocations: 0.6361 MB / 0.5111 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.5628, allocations: 5.469 MB / 0.5164 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007437/0.5703, allocations: 2.852 MB / 0.5192 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.5749, allocations: 1.14 MB / 0.5203 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.58, allocations: 1.865 MB / 0.5221 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.5815, allocations: 194.7 kB / 0.5223 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.5851, allocations: 1.151 MB / 0.5235 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.5875, allocations: 1.554 MB / 0.525 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003167/0.5907, allocations: 1.833 MB / 0.5268 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.5994, allocations: 6.093 MB / 0.5327 GB, free: 2.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.5994, allocations: 0 / 0.5327 GB, free: 2.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5995, allocations: 0 / 0.5327 GB, free: 2.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002555/0.5997, allocations: 2.969 kB / 0.5327 GB, free: 2.457 MB / 382.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.01615/0.6159, allocations: 4.214 MB / 0.5368 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.522e-05/0.616, allocations: 8.969 kB / 0.5368 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.6291, allocations: 2.027 MB / 0.5388 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009078/0.6382, allocations: 2.336 MB / 0.5411 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.6385, allocations: 202.3 kB / 0.5413 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009254/0.6394, allocations: 261.2 kB / 0.5415 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.6615, allocations: 8.77 MB / 0.5501 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.6617, allocations: 47.02 kB / 0.5502 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.6621, allocations: 130.3 kB / 0.5503 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004147/0.6663, allocations: 1.794 MB / 0.552 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.6862, allocations: 7.727 MB / 0.5596 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05379/0.74, allocations: 34.75 MB / 0.5935 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.7471, allocations: 3.093 MB / 0.5965 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.7494, allocations: 1.909 MB / 0.5984 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.7498, allocations: 331.6 kB / 0.5987 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.7499, allocations: 55.14 kB / 0.5988 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 3.937e-06/0.7499, allocations: 0 / 0.5988 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.03888/0.7888, allocations: 15.38 MB / 0.6138 GB, free: 1.367 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.789, allocations: 175.2 kB / 0.6139 GB, free: 1.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/0.7947, allocations: 3.549 MB / 0.6174 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004439/0.7951, allocations: 49.7 kB / 0.6175 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.7973, allocations: 2.69 MB / 0.6201 GB, free: 10.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008062/0.7981, allocations: 0.6098 MB / 0.6207 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.7997, allocations: 1.113 MB / 0.6218 GB, free: 9.145 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7998, allocations: 301.1 kB / 0.6221 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.8029, allocations: 2.134 MB / 0.6241 GB, free: 6.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0055/0.8084, allocations: 5.378 MB / 0.6294 GB, free: 15.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.8188, allocations: 8.104 MB / 0.6373 GB, free: 5.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.323e-05/0.8189, allocations: 32 kB / 0.6373 GB, free: 5.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01637/0.8353, allocations: 8.329 MB / 0.6455 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.8355, allocations: 56.25 kB / 0.6455 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.8356, allocations: 116 kB / 0.6456 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.8386, allocations: 1.23 MB / 0.6468 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.8429, allocations: 1.224 MB / 0.648 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009651/0.8526, allocations: 7.128 MB / 0.655 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.8573, allocations: 315.4 kB / 0.6553 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007594/0.858, allocations: 332 kB / 0.6556 GB, free: 3.098 MB / 0.4981 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.00324/0.8613, allocations: 1.878 MB / 0.6574 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/0.862, allocations: 300.1 kB / 0.6577 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/0.8681, allocations: 3.574 MB / 0.6612 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.8682, allocations: 23.98 kB / 0.6612 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.8682, allocations: 11.94 kB / 0.6613 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.8682, allocations: 3.984 kB / 0.6613 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.8829, allocations: 8.331 MB / 0.6694 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8829, allocations: 4 kB / 0.6694 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.8841, allocations: 223.7 kB / 0.6696 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.8868, allocations: 1.058 MB / 0.6706 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.887, allocations: 35.27 kB / 0.6707 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009111/0.8961, allocations: 6.725 MB / 0.6772 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8961, allocations: 0 / 0.6772 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009936/0.9061, allocations: 6.269 MB / 0.6834 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/0.9082, allocations: 361 kB / 0.6837 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/0.9087, allocations: 26.05 kB / 0.6837 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.91, allocations: 99.86 kB / 0.6838 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/0.9104, allocations: 84.88 kB / 0.6839 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.9105, allocations: 40 kB / 0.6839 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004922/0.9155, allocations: 2.221 MB / 0.6861 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.42e-07/0.9155, allocations: 4 kB / 0.6861 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005848/0.9214, allocations: 0.9088 MB / 0.687 GB, free: 2.699 MB / 0.5294 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.0005587/0.9219, allocations: 155.5 kB / 0.6872 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009762/0.9317, allocations: 5.145 MB / 0.6922 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9318, allocations: 0.625 kB / 0.6922 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.9348, allocations: 1.862 MB / 0.694 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9377, allocations: 370.5 kB / 0.6944 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.955, allocations: 10.19 MB / 0.7043 GB, free: 0.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2601/1.215, allocations: 2.922 MB / 0.7072 GB, free: 200.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004761/1.22, allocations: 1.725 MB / 0.7088 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/1.221, allocations: 214.2 kB / 0.709 GB, free: 200.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.221, allocations: 0 / 0.709 GB, free: 200.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07077/1.291, allocations: 35.17 MB / 0.7434 GB, free: 186.8 MB / 0.545 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