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.001322/0.001322, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00148/0.00148, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.464/1.464, 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.2274/0.2274, allocations: 46.89 MB / 361.1 MB, free: 4.617 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.002307/0.002307, allocations: 79.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3797, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01397/0.3936, allocations: 10.2 MB / 0.5711 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.4019, allocations: 3.102 MB / 0.5742 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.4038, allocations: 55.94 kB / 0.5742 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005695/0.4095, allocations: 2.636 MB / 0.5768 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.4134, allocations: 1.203 MB / 0.578 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.4144, allocations: 359.3 kB / 0.5783 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004382/0.4188, allocations: 2.544 MB / 0.5808 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.4219, allocations: 2.125 MB / 0.5829 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.4235, allocations: 1.052 MB / 0.5839 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.4256, allocations: 1.488 MB / 0.5854 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.4261, allocations: 252 kB / 0.5856 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4278, allocations: 0.7841 MB / 0.5864 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.4294, allocations: 1.367 MB / 0.5877 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.4312, allocations: 1.553 MB / 0.5892 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00651/0.4377, allocations: 5.132 MB / 0.5942 GB, free: 3.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4377, allocations: 0 / 0.5942 GB, free: 3.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4377, allocations: 0 / 0.5942 GB, free: 3.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.4378, allocations: 0 / 0.5942 GB, free: 3.043 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.006842/0.4446, allocations: 3.349 MB / 0.5975 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4447, allocations: 8.031 kB / 0.5975 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.45, allocations: 1.633 MB / 0.5991 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.4535, allocations: 1.505 MB / 0.6006 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.4536, allocations: 180.9 kB / 0.6007 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/0.454, allocations: 231.8 kB / 0.601 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.4657, allocations: 7.106 MB / 0.6079 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.4658, allocations: 11.88 kB / 0.6079 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.466, allocations: 111.8 kB / 0.608 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/0.4683, allocations: 1.443 MB / 0.6094 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.4803, allocations: 5.952 MB / 0.6152 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/0.5178, allocations: 22.35 MB / 0.6371 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005351/0.5232, allocations: 2.117 MB / 0.6391 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.5244, allocations: 0.7059 MB / 0.6398 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008691/0.5331, allocations: 3.861 MB / 0.6436 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/0.5331, allocations: 43.06 kB / 0.6436 GB, free: 15.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.978e-06/0.5331, allocations: 0 / 0.6436 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006781/0.5399, allocations: 2.256 MB / 0.6458 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.54, allocations: 59.97 kB / 0.6459 GB, free: 12.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.544, allocations: 2.052 MB / 0.6479 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.5441, allocations: 41.64 kB / 0.6479 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002016/0.5461, allocations: 2.11 MB / 0.65 GB, free: 8.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/0.5466, allocations: 357.3 kB / 0.6503 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.5479, allocations: 0.659 MB / 0.651 GB, free: 7.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.5481, allocations: 361.9 kB / 0.6513 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5499, allocations: 0.9352 MB / 0.6522 GB, free: 6.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.5533, allocations: 2.876 MB / 0.6551 GB, free: 2.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/0.559, allocations: 4.147 MB / 0.6591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.799e-05/0.5591, allocations: 20 kB / 0.6591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007513/0.5666, allocations: 3.719 MB / 0.6628 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/0.5667, allocations: 32 kB / 0.6628 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.5668, allocations: 72 kB / 0.6629 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.5669, allocations: 88 kB / 0.6629 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.5694, allocations: 0.6862 MB / 0.6636 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001629/0.5695, allocations: 131.5 kB / 0.6637 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.5722, allocations: 448.6 kB / 0.6642 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/0.5726, allocations: 196 kB / 0.6643 GB, free: 7.91 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.002911/0.5755, allocations: 1.515 MB / 0.6658 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.5759, allocations: 174.8 kB / 0.666 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.5764, allocations: 218.2 kB / 0.6662 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.5765, allocations: 8 kB / 0.6662 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5765, allocations: 0 / 0.6662 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5765, allocations: 3.984 kB / 0.6662 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.5885, allocations: 4.944 MB / 0.671 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.5885, allocations: 8 kB / 0.671 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.5891, allocations: 119.8 kB / 0.6712 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/0.5891, allocations: 12 kB / 0.6712 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.5891, allocations: 24 kB / 0.6712 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.796e-05/0.5892, allocations: 19.92 kB / 0.6712 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.5892, allocations: 11.94 kB / 0.6712 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5914, allocations: 1.419 MB / 0.6726 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/0.5922, allocations: 295.5 kB / 0.6729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.5926, allocations: 16 kB / 0.6729 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.5933, allocations: 39.92 kB / 0.6729 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5935, allocations: 71.69 kB / 0.673 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.5935, allocations: 39.91 kB / 0.6731 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003121/0.5967, allocations: 1.448 MB / 0.6745 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5967, allocations: 0 / 0.6745 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003206/0.5999, allocations: 0.7786 MB / 0.6752 GB, free: 12.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0004148/0.6003, allocations: 150.9 kB / 0.6754 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003948/0.6042, allocations: 2.082 MB / 0.6774 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.6042, allocations: 0 / 0.6774 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.6051, allocations: 482.1 kB / 0.6779 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.607, allocations: 264.2 kB / 0.6781 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6202, allocations: 5.801 MB / 0.6838 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/0.6246, allocations: 2.522 MB / 0.6862 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002702/0.6273, allocations: 1.02 MB / 0.6872 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.6278, allocations: 139.3 kB / 0.6874 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.914e-06/0.6278, allocations: 3.938 kB / 0.6874 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.04235/0.6702, allocations: 17.96 MB / 0.7049 GB, free: 13.87 MB / 0.545 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 -s cvode -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.854900924023241]