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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 77.8 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1668, allocations: 62.45 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01336/0.1802, allocations: 9.441 MB / 489.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009845/0.1901, allocations: 3.818 MB / 493.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.1926, allocations: 55.81 kB / 493.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005154/0.1977, allocations: 2.282 MB / 495.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.2034, allocations: 1.607 MB / 497.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.2056, allocations: 0.694 MB / 497.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006474/0.2121, allocations: 3.799 MB / 0.49 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004697/0.2168, allocations: 2.895 MB / 0.4928 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.2194, allocations: 1.281 MB / 0.494 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.2224, allocations: 1.725 MB / 0.4957 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2235, allocations: 280 kB / 0.496 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.2264, allocations: 1.147 MB / 0.4971 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.2289, allocations: 1.578 MB / 0.4986 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00379/0.2327, allocations: 1.856 MB / 0.5005 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3074/0.5402, allocations: 6.006 MB / 0.5063 GB, free: 21.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.5402, allocations: 1.203 kB / 0.5063 GB, free: 21.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5402, allocations: 0 / 0.5063 GB, free: 21.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002339/0.5405, allocations: 1.094 kB / 0.5063 GB, free: 21.03 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01332/0.5538, allocations: 4.158 MB / 0.5104 GB, free: 19.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.13e-05/0.5539, allocations: 9.906 kB / 0.5104 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.5642, allocations: 1.998 MB / 0.5123 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008109/0.5723, allocations: 2.287 MB / 0.5146 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.5727, allocations: 194 kB / 0.5148 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/0.5745, allocations: 260.8 kB / 0.515 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/0.5965, allocations: 8.59 MB / 0.5234 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.5969, allocations: 38.52 kB / 0.5234 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.5983, allocations: 125.7 kB / 0.5236 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/0.602, allocations: 1.741 MB / 0.5253 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.6186, allocations: 7.564 MB / 0.5326 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/0.6686, allocations: 34.31 MB / 0.5662 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/0.676, allocations: 3.086 MB / 0.5692 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.6792, allocations: 1.921 MB / 0.571 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.6798, allocations: 328.6 kB / 0.5714 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.6799, allocations: 53.53 kB / 0.5714 GB, free: 6.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 5.761e-06/0.6799, allocations: 0 / 0.5714 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.04673/0.7267, allocations: 15.32 MB / 0.5864 GB, free: 7.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.7268, allocations: 173.2 kB / 0.5865 GB, free: 7.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007104/0.7339, allocations: 3.521 MB / 0.59 GB, free: 3.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004811/0.7344, allocations: 49.7 kB / 0.59 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.7368, allocations: 2.63 MB / 0.5926 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.7378, allocations: 0.6059 MB / 0.5932 GB, free: 472 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/0.7408, allocations: 1.098 MB / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7409, allocations: 301.1 kB / 0.5945 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004115/0.7451, allocations: 2.123 MB / 0.5966 GB, free: 12.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006346/0.7514, allocations: 5.341 MB / 0.6018 GB, free: 6.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/0.761, allocations: 8.045 MB / 0.6097 GB, free: 12.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/0.7612, allocations: 36 kB / 0.6097 GB, free: 12.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01631/0.7775, allocations: 8.274 MB / 0.6178 GB, free: 4.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.7777, allocations: 55.98 kB / 0.6179 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/0.7779, allocations: 116 kB / 0.618 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/0.7813, allocations: 1.224 MB / 0.6192 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/0.7865, allocations: 1.216 MB / 0.6204 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.8, allocations: 7.618 MB / 0.6278 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005307/0.8053, allocations: 307.5 kB / 0.6281 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/0.8066, allocations: 328 kB / 0.6284 GB, free: 9.742 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.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 (649): * Single equations (assignments): 645 * 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.004461/0.8111, allocations: 1.847 MB / 0.6302 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.8121, allocations: 304.1 kB / 0.6305 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/0.8193, allocations: 3.568 MB / 0.634 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/0.8194, allocations: 16 kB / 0.634 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.8194, allocations: 8 kB / 0.634 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.8195, allocations: 10.27 kB / 0.634 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/0.8362, allocations: 8.287 MB / 0.6421 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.8363, allocations: 4 kB / 0.6421 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.8374, allocations: 227.1 kB / 0.6423 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.8402, allocations: 1.062 MB / 0.6434 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.8404, allocations: 31.94 kB / 0.6434 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009704/0.8501, allocations: 7.197 MB / 0.6504 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8501, allocations: 3.938 kB / 0.6504 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.8605, allocations: 6.269 MB / 0.6565 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.8617, allocations: 361 kB / 0.6569 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/0.8626, allocations: 28 kB / 0.6569 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.8647, allocations: 101.9 kB / 0.657 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/0.8651, allocations: 80.83 kB / 0.6571 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.8653, allocations: 43.98 kB / 0.6571 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005039/0.8703, allocations: 2.196 MB / 0.6593 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8704, allocations: 4 kB / 0.6593 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006583/0.877, allocations: 0.8867 MB / 0.6601 GB, free: 9.004 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 (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.0008209/0.8778, allocations: 159.9 kB / 0.6603 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.8884, allocations: 5.879 MB / 0.666 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8885, allocations: 0 / 0.666 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.8918, allocations: 1.862 MB / 0.6679 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.8951, allocations: 374.5 kB / 0.6682 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.9114, allocations: 8.391 MB / 0.6764 GB, free: 8.324 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004787/0.9162, allocations: 2.881 MB / 0.6792 GB, free: 5.41 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004597/0.9208, allocations: 1.712 MB / 0.6809 GB, free: 3.695 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.9216, allocations: 215.4 kB / 0.6811 GB, free: 3.484 MB / 0.5138 GB Notification: Performance of SimCode: time 1.202e-06/0.9216, allocations: 0 / 0.6811 GB, free: 3.484 MB / 0.5138 GB Notification: Performance of Templates: time 0.3252/1.247, allocations: 36.08 MB / 0.7163 GB, free: 196.9 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches