Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.89 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 83.81 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2985, allocations: 65.99 MB / 0.5612 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01844/0.3169, allocations: 16.37 MB / 0.5772 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3288, allocations: 5.435 MB / 0.5825 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.332, allocations: 127.6 kB / 0.5826 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01513/0.3471, allocations: 7.555 MB / 0.59 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.3559, allocations: 3.012 MB / 0.5929 GB, free: 4.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.3604, allocations: 1.72 MB / 0.5946 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.3736, allocations: 8.404 MB / 0.6028 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.3839, allocations: 6.252 MB / 0.6089 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.3904, allocations: 3.385 MB / 0.6122 GB, free: 480 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008069/0.3985, allocations: 4.693 MB / 0.6168 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002718/0.4012, allocations: 0.7147 MB / 0.6175 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004893/0.4061, allocations: 1.557 MB / 0.619 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006674/0.4128, allocations: 4.184 MB / 0.6231 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007902/0.4207, allocations: 4.467 MB / 0.6275 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01853/0.4392, allocations: 13.64 MB / 0.6408 GB, free: 3.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4392, allocations: 0 / 0.6408 GB, free: 3.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4392, allocations: 4 kB / 0.6408 GB, free: 3.094 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004751/0.4397, allocations: 0 / 0.6408 GB, free: 3.094 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2873 * Number of variables: 2873 Notification: Performance of Generate backend data structure: time 0.02682/0.4665, allocations: 9.809 MB / 0.6504 GB, free: 9.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4666, allocations: 8.031 kB / 0.6504 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.4784, allocations: 2.647 MB / 0.653 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.4914, allocations: 4.948 MB / 0.6578 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006032/0.492, allocations: 0.4969 MB / 0.6583 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.4946, allocations: 0.6559 MB / 0.659 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04334/0.5379, allocations: 19.59 MB / 0.6781 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/0.5382, allocations: 79.41 kB / 0.6782 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002041/0.5403, allocations: 315.7 kB / 0.6785 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005544/0.5458, allocations: 3.301 MB / 0.6817 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03544/0.5813, allocations: 14.99 MB / 0.6963 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5652/1.147, allocations: 71.28 MB / 0.7659 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.164, allocations: 6.234 MB / 0.772 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/1.167, allocations: 2.234 MB / 0.7742 GB, free: 99.87 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.184, allocations: 10.82 MB / 0.7848 GB, free: 93.45 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.184, allocations: 64.56 kB / 0.7848 GB, free: 93.39 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 5.41e-06/1.184, allocations: 3.656 kB / 0.7848 GB, free: 93.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04316/1.227, allocations: 16.88 MB / 0.8013 GB, free: 80.78 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.227, allocations: 162 kB / 0.8015 GB, free: 80.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008981/1.236, allocations: 6.645 MB / 0.808 GB, free: 74.09 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/1.236, allocations: 65.53 kB / 0.808 GB, free: 74.02 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003484/1.24, allocations: 5.871 MB / 0.8138 GB, free: 68.61 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.241, allocations: 0.964 MB / 0.8147 GB, free: 67.65 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.243, allocations: 1.836 MB / 0.8165 GB, free: 65.81 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/1.243, allocations: 302.9 kB / 0.8168 GB, free: 65.51 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/1.246, allocations: 2.54 MB / 0.8193 GB, free: 62.96 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/1.25, allocations: 8.238 MB / 0.8273 GB, free: 51.97 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/1.259, allocations: 11.72 MB / 0.8388 GB, free: 37.53 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.26, allocations: 56 kB / 0.8388 GB, free: 37.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01464/1.274, allocations: 10.46 MB / 0.849 GB, free: 27.01 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.274, allocations: 92.97 kB / 0.8491 GB, free: 26.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.275, allocations: 204 kB / 0.8493 GB, free: 26.72 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/1.275, allocations: 272 kB / 0.8496 GB, free: 26.46 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005791/1.281, allocations: 2.074 MB / 0.8516 GB, free: 24.38 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002572/1.281, allocations: 402.4 kB / 0.852 GB, free: 23.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/1.287, allocations: 431.6 kB / 0.8524 GB, free: 23.56 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.288, allocations: 0.5622 MB / 0.8529 GB, free: 23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1129): * Single equations (assignments): 1118 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005573/1.293, allocations: 3.727 MB / 0.8566 GB, free: 19.25 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.294, allocations: 0.5859 MB / 0.8572 GB, free: 18.66 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/1.296, allocations: 0.6823 MB / 0.8578 GB, free: 17.97 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.296, allocations: 11.95 kB / 0.8578 GB, free: 17.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.296, allocations: 6.75 kB / 0.8578 GB, free: 17.95 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.297, allocations: 0.5985 MB / 0.8584 GB, free: 17.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000931/1.298, allocations: 43.98 kB / 0.8585 GB, free: 17.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.3, allocations: 103.6 kB / 0.8586 GB, free: 17.19 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/1.3, allocations: 121.8 kB / 0.8587 GB, free: 17.07 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003943/1.304, allocations: 2.846 MB / 0.8615 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003359/1.307, allocations: 3.288 MB / 0.8647 GB, free: 10.95 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001023/1.308, allocations: 1.042 MB / 0.8657 GB, free: 9.902 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00672/1.315, allocations: 4.127 MB / 0.8697 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of Backend: time 3.91e-07/1.315, allocations: 480 / 0.8697 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.325, allocations: 4.862 MB / 0.8745 GB, free: 0.9844 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03587/1.361, allocations: 16.24 MB / 0.8903 GB, free: 0.6758 MB / 0.5763 GB Notification: Performance of Templates: time 0.1251/1.486, allocations: 57.2 MB / 0.9462 GB, free: 7.727 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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: 7.872640605084598]