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.001408/0.001408, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001594/0.001594, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.387/1.387, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2207/0.2207, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.56 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01066/0.1181, allocations: 9.557 MB / 479.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007766/0.1259, allocations: 3.812 MB / 483.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.1278, allocations: 55.81 kB / 483.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004401/0.1322, allocations: 2.297 MB / 485.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.1368, allocations: 1.661 MB / 487.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1384, allocations: 0.694 MB / 488 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.1437, allocations: 3.816 MB / 491.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003492/0.1473, allocations: 2.922 MB / 494.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.1492, allocations: 1.297 MB / 496 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.1514, allocations: 1.748 MB / 497.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005369/0.1519, allocations: 288 kB / 498.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.154, allocations: 1.166 MB / 499.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.1556, allocations: 1.625 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.1576, allocations: 1.903 MB / 0.491 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.1641, allocations: 6.153 MB / 0.497 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1642, allocations: 0 / 0.497 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1642, allocations: 4 kB / 0.497 GB, free: 7.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.1643, allocations: 0 / 0.497 GB, free: 7.207 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.008424/0.1727, allocations: 4.221 MB / 0.5011 GB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1728, allocations: 8.031 kB / 0.5011 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008514/0.1813, allocations: 2.028 MB / 0.5031 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2391/0.4204, allocations: 2.329 MB / 0.5054 GB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.4208, allocations: 201.9 kB / 0.5056 GB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.4223, allocations: 264.4 kB / 0.5058 GB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.4392, allocations: 8.772 MB / 0.5144 GB, free: 41.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.4393, allocations: 37.86 kB / 0.5144 GB, free: 41.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003767/0.4397, allocations: 125.2 kB / 0.5145 GB, free: 41.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003793/0.4435, allocations: 1.805 MB / 0.5163 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.458, allocations: 7.717 MB / 0.5238 GB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.493, allocations: 34.75 MB / 0.5578 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005845/0.4988, allocations: 3.092 MB / 0.5608 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.5012, allocations: 1.911 MB / 0.5627 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.5016, allocations: 331.9 kB / 0.563 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.5016, allocations: 47.22 kB / 0.563 GB, free: 13.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 3.677e-06/0.5016, allocations: 0 / 0.563 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.03954/0.5412, allocations: 15.39 MB / 0.5781 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5413, allocations: 179.2 kB / 0.5782 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005231/0.5466, allocations: 3.552 MB / 0.5817 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.5471, allocations: 45.7 kB / 0.5817 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.5492, allocations: 2.686 MB / 0.5844 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009048/0.5501, allocations: 0.6056 MB / 0.5849 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.5517, allocations: 1.11 MB / 0.586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5518, allocations: 305.1 kB / 0.5863 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.555, allocations: 2.134 MB / 0.5884 GB, free: 3.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/0.5607, allocations: 5.386 MB / 0.5937 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009547/0.5702, allocations: 8.095 MB / 0.6016 GB, free: 2.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-05/0.5704, allocations: 32 kB / 0.6016 GB, free: 2.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01578/0.5862, allocations: 8.335 MB / 0.6097 GB, free: 10.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.5863, allocations: 56 kB / 0.6098 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/0.5865, allocations: 120.1 kB / 0.6099 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/0.5897, allocations: 1.226 MB / 0.6111 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.5938, allocations: 1.228 MB / 0.6123 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.6041, allocations: 7.61 MB / 0.6197 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.6089, allocations: 315.5 kB / 0.62 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009978/0.6099, allocations: 328 kB / 0.6204 GB, free: 15.51 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.003698/0.6136, allocations: 1.887 MB / 0.6222 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009142/0.6145, allocations: 300.1 kB / 0.6225 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/0.6216, allocations: 3.577 MB / 0.626 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/0.6217, allocations: 16 kB / 0.626 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.6217, allocations: 7.938 kB / 0.626 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.6218, allocations: 11.97 kB / 0.626 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.6398, allocations: 8.33 MB / 0.6341 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.6399, allocations: 0 / 0.6341 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.6411, allocations: 227.7 kB / 0.6344 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.6441, allocations: 1.071 MB / 0.6354 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.6444, allocations: 24 kB / 0.6354 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.6544, allocations: 7.21 MB / 0.6425 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6544, allocations: 0 / 0.6425 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.6645, allocations: 6.269 MB / 0.6486 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/0.6655, allocations: 361 kB / 0.6489 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007005/0.6662, allocations: 20 kB / 0.649 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.6679, allocations: 103.8 kB / 0.6491 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.6682, allocations: 88.83 kB / 0.6491 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.6683, allocations: 47.97 kB / 0.6492 GB, free: 1.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00396/0.6723, allocations: 2.217 MB / 0.6514 GB, free: 15.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6723, allocations: 0 / 0.6514 GB, free: 15.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004744/0.6771, allocations: 0.9088 MB / 0.6522 GB, free: 14.58 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.000519/0.6776, allocations: 160.3 kB / 0.6524 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009906/0.6875, allocations: 5.905 MB / 0.6582 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6875, allocations: 4.062 kB / 0.6582 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003232/0.6908, allocations: 1.857 MB / 0.66 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.6941, allocations: 388.9 kB / 0.6603 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.7094, allocations: 8.881 MB / 0.669 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/0.7132, allocations: 2.918 MB / 0.6719 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.7143, allocations: 259.4 kB / 0.6721 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.7143, allocations: 0 / 0.6721 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.3243/1.039, allocations: 68.33 MB / 0.7388 GB, free: 145.5 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/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