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.001101/0.001102, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 76.2 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4181, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.0112/0.4293, allocations: 9.456 MB / 0.5402 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00919/0.4386, allocations: 3.811 MB / 0.5439 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.4405, allocations: 52.88 kB / 0.544 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.446, allocations: 2.274 MB / 0.5462 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.4521, allocations: 1.651 MB / 0.5478 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.4539, allocations: 0.694 MB / 0.5485 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006015/0.4599, allocations: 3.81 MB / 0.5522 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/0.4636, allocations: 2.899 MB / 0.5551 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.466, allocations: 1.293 MB / 0.5563 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.4684, allocations: 1.721 MB / 0.558 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.4689, allocations: 284 kB / 0.5583 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4711, allocations: 1.159 MB / 0.5594 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.4726, allocations: 1.582 MB / 0.5609 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.4745, allocations: 1.856 MB / 0.5628 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.4819, allocations: 6.212 MB / 0.5688 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.482, allocations: 0 / 0.5688 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.482, allocations: 4 kB / 0.5688 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.303e-05/0.482, allocations: 0 / 0.5688 GB, free: 10.8 MB / 430.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.008533/0.4906, allocations: 4.155 MB / 0.5729 GB, free: 6.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4907, allocations: 12.03 kB / 0.5729 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007699/0.4984, allocations: 1.996 MB / 0.5749 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.5029, allocations: 2.327 MB / 0.5771 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5031, allocations: 193.3 kB / 0.5773 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.5036, allocations: 263.9 kB / 0.5776 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.5176, allocations: 8.58 MB / 0.5859 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.5178, allocations: 43.59 kB / 0.586 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.5182, allocations: 123.9 kB / 0.5861 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003122/0.5213, allocations: 1.743 MB / 0.5878 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.5374, allocations: 7.564 MB / 0.5952 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/0.5817, allocations: 34.15 MB / 0.6285 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/0.5884, allocations: 3.092 MB / 0.6316 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.5908, allocations: 1.906 MB / 0.6334 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/0.5912, allocations: 339.7 kB / 0.6337 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.5912, allocations: 51.22 kB / 0.6338 GB, free: 6.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.058e-06/0.5912, allocations: 0 / 0.6338 GB, free: 6.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04007/0.6313, allocations: 15.33 MB / 0.6488 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.6316, allocations: 171.2 kB / 0.6489 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.6368, allocations: 3.511 MB / 0.6524 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.6372, allocations: 49.7 kB / 0.6524 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.6391, allocations: 2.64 MB / 0.655 GB, free: 416 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.6398, allocations: 0.6097 MB / 0.6556 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.6413, allocations: 1.095 MB / 0.6566 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6415, allocations: 305.1 kB / 0.6569 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/0.6445, allocations: 2.119 MB / 0.659 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/0.65, allocations: 5.341 MB / 0.6642 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00988/0.6599, allocations: 8.039 MB / 0.6721 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.542e-05/0.66, allocations: 32 kB / 0.6721 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01464/0.6747, allocations: 8.286 MB / 0.6802 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/0.6748, allocations: 56 kB / 0.6802 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.6749, allocations: 112 kB / 0.6804 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.6778, allocations: 1.23 MB / 0.6816 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/0.6819, allocations: 1.213 MB / 0.6827 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.6923, allocations: 7.604 MB / 0.6902 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/0.6972, allocations: 315.5 kB / 0.6905 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/0.6982, allocations: 324 kB / 0.6908 GB, free: 8.363 MB / 0.545 GB 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.003607/0.7018, allocations: 1.845 MB / 0.6926 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/0.7025, allocations: 304.1 kB / 0.6929 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/0.709, allocations: 3.568 MB / 0.6964 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.7091, allocations: 24 kB / 0.6964 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.7091, allocations: 7.984 kB / 0.6964 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7091, allocations: 4.266 kB / 0.6964 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.7232, allocations: 8.169 MB / 0.7044 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.7233, allocations: 3.938 kB / 0.7044 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.7244, allocations: 235.6 kB / 0.7046 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/0.7272, allocations: 1.065 MB / 0.7056 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.7273, allocations: 24 kB / 0.7057 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009714/0.7371, allocations: 7.264 MB / 0.7127 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7371, allocations: 4 kB / 0.7128 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009615/0.7467, allocations: 6.271 MB / 0.7189 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.7478, allocations: 361.1 kB / 0.7192 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.7482, allocations: 24 kB / 0.7192 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7495, allocations: 107.8 kB / 0.7193 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.7499, allocations: 84.88 kB / 0.7194 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.75, allocations: 36 kB / 0.7195 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003417/0.7534, allocations: 2.204 MB / 0.7216 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7534, allocations: 4 kB / 0.7216 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005713/0.7592, allocations: 0.8867 MB / 0.7225 GB, free: 7.609 MB / 0.5762 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.0004249/0.7596, allocations: 147.3 kB / 0.7226 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008833/0.7684, allocations: 5.157 MB / 0.7277 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7685, allocations: 0 / 0.7277 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00306/0.7715, allocations: 1.861 MB / 0.7295 GB, free: 448 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.774, allocations: 373.3 kB / 0.7298 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/1.126, allocations: 8.282 MB / 0.7379 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003268/1.129, allocations: 2.892 MB / 0.7407 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003463/1.133, allocations: 1.715 MB / 0.7424 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/1.133, allocations: 206.7 kB / 0.7426 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.854e-06/1.133, allocations: 4 kB / 0.7426 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.05337/1.187, allocations: 33.46 MB / 0.7753 GB, free: 149.7 MB / 0.5762 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