Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001293/0.001293, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001421/0.001421, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.399/1.399, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2259/0.2259, allocations: 46.97 MB / 361.6 MB, free: 4.02 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+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: 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_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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 66.05 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01168/0.3642, allocations: 8.91 MB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.372, allocations: 2.932 MB / 0.5734 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.3737, allocations: 59.81 kB / 0.5734 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005184/0.3789, allocations: 2.524 MB / 0.5759 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.3824, allocations: 1.222 MB / 0.5771 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.3834, allocations: 347.4 kB / 0.5774 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.387, allocations: 2.54 MB / 0.5799 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00273/0.3897, allocations: 2.256 MB / 0.5821 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.3912, allocations: 1.063 MB / 0.5831 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.3934, allocations: 1.495 MB / 0.5846 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.3939, allocations: 252 kB / 0.5848 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3953, allocations: 0.6749 MB / 0.5855 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.3967, allocations: 1.363 MB / 0.5868 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.3982, allocations: 1.134 MB / 0.5879 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.4045, allocations: 5.148 MB / 0.593 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.4045, allocations: 0 / 0.593 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4045, allocations: 0 / 0.593 GB, free: 4.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.4046, allocations: 0 / 0.593 GB, free: 4.109 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.007033/0.4117, allocations: 3.274 MB / 0.5962 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.4117, allocations: 12.03 kB / 0.5962 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.4169, allocations: 1.625 MB / 0.5978 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.4208, allocations: 1.443 MB / 0.5992 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.421, allocations: 184.9 kB / 0.5994 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.4215, allocations: 235.8 kB / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.4335, allocations: 7.114 MB / 0.6065 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.4335, allocations: 11.88 kB / 0.6065 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.4338, allocations: 111.9 kB / 0.6066 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/0.436, allocations: 1.447 MB / 0.6081 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.4478, allocations: 5.925 MB / 0.6138 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/0.4788, allocations: 20.24 MB / 0.6336 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.4834, allocations: 1.666 MB / 0.6352 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.4845, allocations: 0.6995 MB / 0.6359 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/0.4919, allocations: 3.223 MB / 0.6391 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.492, allocations: 35.22 kB / 0.6391 GB, free: 3.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.186e-06/0.492, allocations: 0 / 0.6391 GB, free: 3.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006472/0.4984, allocations: 2.265 MB / 0.6413 GB, free: 1.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.4985, allocations: 60.06 kB / 0.6414 GB, free: 1.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.5013, allocations: 2.009 MB / 0.6433 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.5014, allocations: 33.7 kB / 0.6434 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.5029, allocations: 2.125 MB / 0.6454 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.5032, allocations: 357.3 kB / 0.6458 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008583/0.5041, allocations: 0.6512 MB / 0.6464 GB, free: 12.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5043, allocations: 349.9 kB / 0.6467 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5056, allocations: 0.9313 MB / 0.6477 GB, free: 10.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.5085, allocations: 2.876 MB / 0.6505 GB, free: 7.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.5134, allocations: 4.16 MB / 0.6545 GB, free: 2.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-05/0.5135, allocations: 23.75 kB / 0.6545 GB, free: 2.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005805/0.5193, allocations: 3.691 MB / 0.6582 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.5193, allocations: 38.81 kB / 0.6582 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.173e-05/0.5194, allocations: 71.98 kB / 0.6583 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.5195, allocations: 92 kB / 0.6583 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5216, allocations: 0.6823 MB / 0.659 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/0.5217, allocations: 140 kB / 0.6591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.5237, allocations: 432.7 kB / 0.6596 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.5239, allocations: 196 kB / 0.6597 GB, free: 12.68 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.002247/0.5262, allocations: 1.503 MB / 0.6612 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.5265, allocations: 170.8 kB / 0.6614 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.5268, allocations: 205 kB / 0.6616 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.5268, allocations: 8 kB / 0.6616 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5268, allocations: 0 / 0.6616 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5269, allocations: 7.984 kB / 0.6616 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.534, allocations: 3.76 MB / 0.6653 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.534, allocations: 20.03 kB / 0.6653 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.5345, allocations: 123.8 kB / 0.6654 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.5345, allocations: 11.94 kB / 0.6654 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.5346, allocations: 24 kB / 0.6654 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/0.5346, allocations: 15.92 kB / 0.6654 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.5346, allocations: 12 kB / 0.6655 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.5365, allocations: 1.389 MB / 0.6668 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.5368, allocations: 174.6 kB / 0.667 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.537, allocations: 20 kB / 0.667 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.5375, allocations: 31.97 kB / 0.667 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5376, allocations: 63.8 kB / 0.6671 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.5377, allocations: 39.92 kB / 0.6671 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001732/0.5394, allocations: 1.151 MB / 0.6683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5394, allocations: 0 / 0.6683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003063/0.5425, allocations: 0.8094 MB / 0.669 GB, free: 2.871 MB / 0.4981 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.0003565/0.5428, allocations: 155.4 kB / 0.6692 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003223/0.546, allocations: 2.079 MB / 0.6712 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5461, allocations: 0 / 0.6712 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.5467, allocations: 481 kB / 0.6717 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5479, allocations: 208.8 kB / 0.6719 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009889/0.5578, allocations: 5.76 MB / 0.6775 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/0.5605, allocations: 1.957 MB / 0.6794 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00231/0.5628, allocations: 0.9944 MB / 0.6804 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.5631, allocations: 115.4 kB / 0.6805 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.5631, allocations: 0 / 0.6805 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.03501/0.5981, allocations: 16.98 MB / 0.6971 GB, free: 6.184 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.5252738340059295]