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.00111/0.00111, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001028/0.001028, allocations: 191 kB / 19.34 MB, free: 3.637 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.351/1.351, allocations: 222.9 MB / 243 MB, free: 15.14 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.2106/0.2106, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.45 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01257/0.1302, allocations: 9.564 MB / 480.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009286/0.1395, allocations: 3.804 MB / 484.1 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.1414, allocations: 55.81 kB / 484.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.1459, allocations: 2.301 MB / 486.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.1504, allocations: 1.658 MB / 488.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.152, allocations: 0.6979 MB / 488.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.158, allocations: 3.816 MB / 492.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.1615, allocations: 2.91 MB / 495.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.164, allocations: 1.3 MB / 496.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.1664, allocations: 1.744 MB / 498.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005924/0.167, allocations: 288 kB / 498.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.1691, allocations: 1.17 MB / 0.4883 GB, free: 232 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.1707, allocations: 1.625 MB / 0.4899 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.1727, allocations: 1.903 MB / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.1793, allocations: 6.362 MB / 0.498 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1793, allocations: 0 / 0.498 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1793, allocations: 0 / 0.498 GB, free: 6.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.1795, allocations: 3.938 kB / 0.498 GB, free: 6.297 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.008149/0.1876, allocations: 4.222 MB / 0.5021 GB, free: 2.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1877, allocations: 15.95 kB / 0.5021 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2237/0.4114, allocations: 2.025 MB / 0.5041 GB, free: 46.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007233/0.4187, allocations: 2.374 MB / 0.5064 GB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.4189, allocations: 192.3 kB / 0.5066 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000823/0.4198, allocations: 268.9 kB / 0.5068 GB, free: 45.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.4347, allocations: 8.779 MB / 0.5154 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.4349, allocations: 40.25 kB / 0.5154 GB, free: 41.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.4352, allocations: 125.8 kB / 0.5156 GB, free: 41.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.4385, allocations: 1.797 MB / 0.5173 GB, free: 41.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.451, allocations: 7.722 MB / 0.5249 GB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/0.4858, allocations: 34.58 MB / 0.5586 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00589/0.4918, allocations: 3.085 MB / 0.5616 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.4941, allocations: 1.911 MB / 0.5635 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.4945, allocations: 331.9 kB / 0.5638 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4946, allocations: 51.14 kB / 0.5639 GB, free: 13.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 4.388e-06/0.4946, allocations: 0 / 0.5639 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.03669/0.5313, allocations: 15.38 MB / 0.5789 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.5314, allocations: 179.1 kB / 0.5791 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/0.5362, allocations: 3.554 MB / 0.5825 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.5365, allocations: 45.7 kB / 0.5826 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.5382, allocations: 2.686 MB / 0.5852 GB, free: 7.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/0.5388, allocations: 0.6133 MB / 0.5858 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.5402, allocations: 1.106 MB / 0.5869 GB, free: 5.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5403, allocations: 305.1 kB / 0.5872 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.5433, allocations: 2.127 MB / 0.5892 GB, free: 3.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005074/0.5484, allocations: 5.386 MB / 0.5945 GB, free: 12.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009501/0.5579, allocations: 8.096 MB / 0.6024 GB, free: 2.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.011e-05/0.558, allocations: 32 kB / 0.6024 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01473/0.5727, allocations: 8.332 MB / 0.6106 GB, free: 10.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/0.5729, allocations: 52 kB / 0.6106 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/0.5731, allocations: 116.8 kB / 0.6107 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.5761, allocations: 1.226 MB / 0.6119 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.58, allocations: 1.228 MB / 0.6131 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00993/0.5899, allocations: 7.61 MB / 0.6206 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.594, allocations: 315.7 kB / 0.6209 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008689/0.5949, allocations: 336 kB / 0.6212 GB, free: 15.11 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.003399/0.5983, allocations: 1.88 MB / 0.623 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/0.5991, allocations: 311.9 kB / 0.6233 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006646/0.6058, allocations: 3.573 MB / 0.6268 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/0.6058, allocations: 20 kB / 0.6268 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.6059, allocations: 4 kB / 0.6268 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/0.6059, allocations: 11.91 kB / 0.6268 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.6243, allocations: 8.309 MB / 0.635 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.6243, allocations: 3.938 kB / 0.635 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.6256, allocations: 231.6 kB / 0.6352 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.6284, allocations: 1.06 MB / 0.6362 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.6286, allocations: 24 kB / 0.6362 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00964/0.6383, allocations: 7.211 MB / 0.6433 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6383, allocations: 0 / 0.6433 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00948/0.6478, allocations: 6.263 MB / 0.6494 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008721/0.6487, allocations: 365 kB / 0.6497 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/0.6493, allocations: 24 kB / 0.6498 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.6507, allocations: 103.8 kB / 0.6499 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.651, allocations: 92.88 kB / 0.65 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.6512, allocations: 36 kB / 0.65 GB, free: 1.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003846/0.655, allocations: 2.228 MB / 0.6522 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.6551, allocations: 0 / 0.6522 GB, free: 15.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004436/0.6595, allocations: 0.9088 MB / 0.6531 GB, free: 14.2 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.0004744/0.66, allocations: 160.4 kB / 0.6532 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008645/0.6686, allocations: 5.163 MB / 0.6582 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.6687, allocations: 0 / 0.6582 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.6721, allocations: 1.861 MB / 0.6601 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.6751, allocations: 386 kB / 0.6604 GB, free: 6.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.6917, allocations: 8.404 MB / 0.6686 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004608/0.6964, allocations: 2.929 MB / 0.6715 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004007/0.7004, allocations: 1.718 MB / 0.6732 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/0.7012, allocations: 215.4 kB / 0.6734 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/0.7013, allocations: 4 kB / 0.6734 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.2848/0.9861, allocations: 31.9 MB / 0.7045 GB, free: 169.8 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 -s gbode -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/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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches