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.001304/0.001304, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001215/0.001215, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.286/1.286, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.216/0.216, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01033/0.351, allocations: 9.568 MB / 0.5289 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007964/0.359, allocations: 3.81 MB / 0.5326 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.3607, allocations: 57.53 kB / 0.5327 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.3649, allocations: 2.294 MB / 0.5349 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.3701, allocations: 1.658 MB / 0.5366 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.3721, allocations: 0.6982 MB / 0.5372 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006277/0.3784, allocations: 3.817 MB / 0.541 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004272/0.3827, allocations: 2.915 MB / 0.5438 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.3852, allocations: 1.302 MB / 0.5451 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.3877, allocations: 1.752 MB / 0.5468 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.3883, allocations: 288 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.3905, allocations: 1.174 MB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.3921, allocations: 1.629 MB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.3942, allocations: 1.907 MB / 0.5517 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.4014, allocations: 6.363 MB / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4015, allocations: 0 / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4015, allocations: 0 / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.4016, allocations: 4 kB / 0.5579 GB, free: 4.68 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.008064/0.4097, allocations: 4.218 MB / 0.562 GB, free: 404 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4097, allocations: 16.03 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/0.4179, allocations: 2.031 MB / 0.564 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005054/0.423, allocations: 2.366 MB / 0.5663 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.4232, allocations: 201.3 kB / 0.5665 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/0.4238, allocations: 271.9 kB / 0.5668 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.4385, allocations: 8.766 MB / 0.5753 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.4386, allocations: 43.59 kB / 0.5754 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.439, allocations: 127.9 kB / 0.5755 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003/0.442, allocations: 1.798 MB / 0.5772 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.4555, allocations: 7.729 MB / 0.5848 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04362/0.4991, allocations: 34.57 MB / 0.6185 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/0.5062, allocations: 3.096 MB / 0.6216 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/0.5086, allocations: 1.911 MB / 0.6234 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.5091, allocations: 339.8 kB / 0.6238 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.5091, allocations: 47.22 kB / 0.6238 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.288e-06/0.5091, allocations: 0 / 0.6238 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04029/0.5494, allocations: 15.38 MB / 0.6388 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.5496, allocations: 171.2 kB / 0.639 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.5551, allocations: 3.556 MB / 0.6425 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.5555, allocations: 45.7 kB / 0.6425 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/0.5575, allocations: 2.69 MB / 0.6451 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008377/0.5583, allocations: 0.6058 MB / 0.6457 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/0.5604, allocations: 1.11 MB / 0.6468 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5605, allocations: 309 kB / 0.6471 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.5637, allocations: 2.134 MB / 0.6492 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005415/0.5692, allocations: 5.386 MB / 0.6545 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009326/0.5785, allocations: 8.094 MB / 0.6624 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-05/0.5786, allocations: 32 kB / 0.6624 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01567/0.5943, allocations: 8.327 MB / 0.6705 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.5945, allocations: 55.94 kB / 0.6706 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.5947, allocations: 116.9 kB / 0.6707 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.5979, allocations: 1.234 MB / 0.6719 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/0.602, allocations: 1.224 MB / 0.6731 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.612, allocations: 7.592 MB / 0.6805 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/0.6162, allocations: 315.6 kB / 0.6808 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/0.6173, allocations: 328 kB / 0.6811 GB, free: 0.8633 MB / 0.5294 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.004145/0.6214, allocations: 1.894 MB / 0.683 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009606/0.6224, allocations: 304.1 kB / 0.6833 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006961/0.6294, allocations: 3.565 MB / 0.6867 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.6295, allocations: 19.94 kB / 0.6868 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.6295, allocations: 8 kB / 0.6868 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.6295, allocations: 7.969 kB / 0.6868 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.6448, allocations: 8.232 MB / 0.6948 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6448, allocations: 0 / 0.6948 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.646, allocations: 231.6 kB / 0.695 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.6488, allocations: 1.058 MB / 0.6961 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.649, allocations: 31.92 kB / 0.6961 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009557/0.6586, allocations: 7.266 MB / 0.7032 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6586, allocations: 0 / 0.7032 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009695/0.6683, allocations: 6.283 MB / 0.7093 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000916/0.6692, allocations: 361 kB / 0.7097 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006847/0.6699, allocations: 24 kB / 0.7097 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6716, allocations: 103.8 kB / 0.7098 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.6719, allocations: 92.77 kB / 0.7099 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.672, allocations: 43.98 kB / 0.7099 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004117/0.6761, allocations: 2.221 MB / 0.7121 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6761, allocations: 0 / 0.7121 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005499/0.6816, allocations: 0.9102 MB / 0.713 GB, free: 15.94 MB / 0.5762 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.0006034/0.6823, allocations: 154.9 kB / 0.7131 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008573/0.6908, allocations: 5.17 MB / 0.7182 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6909, allocations: 0 / 0.7182 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003453/0.6943, allocations: 1.864 MB / 0.72 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.6975, allocations: 381.4 kB / 0.7204 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2482/0.9457, allocations: 8.78 MB / 0.7289 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004077/0.9498, allocations: 2.919 MB / 0.7318 GB, free: 183 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.9509, allocations: 258.4 kB / 0.732 GB, free: 183 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.9509, allocations: 0 / 0.732 GB, free: 183 MB / 0.5762 GB Notification: Performance of Templates: time 0.07251/1.023, allocations: 68.94 MB / 0.7994 GB, free: 131.1 MB / 0.5762 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