Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.00132/0.00132, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 203.5 kB / 16.79 MB, free: 6.84 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.644/1.644, allocations: 205.1 MB / 222.6 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3893/0.3893, allocations: 43.49 MB / 313.5 MB, free: 8.504 MB / 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.002177/0.002177, allocations: 75.89 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1765, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3867/0.5632, allocations: 41.69 MB / 481.5 MB, free: 25.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02661/0.5899, allocations: 9.245 MB / 490.8 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01397/0.6039, allocations: 175 kB / 490.9 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.6095, allocations: 2.298 MB / 493.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.6154, allocations: 1.625 MB / 494.9 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.6176, allocations: 0.6385 MB / 495.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.6279, allocations: 5.465 MB / 0.4892 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007247/0.6352, allocations: 2.916 MB / 0.4921 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.6391, allocations: 1.191 MB / 0.4932 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00472/0.6438, allocations: 1.985 MB / 0.4952 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008922/0.6447, allocations: 208.8 kB / 0.4954 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.6479, allocations: 1.145 MB / 0.4965 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002446/0.6503, allocations: 1.647 MB / 0.4981 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.6534, allocations: 1.934 MB / 0.5 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.6659, allocations: 6.452 MB / 0.5063 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.666, allocations: 5.375 kB / 0.5063 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.666, allocations: 0 / 0.5063 GB, free: 8.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002848/0.6663, allocations: 0 / 0.5063 GB, free: 8.922 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01778/0.6841, allocations: 4.418 MB / 0.5106 GB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.6841, allocations: 9.625 kB / 0.5106 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009274/0.6934, allocations: 2.063 MB / 0.5126 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007696/0.7012, allocations: 2.459 MB / 0.515 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.7014, allocations: 214.8 kB / 0.5152 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.7025, allocations: 280.2 kB / 0.5155 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.7245, allocations: 9.275 MB / 0.5246 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/0.7247, allocations: 47.58 kB / 0.5246 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.7252, allocations: 131.9 kB / 0.5247 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00395/0.7292, allocations: 1.911 MB / 0.5266 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.747, allocations: 8.17 MB / 0.5346 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/0.8148, allocations: 36.4 MB / 0.5701 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.8252, allocations: 3.681 MB / 0.5737 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.8287, allocations: 2.083 MB / 0.5757 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.8292, allocations: 336 kB / 0.5761 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.8293, allocations: 55.48 kB / 0.5761 GB, free: 3.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 8.626e-06/0.8294, allocations: 0 / 0.5761 GB, free: 3.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.0443/0.8737, allocations: 16.21 MB / 0.5919 GB, free: 3.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.8738, allocations: 175.2 kB / 0.5921 GB, free: 3.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006747/0.8806, allocations: 3.646 MB / 0.5957 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006193/0.8812, allocations: 53.7 kB / 0.5957 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.884, allocations: 2.791 MB / 0.5985 GB, free: 12.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.8852, allocations: 0.6827 MB / 0.5991 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/0.887, allocations: 1.158 MB / 0.6002 GB, free: 10.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.8872, allocations: 305.1 kB / 0.6005 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/0.8908, allocations: 2.299 MB / 0.6028 GB, free: 8.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00654/0.8974, allocations: 5.639 MB / 0.6083 GB, free: 1.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.9112, allocations: 8.554 MB / 0.6166 GB, free: 6.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/0.9114, allocations: 36 kB / 0.6167 GB, free: 6.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02155/0.933, allocations: 8.759 MB / 0.6252 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.9332, allocations: 59.94 kB / 0.6253 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/0.9334, allocations: 120 kB / 0.6254 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.9368, allocations: 1.219 MB / 0.6266 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/0.9421, allocations: 1.298 MB / 0.6279 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.9534, allocations: 7.195 MB / 0.6349 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/0.9597, allocations: 335.4 kB / 0.6352 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/0.9611, allocations: 347.9 kB / 0.6355 GB, free: 3.332 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00531/0.9664, allocations: 1.965 MB / 0.6375 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.9675, allocations: 319.9 kB / 0.6378 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3687/1.336, allocations: 3.935 MB / 0.6416 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/1.336, allocations: 24.34 kB / 0.6416 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.336, allocations: 5.625 kB / 0.6416 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.336, allocations: 6.562 kB / 0.6416 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.354, allocations: 9.023 MB / 0.6505 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.354, allocations: 1.625 kB / 0.6505 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.355, allocations: 271.5 kB / 0.6507 GB, free: 155 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/1.358, allocations: 1.059 MB / 0.6517 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.358, allocations: 29.91 kB / 0.6518 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008289/1.366, allocations: 6.719 MB / 0.6583 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.366, allocations: 2.531 kB / 0.6583 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.378, allocations: 6.84 MB / 0.665 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/1.381, allocations: 0.6802 MB / 0.6657 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/1.383, allocations: 26.72 kB / 0.6657 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.386, allocations: 114 kB / 0.6658 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/1.386, allocations: 104.4 kB / 0.6659 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.387, allocations: 45.73 kB / 0.666 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007611/1.394, allocations: 2.277 MB / 0.6682 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.394, allocations: 0 / 0.6682 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01188/1.406, allocations: 0.9717 MB / 0.6691 GB, free: 147.6 MB / 0.4981 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 (137): * Single equations (assignments): 133 * 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.001218/1.408, allocations: 159.8 kB / 0.6693 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.422, allocations: 5.468 MB / 0.6746 GB, free: 145.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.422, allocations: 1.125 kB / 0.6746 GB, free: 145.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00523/1.428, allocations: 2.036 MB / 0.6766 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00579/1.434, allocations: 380.6 kB / 0.677 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.459, allocations: 10.86 MB / 0.6876 GB, free: 139 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008335/1.467, allocations: 3.065 MB / 0.6906 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007962/1.475, allocations: 1.802 MB / 0.6923 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.477, allocations: 234.9 kB / 0.6926 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/1.477, allocations: 0 / 0.6926 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.08375/1.561, allocations: 37.35 MB / 0.729 GB, free: 104.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches