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.008924/0.008924, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.002053/0.002053, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.457/1.457, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2346/0.2346, allocations: 46.93 MB / 362.3 MB, free: 4.191 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.002326/0.002326, allocations: 83.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3574, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01302/0.3704, allocations: 10.2 MB / 0.5727 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.3779, allocations: 3.103 MB / 0.5757 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.3801, allocations: 63.81 kB / 0.5758 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.3856, allocations: 2.648 MB / 0.5784 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.3895, allocations: 1.214 MB / 0.5795 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3906, allocations: 351.3 kB / 0.5799 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.3952, allocations: 2.544 MB / 0.5824 GB, free: 56 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/0.3985, allocations: 2.257 MB / 0.5846 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.4004, allocations: 1.063 MB / 0.5856 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.4029, allocations: 1.488 MB / 0.5871 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.4034, allocations: 252 kB / 0.5873 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.405, allocations: 0.7841 MB / 0.5881 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.4065, allocations: 1.367 MB / 0.5894 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.4084, allocations: 1.553 MB / 0.5909 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006903/0.4153, allocations: 5.128 MB / 0.5959 GB, free: 2.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.4153, allocations: 0 / 0.5959 GB, free: 2.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4153, allocations: 0 / 0.5959 GB, free: 2.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001619/0.4154, allocations: 0 / 0.5959 GB, free: 2.09 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.00774/0.4232, allocations: 3.27 MB / 0.5991 GB, free: 14.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4232, allocations: 8.031 kB / 0.5991 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.4283, allocations: 1.637 MB / 0.6007 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.4322, allocations: 1.439 MB / 0.6021 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.4324, allocations: 173 kB / 0.6023 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/0.4332, allocations: 239.8 kB / 0.6025 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.4468, allocations: 7.11 MB / 0.6095 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/0.4469, allocations: 19.84 kB / 0.6095 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.4472, allocations: 107.8 kB / 0.6096 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.4494, allocations: 1.443 MB / 0.611 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.4628, allocations: 5.947 MB / 0.6168 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.4988, allocations: 22.25 MB / 0.6385 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.5034, allocations: 1.669 MB / 0.6402 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5046, allocations: 0.7073 MB / 0.6408 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007074/0.5117, allocations: 3.393 MB / 0.6442 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.5117, allocations: 43.22 kB / 0.6442 GB, free: 15.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 4.178e-06/0.5117, allocations: 0 / 0.6442 GB, free: 15.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006609/0.5183, allocations: 2.253 MB / 0.6464 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.5184, allocations: 60 kB / 0.6465 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.5219, allocations: 2.06 MB / 0.6485 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.522, allocations: 37.69 kB / 0.6485 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.5239, allocations: 2.11 MB / 0.6506 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.5244, allocations: 365.3 kB / 0.6509 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008652/0.5253, allocations: 0.6551 MB / 0.6516 GB, free: 7.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.5255, allocations: 365.8 kB / 0.6519 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.5269, allocations: 0.9313 MB / 0.6528 GB, free: 6.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.5299, allocations: 2.872 MB / 0.6556 GB, free: 2.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/0.5354, allocations: 4.147 MB / 0.6597 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-05/0.5354, allocations: 20 kB / 0.6597 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006408/0.5418, allocations: 3.711 MB / 0.6633 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.5419, allocations: 36 kB / 0.6633 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.619e-05/0.542, allocations: 68 kB / 0.6634 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.5421, allocations: 92 kB / 0.6635 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5441, allocations: 0.69 MB / 0.6642 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.5443, allocations: 139.4 kB / 0.6643 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.5463, allocations: 440.7 kB / 0.6647 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.5466, allocations: 196 kB / 0.6649 GB, free: 8.367 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.002495/0.5491, allocations: 1.511 MB / 0.6664 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.5494, allocations: 178.8 kB / 0.6666 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.5498, allocations: 206.2 kB / 0.6668 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.5498, allocations: 12 kB / 0.6668 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5498, allocations: 0 / 0.6668 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5498, allocations: 3.984 kB / 0.6668 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.5582, allocations: 4.919 MB / 0.6716 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.5582, allocations: 8 kB / 0.6716 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.5586, allocations: 119.8 kB / 0.6717 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.5587, allocations: 11.94 kB / 0.6717 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.5587, allocations: 27.98 kB / 0.6717 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/0.5587, allocations: 11.94 kB / 0.6717 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.5587, allocations: 15.94 kB / 0.6718 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.5606, allocations: 1.427 MB / 0.6732 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.5611, allocations: 226.4 kB / 0.6734 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.5613, allocations: 16 kB / 0.6734 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.5618, allocations: 43.91 kB / 0.6734 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5619, allocations: 67.67 kB / 0.6735 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.562, allocations: 36 kB / 0.6735 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002274/0.5642, allocations: 1.452 MB / 0.6749 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5642, allocations: 0 / 0.6749 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002921/0.5672, allocations: 0.7785 MB / 0.6757 GB, free: 12.99 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.0004093/0.5676, allocations: 162.9 kB / 0.6759 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003728/0.5713, allocations: 2.075 MB / 0.6779 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5713, allocations: 0 / 0.6779 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.572, allocations: 486.1 kB / 0.6784 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5734, allocations: 273.8 kB / 0.6786 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5844, allocations: 6.155 MB / 0.6846 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.5873, allocations: 2.518 MB / 0.6871 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.5878, allocations: 159.4 kB / 0.6872 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.5878, allocations: 0 / 0.6872 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.06077/0.6486, allocations: 34.02 MB / 0.7205 GB, free: 15.05 MB / 0.5606 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/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-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: 10.505558005068451]