Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001294, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 107 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3983/0.3983, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.83 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4025, allocations: 62.01 MB / 0.5151 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03147/0.434, allocations: 41.07 MB / 0.5552 GB, free: 8.496 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.4578, allocations: 9.171 MB / 0.5642 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01092/0.4688, allocations: 174.3 kB / 0.5644 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005168/0.474, allocations: 2.287 MB / 0.5666 GB, free: 1.297 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.4809, allocations: 1.525 MB / 0.5681 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.4833, allocations: 0.6361 MB / 0.5687 GB, free: 388 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.4956, allocations: 5.55 MB / 0.5741 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007117/0.5028, allocations: 2.853 MB / 0.5769 GB, free: 10.17 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.5071, allocations: 1.144 MB / 0.578 GB, free: 9.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/0.5112, allocations: 1.869 MB / 0.5799 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.5126, allocations: 192 kB / 0.58 GB, free: 6.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.5162, allocations: 1.131 MB / 0.5812 GB, free: 5.824 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.5186, allocations: 1.558 MB / 0.5827 GB, free: 4.262 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.5212, allocations: 1.829 MB / 0.5845 GB, free: 2.422 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.5282, allocations: 6.087 MB / 0.5904 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5283, allocations: 0 / 0.5904 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5283, allocations: 4 kB / 0.5904 GB, free: 12.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.5284, allocations: 0 / 0.5904 GB, free: 12.31 MB / 410.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.009929/0.5384, allocations: 4.229 MB / 0.5945 GB, free: 8.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5384, allocations: 8.031 kB / 0.5945 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00823/0.5467, allocations: 2.035 MB / 0.5965 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006589/0.5533, allocations: 2.311 MB / 0.5988 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.5535, allocations: 193.4 kB / 0.599 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008031/0.5543, allocations: 271.9 kB / 0.5992 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.5709, allocations: 8.77 MB / 0.6078 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.5711, allocations: 43.64 kB / 0.6078 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.5715, allocations: 123.9 kB / 0.608 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/0.5749, allocations: 1.801 MB / 0.6097 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.5892, allocations: 7.721 MB / 0.6173 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0445/0.6337, allocations: 34.75 MB / 0.6512 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.6405, allocations: 3.09 MB / 0.6542 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.6429, allocations: 1.917 MB / 0.6561 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/0.6433, allocations: 335.8 kB / 0.6564 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.6434, allocations: 47.22 kB / 0.6564 GB, free: 6.715 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 4.359e-06/0.6434, allocations: 0 / 0.6564 GB, free: 6.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.03804/0.6814, allocations: 15.38 MB / 0.6715 GB, free: 7.203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.6816, allocations: 167.2 kB / 0.6716 GB, free: 7.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.6871, allocations: 3.556 MB / 0.6751 GB, free: 3.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004194/0.6875, allocations: 45.7 kB / 0.6751 GB, free: 3.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.6895, allocations: 2.686 MB / 0.6778 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000903/0.6904, allocations: 0.6134 MB / 0.6784 GB, free: 52 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2708/0.9613, allocations: 1.101 MB / 0.6794 GB, free: 131.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.9614, allocations: 306.4 kB / 0.6797 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.9646, allocations: 2.132 MB / 0.6818 GB, free: 130.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.9694, allocations: 5.387 MB / 0.6871 GB, free: 125.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/0.9771, allocations: 8.098 MB / 0.695 GB, free: 118.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.823e-05/0.9772, allocations: 32.19 kB / 0.695 GB, free: 118.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01341/0.9907, allocations: 8.334 MB / 0.7032 GB, free: 115.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/0.9908, allocations: 57.38 kB / 0.7032 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/0.991, allocations: 114.6 kB / 0.7033 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.9943, allocations: 1.228 MB / 0.7045 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/0.9985, allocations: 1.222 MB / 0.7057 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009645/1.008, allocations: 7.122 MB / 0.7127 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/1.013, allocations: 319.3 kB / 0.713 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.014, allocations: 331.9 kB / 0.7133 GB, free: 111.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.004045/1.018, allocations: 1.884 MB / 0.7151 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/1.019, allocations: 303.1 kB / 0.7154 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/1.026, allocations: 3.576 MB / 0.7189 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.026, allocations: 18.22 kB / 0.7189 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/1.026, allocations: 3.969 kB / 0.7189 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/1.026, allocations: 14.58 kB / 0.7189 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.042, allocations: 8.329 MB / 0.7271 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.042, allocations: 0 / 0.7271 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.043, allocations: 235.8 kB / 0.7273 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.046, allocations: 1.058 MB / 0.7283 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/1.047, allocations: 31.59 kB / 0.7284 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007359/1.054, allocations: 6.721 MB / 0.7349 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.054, allocations: 0 / 0.7349 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06134/1.115, allocations: 43.77 MB / 0.7777 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/1.116, allocations: 361 kB / 0.778 GB, free: 55.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/1.116, allocations: 28 kB / 0.778 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.118, allocations: 103.8 kB / 0.7781 GB, free: 55.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.118, allocations: 84.81 kB / 0.7782 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.118, allocations: 44 kB / 0.7783 GB, free: 55.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002714/1.121, allocations: 2.221 MB / 0.7804 GB, free: 53.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.121, allocations: 0 / 0.7804 GB, free: 53.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005101/1.126, allocations: 1.226 MB / 0.7816 GB, free: 52.18 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.0003996/1.126, allocations: 157.6 kB / 0.7818 GB, free: 52.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006983/1.133, allocations: 5.154 MB / 0.7868 GB, free: 46.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.133, allocations: 0 / 0.7868 GB, free: 46.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.136, allocations: 1.86 MB / 0.7886 GB, free: 45.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/1.139, allocations: 362.8 kB / 0.789 GB, free: 44.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.157, allocations: 11.77 MB / 0.8005 GB, free: 32.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.16, allocations: 2.985 MB / 0.8034 GB, free: 29.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004063/1.164, allocations: 1.761 MB / 0.8051 GB, free: 28.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/1.165, allocations: 219.4 kB / 0.8053 GB, free: 27.85 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/1.165, allocations: 0 / 0.8053 GB, free: 27.85 MB / 490.7 MB Notification: Performance of Templates: time 0.07467/1.239, allocations: 46.72 MB / 0.8509 GB, free: 13.25 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches