Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 63.91 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.373, allocations: 66.03 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01349/0.3865, allocations: 9.534 MB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009318/0.3958, allocations: 3.859 MB / 0.5737 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.3978, allocations: 63.69 kB / 0.5738 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005523/0.4033, allocations: 2.324 MB / 0.5761 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.4086, allocations: 1.646 MB / 0.5777 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.4109, allocations: 0.6901 MB / 0.5783 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007547/0.4185, allocations: 3.821 MB / 0.5821 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005363/0.4238, allocations: 2.312 MB / 0.5843 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.4276, allocations: 1.308 MB / 0.5856 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004292/0.4319, allocations: 1.865 MB / 0.5874 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.4332, allocations: 284 kB / 0.5877 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.4366, allocations: 1.194 MB / 0.5889 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002791/0.4394, allocations: 1.632 MB / 0.5905 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003854/0.4433, allocations: 1.88 MB / 0.5923 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.4537, allocations: 6.312 MB / 0.5985 GB, free: 13.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.4538, allocations: 3.984 kB / 0.5985 GB, free: 13.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4538, allocations: 0 / 0.5985 GB, free: 13.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002014/0.454, allocations: 0 / 0.5985 GB, free: 13.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01229/0.4663, allocations: 4.276 MB / 0.6026 GB, free: 9.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.4663, allocations: 8.031 kB / 0.6026 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001976/0.4683, allocations: 0.6082 MB / 0.6032 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/0.4895, allocations: 3.762 MB / 0.6069 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/0.497, allocations: 2.466 MB / 0.6093 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.4973, allocations: 197.3 kB / 0.6095 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.4987, allocations: 259.8 kB / 0.6098 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.517, allocations: 8.522 MB / 0.6181 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/0.5172, allocations: 35.7 kB / 0.6181 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.5183, allocations: 127.9 kB / 0.6182 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/0.5217, allocations: 1.746 MB / 0.6199 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.537, allocations: 7.436 MB / 0.6272 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04823/0.5852, allocations: 33.82 MB / 0.6602 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/0.5923, allocations: 2.457 MB / 0.6626 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.5948, allocations: 1.704 MB / 0.6643 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.5952, allocations: 96.56 kB / 0.6644 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.5952, allocations: 55.16 kB / 0.6644 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.318e-06/0.5952, allocations: 0 / 0.6644 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04139/0.6366, allocations: 14.27 MB / 0.6784 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.6368, allocations: 175.2 kB / 0.6785 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006714/0.6435, allocations: 3.522 MB / 0.682 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.6439, allocations: 49.7 kB / 0.682 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00301/0.6469, allocations: 2.761 MB / 0.6847 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.6482, allocations: 0.6319 MB / 0.6853 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002746/0.6509, allocations: 1.075 MB / 0.6864 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.651, allocations: 305.1 kB / 0.6867 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.6547, allocations: 2.013 MB / 0.6886 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007636/0.6624, allocations: 5.226 MB / 0.6937 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.6734, allocations: 7.847 MB / 0.7014 GB, free: 14.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.6735, allocations: 35.94 kB / 0.7014 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01724/0.6907, allocations: 7.795 MB / 0.7091 GB, free: 7.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.6909, allocations: 62.48 kB / 0.7091 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002389/0.6911, allocations: 112 kB / 0.7092 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.694, allocations: 0.9654 MB / 0.7102 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/0.6988, allocations: 1.185 MB / 0.7113 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.7095, allocations: 6.795 MB / 0.718 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/0.7143, allocations: 303.5 kB / 0.7182 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/0.7156, allocations: 323.9 kB / 0.7186 GB, free: 13.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.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 (630): * Single equations (assignments): 626 * 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.00468/0.7203, allocations: 1.862 MB / 0.7204 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/0.7212, allocations: 318 kB / 0.7207 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.7282, allocations: 3.182 MB / 0.7238 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.7283, allocations: 28 kB / 0.7238 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.7283, allocations: 4 kB / 0.7238 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.7283, allocations: 7.969 kB / 0.7238 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/0.7467, allocations: 7.777 MB / 0.7314 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.7467, allocations: 0 / 0.7314 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3305/1.077, allocations: 224.5 kB / 0.7316 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/1.08, allocations: 0.8105 MB / 0.7324 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/1.08, allocations: 26.47 kB / 0.7325 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008148/1.088, allocations: 6.388 MB / 0.7387 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.088, allocations: 4.406 kB / 0.7387 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007248/1.096, allocations: 5.824 MB / 0.7444 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/1.097, allocations: 294.8 kB / 0.7447 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.097, allocations: 30.38 kB / 0.7447 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.098, allocations: 95.48 kB / 0.7448 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/1.098, allocations: 88.95 kB / 0.7449 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.098, allocations: 42.47 kB / 0.7449 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002725/1.101, allocations: 2.208 MB / 0.7471 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.101, allocations: 6.094 kB / 0.7471 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003447/1.104, allocations: 0.8602 MB / 0.7479 GB, free: 147.5 MB / 0.5606 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.00673/1.111, allocations: 6.454 MB / 0.7542 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005865/1.117, allocations: 4.696 MB / 0.7588 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.117, allocations: 0 / 0.7588 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/1.119, allocations: 1.664 MB / 0.7604 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.121, allocations: 400.6 kB / 0.7608 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04434/1.166, allocations: 40.89 MB / 0.8007 GB, free: 91.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.168, allocations: 2.877 MB / 0.8035 GB, free: 88.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00314/1.171, allocations: 1.711 MB / 0.8052 GB, free: 87.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.173, allocations: 1.546 MB / 0.8067 GB, free: 85.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/1.173, allocations: 0 / 0.8067 GB, free: 85.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09632/1.269, allocations: 67.37 MB / 0.8725 GB, free: 18.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.97/23.24, allocations: 10.11 kB / 0.8725 GB, free: 18.63 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.97761677694507]