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.001212/0.001212, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 72.78 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 62.44 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009594/0.12, allocations: 9.455 MB / 490.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00679/0.1269, allocations: 3.812 MB / 494.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1281, allocations: 55.81 kB / 494.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004089/0.1323, allocations: 2.282 MB / 497 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.1363, allocations: 1.603 MB / 498.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.138, allocations: 0.694 MB / 499.3 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004816/0.1428, allocations: 3.797 MB / 0.4913 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.1461, allocations: 2.902 MB / 0.4942 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.1482, allocations: 1.281 MB / 0.4954 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.1507, allocations: 1.713 MB / 0.4971 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006328/0.1513, allocations: 287.9 kB / 0.4974 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.1533, allocations: 1.155 MB / 0.4985 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.155, allocations: 1.574 MB / 0.5 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.1575, allocations: 1.856 MB / 0.5019 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2112/0.3688, allocations: 6.21 MB / 0.5079 GB, free: 21.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3688, allocations: 0.9062 kB / 0.5079 GB, free: 21.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3688, allocations: 0 / 0.5079 GB, free: 21.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.369, allocations: 0 / 0.5079 GB, free: 21.07 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.007894/0.3769, allocations: 4.156 MB / 0.512 GB, free: 19.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3769, allocations: 9.531 kB / 0.512 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/0.3849, allocations: 1.996 MB / 0.5139 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.3907, allocations: 2.326 MB / 0.5162 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3909, allocations: 190 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007678/0.3917, allocations: 263.4 kB / 0.5166 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.4047, allocations: 8.584 MB / 0.525 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-05/0.4049, allocations: 44.64 kB / 0.5251 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.4052, allocations: 128 kB / 0.5252 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.4078, allocations: 1.735 MB / 0.5269 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.4196, allocations: 7.569 MB / 0.5343 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.4535, allocations: 34.16 MB / 0.5676 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.4598, allocations: 3.085 MB / 0.5706 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.4619, allocations: 1.916 MB / 0.5725 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.4623, allocations: 333.5 kB / 0.5728 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4624, allocations: 50.88 kB / 0.5729 GB, free: 6.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.637e-06/0.4624, allocations: 0 / 0.5729 GB, free: 6.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.03581/0.4982, allocations: 15.32 MB / 0.5878 GB, free: 7.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4983, allocations: 171.2 kB / 0.588 GB, free: 6.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/0.5029, allocations: 3.514 MB / 0.5914 GB, free: 3.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.5031, allocations: 45.7 kB / 0.5915 GB, free: 3.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.5048, allocations: 2.638 MB / 0.5941 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.5053, allocations: 0.6068 MB / 0.5947 GB, free: 92 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.5068, allocations: 1.099 MB / 0.5957 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5069, allocations: 304.7 kB / 0.596 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.5097, allocations: 2.123 MB / 0.5981 GB, free: 12.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/0.5147, allocations: 5.34 MB / 0.6033 GB, free: 5.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008587/0.5233, allocations: 8.052 MB / 0.6112 GB, free: 12.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.728e-05/0.5234, allocations: 32 kB / 0.6112 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01371/0.5371, allocations: 8.282 MB / 0.6193 GB, free: 4.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.5372, allocations: 54.03 kB / 0.6193 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.5373, allocations: 112 kB / 0.6194 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.5401, allocations: 1.23 MB / 0.6206 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004194/0.5443, allocations: 1.216 MB / 0.6218 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009803/0.5542, allocations: 7.613 MB / 0.6293 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/0.5582, allocations: 307.4 kB / 0.6296 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/0.5588, allocations: 324 kB / 0.6299 GB, free: 9.426 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.002653/0.5615, allocations: 1.844 MB / 0.6317 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.562, allocations: 308 kB / 0.632 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/0.5682, allocations: 3.56 MB / 0.6354 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.5682, allocations: 20 kB / 0.6355 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.5683, allocations: 8 kB / 0.6355 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.5683, allocations: 7.969 kB / 0.6355 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.5827, allocations: 8.263 MB / 0.6435 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.5827, allocations: 0 / 0.6435 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.5839, allocations: 231.6 kB / 0.6438 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/0.5867, allocations: 1.058 MB / 0.6448 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.5869, allocations: 24 kB / 0.6448 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009215/0.5961, allocations: 7.204 MB / 0.6519 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5962, allocations: 7.938 kB / 0.6519 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/0.6054, allocations: 6.264 MB / 0.658 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009834/0.6064, allocations: 361 kB / 0.6583 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.6068, allocations: 27.98 kB / 0.6584 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.6081, allocations: 99.86 kB / 0.6584 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.6084, allocations: 84.81 kB / 0.6585 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.6085, allocations: 46.34 kB / 0.6586 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003155/0.6117, allocations: 2.196 MB / 0.6607 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6117, allocations: 0 / 0.6607 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004044/0.6157, allocations: 0.8828 MB / 0.6616 GB, free: 8.723 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.0004111/0.6161, allocations: 159.9 kB / 0.6617 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007455/0.6236, allocations: 5.142 MB / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6236, allocations: 0 / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002814/0.6265, allocations: 1.861 MB / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.6285, allocations: 389.1 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6416, allocations: 8.288 MB / 0.677 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.6447, allocations: 2.877 MB / 0.6798 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003651/0.6484, allocations: 1.713 MB / 0.6815 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.649, allocations: 215.4 kB / 0.6817 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.649, allocations: 2.297 kB / 0.6817 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.2586/0.9076, allocations: 31.58 MB / 0.7126 GB, free: 180.5 MB / 0.5294 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches