Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007954/0.0007956, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 172.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.26 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003444, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.04024/0.1961, allocations: 39.94 MB / 0.5002 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3539/0.55, allocations: 9.083 MB / 0.5091 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01005/0.5601, allocations: 172.2 kB / 0.5092 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.5619, allocations: 375 kB / 0.5096 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.5677, allocations: 1.553 MB / 0.5111 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.5697, allocations: 0.6427 MB / 0.5117 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009604/0.5794, allocations: 5.464 MB / 0.5171 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007541/0.5869, allocations: 4.017 MB / 0.521 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.5899, allocations: 0.9602 MB / 0.5219 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.5935, allocations: 1.641 MB / 0.5235 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.5942, allocations: 119.6 kB / 0.5236 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.5968, allocations: 1.079 MB / 0.5247 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.5987, allocations: 1.452 MB / 0.5261 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.6024, allocations: 1.713 MB / 0.5278 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.6097, allocations: 5.932 MB / 0.5336 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6097, allocations: 0 / 0.5336 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6098, allocations: 0 / 0.5336 GB, free: 3.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001859/0.61, allocations: 0 / 0.5336 GB, free: 3.508 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.007346/0.6173, allocations: 3.468 MB / 0.537 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.6174, allocations: 13.86 kB / 0.537 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008205/0.6256, allocations: 2.072 MB / 0.539 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/0.6311, allocations: 2.333 MB / 0.5413 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.6313, allocations: 202.7 kB / 0.5415 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.6324, allocations: 264.2 kB / 0.5417 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.6497, allocations: 8.788 MB / 0.5503 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.6499, allocations: 47.77 kB / 0.5503 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.6503, allocations: 125.3 kB / 0.5505 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/0.6537, allocations: 1.798 MB / 0.5522 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.6698, allocations: 7.732 MB / 0.5598 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.7175, allocations: 34.75 MB / 0.5937 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007692/0.7252, allocations: 3.1 MB / 0.5967 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.7281, allocations: 1.929 MB / 0.5986 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.7286, allocations: 326.3 kB / 0.5989 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.7287, allocations: 55.22 kB / 0.599 GB, free: 3.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.298e-06/0.7287, allocations: 0 / 0.599 GB, free: 3.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.04671/0.7754, allocations: 15.36 MB / 0.614 GB, free: 3.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.7756, allocations: 183.1 kB / 0.6142 GB, free: 3.355 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007406/0.783, allocations: 3.549 MB / 0.6176 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.7835, allocations: 45.7 kB / 0.6177 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.7862, allocations: 2.684 MB / 0.6203 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.7872, allocations: 0.6086 MB / 0.6209 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.7884, allocations: 473.8 kB / 0.6213 GB, free: 12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7885, allocations: 305.1 kB / 0.6216 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/0.7924, allocations: 2.134 MB / 0.6237 GB, free: 9.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006848/0.7993, allocations: 5.389 MB / 0.629 GB, free: 2.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.8108, allocations: 8.098 MB / 0.6369 GB, free: 8.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/0.811, allocations: 32 kB / 0.6369 GB, free: 8.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01887/0.8298, allocations: 8.325 MB / 0.645 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.8301, allocations: 52.22 kB / 0.6451 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/0.8303, allocations: 127.9 kB / 0.6452 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/0.834, allocations: 1.222 MB / 0.6464 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/0.8388, allocations: 1.224 MB / 0.6476 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.8498, allocations: 7.124 MB / 0.6546 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/0.8553, allocations: 318.8 kB / 0.6549 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/0.8569, allocations: 332 kB / 0.6552 GB, free: 5.953 MB / 0.4981 GB 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.00576/0.8626, allocations: 1.887 MB / 0.657 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.8637, allocations: 300.1 kB / 0.6573 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008309/0.872, allocations: 3.573 MB / 0.6608 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.8721, allocations: 16 kB / 0.6608 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.8721, allocations: 11.94 kB / 0.6608 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.8721, allocations: 7.969 kB / 0.6608 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.8886, allocations: 8.324 MB / 0.669 GB, free: 7.762 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.8887, allocations: 8 kB / 0.669 GB, free: 7.754 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8899, allocations: 219.7 kB / 0.6692 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/0.8927, allocations: 1.058 MB / 0.6702 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.8929, allocations: 35.92 kB / 0.6702 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009659/0.9026, allocations: 6.725 MB / 0.6768 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.9026, allocations: 4 kB / 0.6768 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.9127, allocations: 6.266 MB / 0.6829 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.9142, allocations: 372.9 kB / 0.6833 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.9146, allocations: 20 kB / 0.6833 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.9159, allocations: 107.8 kB / 0.6834 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.9161, allocations: 88.81 kB / 0.6835 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9163, allocations: 40 kB / 0.6835 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004076/0.9204, allocations: 2.221 MB / 0.6857 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9204, allocations: 0 / 0.6857 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006097/0.9265, allocations: 0.9133 MB / 0.6866 GB, free: 5.539 MB / 0.5294 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.0004399/0.9269, allocations: 151.5 kB / 0.6867 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009123/0.9361, allocations: 5.16 MB / 0.6918 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.9361, allocations: 0 / 0.6918 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.9392, allocations: 1.858 MB / 0.6936 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.9422, allocations: 370.8 kB / 0.6939 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.9593, allocations: 10.26 MB / 0.704 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/0.9627, allocations: 2.929 MB / 0.7068 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.282/1.245, allocations: 1.715 MB / 0.7085 GB, free: 198.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.246, allocations: 215.5 kB / 0.7087 GB, free: 198.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.246, allocations: 1.375 kB / 0.7087 GB, free: 198.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07591/1.322, allocations: 34.51 MB / 0.7424 GB, free: 187.5 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches