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.001742/0.001742, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002027/0.002027, allocations: 194 kB / 18.77 MB, free: 4.742 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 13.78 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.2217/0.2217, allocations: 44.18 MB / 336.8 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.22 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1155, allocations: 60.84 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03717/0.1527, allocations: 41.04 MB / 0.4983 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2583/0.411, allocations: 9.13 MB / 0.5072 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008566/0.4196, allocations: 175.3 kB / 0.5074 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.4246, allocations: 2.29 MB / 0.5096 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.4292, allocations: 1.54 MB / 0.5111 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.4308, allocations: 0.6408 MB / 0.5117 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008811/0.4396, allocations: 5.467 MB / 0.5171 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.4439, allocations: 2.861 MB / 0.5199 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.4464, allocations: 1.14 MB / 0.521 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.4494, allocations: 1.865 MB / 0.5228 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008178/0.4502, allocations: 196.4 kB / 0.523 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.4528, allocations: 1.153 MB / 0.5241 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.4547, allocations: 1.558 MB / 0.5256 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.4576, allocations: 1.825 MB / 0.5274 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.4629, allocations: 5 MB / 0.5323 GB, free: 3.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4629, allocations: 1.438 kB / 0.5323 GB, free: 3.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4629, allocations: 4 kB / 0.5323 GB, free: 3.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.4631, allocations: 3.938 kB / 0.5323 GB, free: 3.262 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.0108/0.4739, allocations: 4.209 MB / 0.5364 GB, free: 392 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.474, allocations: 10.75 kB / 0.5364 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008328/0.4823, allocations: 2.029 MB / 0.5384 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/0.4879, allocations: 2.335 MB / 0.5407 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.488, allocations: 195.6 kB / 0.5409 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007251/0.4888, allocations: 270.8 kB / 0.5411 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.504, allocations: 8.776 MB / 0.5497 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.5041, allocations: 41.72 kB / 0.5497 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/0.5046, allocations: 122.3 kB / 0.5499 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.5078, allocations: 1.802 MB / 0.5516 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.5233, allocations: 7.717 MB / 0.5591 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05025/0.5736, allocations: 34.74 MB / 0.5931 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007119/0.5807, allocations: 3.096 MB / 0.5961 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.5831, allocations: 1.91 MB / 0.598 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/0.5836, allocations: 338.8 kB / 0.5983 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.5837, allocations: 51.14 kB / 0.5983 GB, free: 1.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.658e-06/0.5837, allocations: 0 / 0.5983 GB, free: 1.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.03995/0.6236, allocations: 15.38 MB / 0.6134 GB, free: 2.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6238, allocations: 171.2 kB / 0.6135 GB, free: 2.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006461/0.6302, allocations: 3.548 MB / 0.617 GB, free: 14.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003723/0.6306, allocations: 49.7 kB / 0.617 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002242/0.6329, allocations: 2.69 MB / 0.6197 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000929/0.6338, allocations: 0.6045 MB / 0.6202 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002192/0.636, allocations: 1.113 MB / 0.6213 GB, free: 10.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6362, allocations: 305.1 kB / 0.6216 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/0.6396, allocations: 2.138 MB / 0.6237 GB, free: 7.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/0.6455, allocations: 5.378 MB / 0.629 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/0.6548, allocations: 8.096 MB / 0.6369 GB, free: 7.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/0.6549, allocations: 36 kB / 0.6369 GB, free: 7.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01498/0.6699, allocations: 8.328 MB / 0.645 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.67, allocations: 56.09 kB / 0.6451 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.6702, allocations: 119.9 kB / 0.6452 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.6733, allocations: 1.235 MB / 0.6464 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/0.6772, allocations: 1.22 MB / 0.6476 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009415/0.6866, allocations: 7.12 MB / 0.6546 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.6906, allocations: 315.4 kB / 0.6549 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008265/0.6914, allocations: 336 kB / 0.6552 GB, free: 4.219 MB / 0.4981 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.003656/0.6951, allocations: 1.874 MB / 0.657 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/0.6958, allocations: 308.1 kB / 0.6573 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/0.7024, allocations: 3.571 MB / 0.6608 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.7025, allocations: 20 kB / 0.6608 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.7025, allocations: 4 kB / 0.6608 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.7025, allocations: 3.984 kB / 0.6608 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.7184, allocations: 8.332 MB / 0.669 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.7185, allocations: 0 / 0.669 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.7197, allocations: 227.7 kB / 0.6692 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/0.7225, allocations: 1.06 MB / 0.6702 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/0.7228, allocations: 27.98 kB / 0.6702 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009339/0.7321, allocations: 6.727 MB / 0.6768 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7322, allocations: 7.938 kB / 0.6768 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009843/0.742, allocations: 6.259 MB / 0.6829 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7431, allocations: 365 kB / 0.6833 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008087/0.7439, allocations: 27.94 kB / 0.6833 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.7456, allocations: 103.8 kB / 0.6834 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.746, allocations: 79.08 kB / 0.6835 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.7462, allocations: 47.98 kB / 0.6835 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004413/0.7506, allocations: 2.217 MB / 0.6857 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7506, allocations: 0 / 0.6857 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005356/0.756, allocations: 0.914 MB / 0.6866 GB, free: 3.828 MB / 0.5294 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.0005139/0.7565, allocations: 158.9 kB / 0.6867 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008754/0.7653, allocations: 5.148 MB / 0.6918 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7653, allocations: 0 / 0.6918 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.7684, allocations: 1.863 MB / 0.6936 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.7716, allocations: 369 kB / 0.6939 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.7885, allocations: 10.56 MB / 0.7042 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2214/1.01, allocations: 2.91 MB / 0.7071 GB, free: 200 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.011, allocations: 258.2 kB / 0.7073 GB, free: 200 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.011, allocations: 0 / 0.7073 GB, free: 200 MB / 0.545 GB Notification: Performance of Templates: time 0.0991/1.111, allocations: 68.35 MB / 0.7741 GB, free: 155.8 MB / 0.545 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