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.001183/0.001183, allocations: 104.5 kB / 17.63 MB, free: 5.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.001197/0.001197, allocations: 192 kB / 18.56 MB, free: 4.434 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.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 61.31 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01127/0.1438, allocations: 9.587 MB / 478.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.1519, allocations: 3.804 MB / 482.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.1535, allocations: 55.88 kB / 482.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.1579, allocations: 2.293 MB / 485 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.1622, allocations: 1.661 MB / 486.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1639, allocations: 0.694 MB / 487.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005923/0.1699, allocations: 3.814 MB / 491.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.1735, allocations: 2.922 MB / 494.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1756, allocations: 1.293 MB / 495.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.1781, allocations: 1.748 MB / 497.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006292/0.1787, allocations: 284 kB / 497.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.1809, allocations: 1.178 MB / 498.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.1823, allocations: 1.617 MB / 0.4885 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.1843, allocations: 1.907 MB / 0.4903 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006542/0.1908, allocations: 6.149 MB / 0.4963 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1909, allocations: 0 / 0.4963 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1909, allocations: 0 / 0.4963 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001364/0.191, allocations: 0 / 0.4963 GB, free: 7.18 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.008105/0.1991, allocations: 4.225 MB / 0.5005 GB, free: 2.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1992, allocations: 8.031 kB / 0.5005 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008018/0.2072, allocations: 2.028 MB / 0.5024 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2674/0.4747, allocations: 2.33 MB / 0.5047 GB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.4749, allocations: 197.9 kB / 0.5049 GB, free: 45.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.4757, allocations: 261.9 kB / 0.5052 GB, free: 45.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.4927, allocations: 8.776 MB / 0.5137 GB, free: 41.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.493, allocations: 37.14 kB / 0.5138 GB, free: 41.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004146/0.4934, allocations: 125 kB / 0.5139 GB, free: 41.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004669/0.4981, allocations: 1.811 MB / 0.5157 GB, free: 41.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.5138, allocations: 7.718 MB / 0.5232 GB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/0.5464, allocations: 34.75 MB / 0.5571 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/0.5521, allocations: 3.082 MB / 0.5601 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.5543, allocations: 1.922 MB / 0.562 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.5547, allocations: 327.9 kB / 0.5623 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.5548, allocations: 47.22 kB / 0.5624 GB, free: 13.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 3.937e-06/0.5548, allocations: 0 / 0.5624 GB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.04216/0.5969, allocations: 15.39 MB / 0.5774 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5971, allocations: 175.2 kB / 0.5776 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.604, allocations: 3.552 MB / 0.581 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004095/0.6044, allocations: 45.7 kB / 0.5811 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.6067, allocations: 2.686 MB / 0.5837 GB, free: 7.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.6077, allocations: 0.6056 MB / 0.5843 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00263/0.6104, allocations: 1.11 MB / 0.5854 GB, free: 6.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6105, allocations: 301.1 kB / 0.5857 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.614, allocations: 2.142 MB / 0.5878 GB, free: 3.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005734/0.6198, allocations: 5.382 MB / 0.593 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6303, allocations: 8.094 MB / 0.6009 GB, free: 2.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/0.6306, allocations: 36 kB / 0.601 GB, free: 2.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.02009/0.6508, allocations: 8.34 MB / 0.6091 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.6509, allocations: 56.22 kB / 0.6091 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/0.6512, allocations: 116 kB / 0.6093 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/0.6546, allocations: 1.222 MB / 0.6105 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.6588, allocations: 1.224 MB / 0.6116 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.6692, allocations: 7.607 MB / 0.6191 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/0.6736, allocations: 319.4 kB / 0.6194 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.6747, allocations: 332 kB / 0.6197 GB, free: 15.47 MB / 462.1 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.004065/0.6788, allocations: 1.881 MB / 0.6215 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/0.6798, allocations: 300.1 kB / 0.6218 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006915/0.6867, allocations: 3.58 MB / 0.6253 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.6868, allocations: 16 kB / 0.6253 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.6868, allocations: 7.938 kB / 0.6253 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.6868, allocations: 7.984 kB / 0.6253 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.704, allocations: 8.334 MB / 0.6335 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.7041, allocations: 0 / 0.6335 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.7053, allocations: 223.7 kB / 0.6337 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/0.7082, allocations: 1.066 MB / 0.6347 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/0.7085, allocations: 27.92 kB / 0.6348 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0096/0.7181, allocations: 7.212 MB / 0.6418 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.7181, allocations: 0 / 0.6418 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/0.7277, allocations: 6.277 MB / 0.6479 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.7288, allocations: 361 kB / 0.6483 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007036/0.7296, allocations: 20 kB / 0.6483 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.7312, allocations: 103.8 kB / 0.6484 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.7315, allocations: 84.89 kB / 0.6485 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.7316, allocations: 43.98 kB / 0.6485 GB, free: 1.656 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00398/0.7356, allocations: 2.221 MB / 0.6507 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7356, allocations: 0 / 0.6507 GB, free: 15.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004484/0.7401, allocations: 0.9128 MB / 0.6516 GB, free: 14.54 MB / 494.1 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.0005446/0.7407, allocations: 153.5 kB / 0.6517 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009626/0.7503, allocations: 5.904 MB / 0.6575 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7503, allocations: 0 / 0.6575 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.7538, allocations: 1.862 MB / 0.6593 GB, free: 6.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.7574, allocations: 392.5 kB / 0.6597 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.775, allocations: 8.491 MB / 0.668 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004761/0.7798, allocations: 2.929 MB / 0.6708 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004797/0.7847, allocations: 1.718 MB / 0.6725 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008897/0.7856, allocations: 215.4 kB / 0.6727 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.7856, allocations: 0 / 0.6727 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.2918/1.077, allocations: 36.45 MB / 0.7083 GB, free: 165.6 MB / 0.5137 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