Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001186/0.001187, allocations: 111.7 kB / 17.09 MB, free: 5.957 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.0011/0.0011, allocations: 198.9 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.218/0.218, allocations: 43.53 MB / 314.8 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 73.47 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1292, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01232/0.1415, allocations: 10.22 MB / 0.4985 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009391/0.151, allocations: 3.925 MB / 0.5024 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.1527, allocations: 55.88 kB / 0.5024 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.1573, allocations: 2.316 MB / 0.5047 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.1624, allocations: 1.728 MB / 0.5064 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.1644, allocations: 0.7018 MB / 0.5071 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00664/0.1711, allocations: 3.802 MB / 0.5108 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005521/0.1766, allocations: 2.989 MB / 0.5137 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.1796, allocations: 1.374 MB / 0.515 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/0.1835, allocations: 1.861 MB / 0.5169 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.1847, allocations: 308 kB / 0.5171 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.1884, allocations: 1.178 MB / 0.5183 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.1909, allocations: 1.726 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003943/0.1949, allocations: 2.023 MB / 0.522 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.2052, allocations: 6.747 MB / 0.5286 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2052, allocations: 3.984 kB / 0.5286 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2052, allocations: 0 / 0.5286 GB, free: 2.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.2055, allocations: 0 / 0.5286 GB, free: 2.617 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.2706/0.4761, allocations: 4.423 MB / 0.5329 GB, free: 37.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.4762, allocations: 13.23 kB / 0.5329 GB, free: 37.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008466/0.4847, allocations: 2.058 MB / 0.5349 GB, free: 36.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005092/0.4898, allocations: 2.488 MB / 0.5373 GB, free: 36.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.49, allocations: 210 kB / 0.5375 GB, free: 36.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006015/0.4906, allocations: 280.6 kB / 0.5378 GB, free: 36.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.505, allocations: 9.282 MB / 0.5469 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.381e-05/0.5051, allocations: 42.17 kB / 0.5469 GB, free: 31.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.5054, allocations: 132.9 kB / 0.547 GB, free: 31.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/0.5089, allocations: 1.918 MB / 0.5489 GB, free: 31.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.5233, allocations: 8.171 MB / 0.5569 GB, free: 27.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/0.5584, allocations: 36.23 MB / 0.5923 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/0.5659, allocations: 3.676 MB / 0.5959 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.5685, allocations: 2.079 MB / 0.5979 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.5689, allocations: 328.2 kB / 0.5982 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.569, allocations: 63.42 kB / 0.5983 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 5.27e-06/0.569, allocations: 0 / 0.5983 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of matching and sorting (n=177): time 0.03872/0.6077, allocations: 16.21 MB / 0.6141 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6079, allocations: 167.2 kB / 0.6142 GB, free: 324 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.6131, allocations: 3.643 MB / 0.6178 GB, free: 12.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004629/0.6136, allocations: 45.7 kB / 0.6179 GB, free: 12.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.6157, allocations: 2.807 MB / 0.6206 GB, free: 9.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009321/0.6166, allocations: 0.6788 MB / 0.6213 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.6182, allocations: 1.158 MB / 0.6224 GB, free: 7.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6183, allocations: 305.1 kB / 0.6227 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.6217, allocations: 2.287 MB / 0.6249 GB, free: 5.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.6276, allocations: 5.647 MB / 0.6304 GB, free: 14.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6389, allocations: 8.546 MB / 0.6388 GB, free: 3.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.639, allocations: 36 kB / 0.6388 GB, free: 3.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01677/0.6558, allocations: 8.763 MB / 0.6474 GB, free: 11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.656, allocations: 56 kB / 0.6474 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/0.6562, allocations: 120 kB / 0.6475 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/0.6594, allocations: 1.226 MB / 0.6487 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.6645, allocations: 1.298 MB / 0.65 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.6759, allocations: 7.687 MB / 0.6575 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/0.6808, allocations: 339.4 kB / 0.6578 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.682, allocations: 344 kB / 0.6582 GB, free: 15.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004114/0.6861, allocations: 1.968 MB / 0.6601 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008062/0.6869, allocations: 315.9 kB / 0.6604 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/0.6945, allocations: 3.937 MB / 0.6642 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.6946, allocations: 11.97 kB / 0.6642 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6946, allocations: 0 / 0.6642 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.6962, allocations: 0.6726 MB / 0.6649 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/0.697, allocations: 31.94 kB / 0.6649 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.6989, allocations: 115.8 kB / 0.665 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.6992, allocations: 112.8 kB / 0.6651 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008147/0.7074, allocations: 4.474 MB / 0.6695 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007782/0.7152, allocations: 5.935 MB / 0.6753 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002213/0.7175, allocations: 1.564 MB / 0.6768 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004897/0.7224, allocations: 2.278 MB / 0.6791 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of Backend: time 7.31e-07/0.7224, allocations: 0 / 0.6791 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.7339, allocations: 4.324 MB / 0.6833 GB, free: 6 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01811/0.752, allocations: 8.511 MB / 0.6916 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.08797/0.8401, allocations: 47.31 MB / 0.7378 GB, free: 14.12 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches