Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00298/0.00298, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2596/0.2596, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 59.91 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01411/0.3972, allocations: 10.6 MB / 0.5592 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.4055, allocations: 3.142 MB / 0.5622 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.408, allocations: 63.81 kB / 0.5623 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00558/0.4136, allocations: 2.66 MB / 0.5649 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.4173, allocations: 1.261 MB / 0.5661 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4183, allocations: 347.3 kB / 0.5664 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004073/0.4224, allocations: 2.597 MB / 0.569 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.4253, allocations: 2.164 MB / 0.5711 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.4274, allocations: 1.106 MB / 0.5722 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.43, allocations: 1.53 MB / 0.5737 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.4307, allocations: 260 kB / 0.5739 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.4324, allocations: 0.7918 MB / 0.5747 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.434, allocations: 1.434 MB / 0.5761 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.4376, allocations: 1.627 MB / 0.5777 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008543/0.4462, allocations: 5.385 MB / 0.5829 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4462, allocations: 0 / 0.5829 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4462, allocations: 0 / 0.5829 GB, free: 12.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.4464, allocations: 0 / 0.5829 GB, free: 12.36 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.008871/0.4553, allocations: 3.419 MB / 0.5863 GB, free: 8.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.4553, allocations: 8.922 kB / 0.5863 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006151/0.4615, allocations: 1.679 MB / 0.5879 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.465, allocations: 1.474 MB / 0.5894 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4651, allocations: 189.1 kB / 0.5895 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/0.4657, allocations: 243.8 kB / 0.5898 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.4785, allocations: 7.485 MB / 0.5971 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.498e-05/0.4786, allocations: 19.81 kB / 0.5971 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/0.4789, allocations: 111.9 kB / 0.5972 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.4817, allocations: 1.557 MB / 0.5987 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.4955, allocations: 6.266 MB / 0.6049 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03675/0.5323, allocations: 23.11 MB / 0.6274 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/0.5371, allocations: 1.686 MB / 0.6291 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5382, allocations: 0.7046 MB / 0.6298 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006967/0.5452, allocations: 3.436 MB / 0.6331 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5452, allocations: 35.22 kB / 0.6331 GB, free: 7.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.108e-06/0.5452, allocations: 0 / 0.6331 GB, free: 7.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006528/0.5518, allocations: 2.265 MB / 0.6354 GB, free: 5.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5518, allocations: 56.06 kB / 0.6354 GB, free: 5.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/0.5549, allocations: 2.109 MB / 0.6375 GB, free: 3.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.5549, allocations: 33.7 kB / 0.6375 GB, free: 3.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.5565, allocations: 2.207 MB / 0.6397 GB, free: 1.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.5569, allocations: 353.3 kB / 0.64 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008174/0.5577, allocations: 0.6709 MB / 0.6407 GB, free: 28 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5579, allocations: 309.1 kB / 0.6409 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.5592, allocations: 0.9431 MB / 0.6419 GB, free: 14.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.5622, allocations: 2.917 MB / 0.6447 GB, free: 10.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/0.5672, allocations: 4.221 MB / 0.6488 GB, free: 5.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.464e-05/0.5672, allocations: 20 kB / 0.6489 GB, free: 5.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006502/0.5737, allocations: 3.758 MB / 0.6525 GB, free: 1.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.5738, allocations: 36 kB / 0.6526 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-05/0.5739, allocations: 68 kB / 0.6526 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-05/0.574, allocations: 92 kB / 0.6527 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.576, allocations: 0.7018 MB / 0.6534 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.5761, allocations: 135.5 kB / 0.6535 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.5784, allocations: 452.6 kB / 0.654 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.5786, allocations: 200 kB / 0.6541 GB, free: 232 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.003025/0.5817, allocations: 1.562 MB / 0.6557 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.582, allocations: 186.7 kB / 0.6559 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.5824, allocations: 214.7 kB / 0.6561 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.5824, allocations: 8 kB / 0.6561 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5824, allocations: 0 / 0.6561 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5825, allocations: 7.984 kB / 0.6561 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008888/0.5913, allocations: 5.059 MB / 0.661 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.5914, allocations: 8 kB / 0.661 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.5918, allocations: 115.8 kB / 0.6611 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.5919, allocations: 11.94 kB / 0.6611 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.5919, allocations: 35.91 kB / 0.6612 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.5919, allocations: 8 kB / 0.6612 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.592, allocations: 11.94 kB / 0.6612 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.594, allocations: 1.416 MB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.5946, allocations: 218.3 kB / 0.6628 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.5948, allocations: 31.92 kB / 0.6628 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.5954, allocations: 35.89 kB / 0.6629 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5955, allocations: 71.72 kB / 0.6629 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.5956, allocations: 32 kB / 0.663 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002187/0.5978, allocations: 1.477 MB / 0.6644 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5978, allocations: 3.938 kB / 0.6644 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003332/0.6011, allocations: 0.8252 MB / 0.6652 GB, free: 4.57 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.000334/0.6015, allocations: 151 kB / 0.6653 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.6049, allocations: 2.101 MB / 0.6674 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.6049, allocations: 4 kB / 0.6674 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.6055, allocations: 478.9 kB / 0.6679 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.607, allocations: 296.7 kB / 0.6681 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6184, allocations: 6.036 MB / 0.674 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/0.6213, allocations: 2.603 MB / 0.6766 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002693/0.624, allocations: 1.036 MB / 0.6776 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.6245, allocations: 139.4 kB / 0.6777 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of SimCode: time 3.567e-06/0.6245, allocations: 4 kB / 0.6777 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.04495/0.6694, allocations: 19.93 MB / 0.6972 GB, free: 3.684 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.15602554846555]