Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001757/0.001757, allocations: 114.5 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.00225/0.00225, allocations: 212.1 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.43/1.43, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2263/0.2263, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [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.002352/0.002352, allocations: 83.86 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3202, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01257/0.3327, allocations: 10.19 MB / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.3392, allocations: 3.103 MB / 0.5742 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009877/0.3402, allocations: 59.88 kB / 0.5742 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004819/0.345, allocations: 2.64 MB / 0.5768 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.3477, allocations: 1.207 MB / 0.578 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.3485, allocations: 355.3 kB / 0.5783 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003278/0.3518, allocations: 2.54 MB / 0.5808 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.3545, allocations: 2.129 MB / 0.5829 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.3559, allocations: 1.055 MB / 0.5839 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.3578, allocations: 1.484 MB / 0.5854 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.3582, allocations: 252 kB / 0.5856 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3596, allocations: 0.788 MB / 0.5864 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.3609, allocations: 1.36 MB / 0.5877 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.3624, allocations: 1.557 MB / 0.5892 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00586/0.3682, allocations: 5.124 MB / 0.5942 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3682, allocations: 0 / 0.5942 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3682, allocations: 0 / 0.5942 GB, free: 3.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.3683, allocations: 0 / 0.5942 GB, free: 3.031 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006092/0.3744, allocations: 3.353 MB / 0.5975 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3745, allocations: 8.031 kB / 0.5975 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.38, allocations: 1.629 MB / 0.5991 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.3836, allocations: 1.508 MB / 0.6006 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.3838, allocations: 173 kB / 0.6007 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004765/0.3843, allocations: 239.8 kB / 0.601 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.3962, allocations: 7.11 MB / 0.6079 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/0.3963, allocations: 11.88 kB / 0.6079 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.3966, allocations: 107.9 kB / 0.608 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.3989, allocations: 1.443 MB / 0.6094 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.4111, allocations: 5.949 MB / 0.6153 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/0.4454, allocations: 22.35 MB / 0.6371 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.4503, allocations: 2.117 MB / 0.6391 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4516, allocations: 0.7034 MB / 0.6398 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0077/0.4593, allocations: 3.857 MB / 0.6436 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.4593, allocations: 47.11 kB / 0.6436 GB, free: 15.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.727e-06/0.4593, allocations: 0 / 0.6436 GB, free: 15.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006613/0.4659, allocations: 2.26 MB / 0.6458 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.466, allocations: 55.97 kB / 0.6459 GB, free: 12.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.469, allocations: 2.056 MB / 0.6479 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.4691, allocations: 37.64 kB / 0.6479 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.4707, allocations: 2.114 MB / 0.65 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.4711, allocations: 361.2 kB / 0.6504 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008544/0.4719, allocations: 0.6629 MB / 0.651 GB, free: 7.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4721, allocations: 357.9 kB / 0.6513 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4735, allocations: 0.9352 MB / 0.6523 GB, free: 6.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.4767, allocations: 2.872 MB / 0.6551 GB, free: 2.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.4819, allocations: 4.147 MB / 0.6591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.733e-05/0.482, allocations: 20 kB / 0.6591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006045/0.488, allocations: 3.719 MB / 0.6628 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.4881, allocations: 36 kB / 0.6628 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-05/0.4882, allocations: 68 kB / 0.6629 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.4883, allocations: 92 kB / 0.6629 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.4903, allocations: 0.6862 MB / 0.6636 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.4904, allocations: 131.5 kB / 0.6637 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.4923, allocations: 448.6 kB / 0.6642 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.4925, allocations: 199.9 kB / 0.6644 GB, free: 7.891 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * 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.002286/0.4948, allocations: 1.507 MB / 0.6658 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.4951, allocations: 178.8 kB / 0.666 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4955, allocations: 206.2 kB / 0.6662 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4955, allocations: 7.984 kB / 0.6662 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4955, allocations: 0 / 0.6662 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.4959, allocations: 247.7 kB / 0.6664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.496, allocations: 12 kB / 0.6665 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.4965, allocations: 19.98 kB / 0.6665 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.4966, allocations: 44.44 kB / 0.6665 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001668/0.4982, allocations: 1.042 MB / 0.6675 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001564/0.4998, allocations: 1.242 MB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000567/0.5004, allocations: 404.7 kB / 0.6691 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001854/0.5022, allocations: 1.276 MB / 0.6704 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of Backend: time 2.3e-07/0.5022, allocations: 0 / 0.6704 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003714/0.5059, allocations: 1.805 MB / 0.6721 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 0.009805/0.5157, allocations: 6.015 MB / 0.678 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.04429/0.56, allocations: 22.34 MB / 0.6998 GB, free: 3.488 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 5.55359448492527]