Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.001674/0.001674, allocations: 114.5 kB / 21.18 MB, free: 0.7305 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.002106/0.002106, allocations: 208.8 kB / 24.48 MB, free: 4.125 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.44/1.44, 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.2232/0.2232, allocations: 46.9 MB / 361.1 MB, free: 4.688 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.CutForceAndTorque2,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.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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.CutForceAndTorque2") [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.002324/0.002324, allocations: 83.86 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3013, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01865/0.32, allocations: 16.36 MB / 0.5772 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.3324, allocations: 5.435 MB / 0.5825 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.3354, allocations: 123.7 kB / 0.5826 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.3498, allocations: 7.571 MB / 0.59 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008233/0.3581, allocations: 3.008 MB / 0.5929 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.3625, allocations: 1.723 MB / 0.5946 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.3767, allocations: 8.416 MB / 0.6028 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009586/0.3863, allocations: 6.249 MB / 0.6089 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.3929, allocations: 3.389 MB / 0.6123 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007547/0.4004, allocations: 4.689 MB / 0.6168 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.4027, allocations: 0.707 MB / 0.6175 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.4064, allocations: 1.565 MB / 0.6191 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005535/0.4119, allocations: 4.176 MB / 0.6231 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006655/0.4186, allocations: 4.471 MB / 0.6275 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.4353, allocations: 13.65 MB / 0.6408 GB, free: 3.145 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4354, allocations: 4 kB / 0.6408 GB, free: 3.141 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4354, allocations: 0 / 0.6408 GB, free: 3.141 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004374/0.4358, allocations: 4 kB / 0.6408 GB, free: 3.137 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.02447/0.4603, allocations: 9.807 MB / 0.6504 GB, free: 9.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.4603, allocations: 8.031 kB / 0.6504 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.4724, allocations: 2.647 MB / 0.653 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.4841, allocations: 4.947 MB / 0.6578 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/0.4846, allocations: 0.5007 MB / 0.6583 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002012/0.4866, allocations: 0.6364 MB / 0.6589 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/0.5272, allocations: 19.6 MB / 0.6781 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/0.5275, allocations: 75.38 kB / 0.6782 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/0.5291, allocations: 311.8 kB / 0.6785 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005799/0.5349, allocations: 3.305 MB / 0.6817 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03535/0.5702, allocations: 14.99 MB / 0.6963 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.559/1.129, allocations: 71.29 MB / 0.7659 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.147, allocations: 6.289 MB / 0.7721 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/1.149, allocations: 2.238 MB / 0.7743 GB, free: 99.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/1.166, allocations: 10.82 MB / 0.7848 GB, free: 93.43 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/1.166, allocations: 62.09 kB / 0.7849 GB, free: 93.37 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 5.711e-06/1.166, allocations: 3.938 kB / 0.7849 GB, free: 93.37 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04104/1.207, allocations: 16.89 MB / 0.8014 GB, free: 80.84 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.207, allocations: 150.5 kB / 0.8015 GB, free: 80.67 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007036/1.214, allocations: 6.642 MB / 0.808 GB, free: 74.16 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/1.215, allocations: 61.06 kB / 0.8081 GB, free: 74.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/1.217, allocations: 5.864 MB / 0.8138 GB, free: 68.69 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006701/1.218, allocations: 0.9713 MB / 0.8148 GB, free: 67.73 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/1.219, allocations: 1.833 MB / 0.8165 GB, free: 65.89 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/1.219, allocations: 301.1 kB / 0.8168 GB, free: 65.59 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/1.222, allocations: 2.532 MB / 0.8193 GB, free: 63.05 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/1.227, allocations: 8.248 MB / 0.8274 GB, free: 52.05 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/1.236, allocations: 11.73 MB / 0.8388 GB, free: 37.61 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.236, allocations: 60 kB / 0.8389 GB, free: 37.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.0151/1.251, allocations: 10.46 MB / 0.8491 GB, free: 27.09 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/1.251, allocations: 95.98 kB / 0.8492 GB, free: 27 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.251, allocations: 204.6 kB / 0.8494 GB, free: 26.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/1.252, allocations: 264 kB / 0.8496 GB, free: 26.54 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/1.257, allocations: 2.079 MB / 0.8516 GB, free: 24.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002067/1.258, allocations: 398.5 kB / 0.852 GB, free: 24.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.264, allocations: 431.7 kB / 0.8524 GB, free: 23.65 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009584/1.264, allocations: 0.5502 MB / 0.853 GB, free: 23.1 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,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.005535/1.27, allocations: 3.735 MB / 0.8566 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.271, allocations: 0.5975 MB / 0.8572 GB, free: 18.74 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.272, allocations: 0.6706 MB / 0.8579 GB, free: 18.06 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/1.272, allocations: 15.95 kB / 0.8579 GB, free: 18.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.272, allocations: 0 / 0.8579 GB, free: 18.04 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.274, allocations: 0.6063 MB / 0.8585 GB, free: 17.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000703/1.275, allocations: 35.98 kB / 0.8585 GB, free: 17.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.276, allocations: 111.7 kB / 0.8586 GB, free: 17.27 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.277, allocations: 120.6 kB / 0.8587 GB, free: 17.16 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003642/1.28, allocations: 2.846 MB / 0.8615 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003115/1.283, allocations: 3.273 MB / 0.8647 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00102/1.284, allocations: 1.042 MB / 0.8657 GB, free: 10 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005374/1.29, allocations: 4.138 MB / 0.8698 GB, free: 5.879 MB / 0.5607 GB Notification: Performance of Backend: time 3.91e-07/1.29, allocations: 3.938 kB / 0.8698 GB, free: 5.875 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00856/1.298, allocations: 4.85 MB / 0.8745 GB, free: 1.078 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03096/1.329, allocations: 16.27 MB / 0.8904 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of Templates: time 0.1246/1.454, allocations: 57.15 MB / 0.9462 GB, free: 7.832 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.931759750004858]