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.002045/0.002045, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001723/0.001723, allocations: 216.2 kB / 23.75 MB, free: 4.668 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2433/0.2433, allocations: 46.93 MB / 360.8 MB, free: 4.234 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.00207/0.00207, allocations: 71.89 kB / 0.4966 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 66.03 MB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01352/0.3956, allocations: 10.2 MB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007714/0.4033, allocations: 3.1 MB / 0.5741 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.4052, allocations: 59.81 kB / 0.5742 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00569/0.4109, allocations: 2.656 MB / 0.5768 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.4149, allocations: 1.214 MB / 0.5779 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4162, allocations: 351.3 kB / 0.5783 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004689/0.4209, allocations: 2.551 MB / 0.5808 GB, free: 184 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.4249, allocations: 2.252 MB / 0.583 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.4271, allocations: 1.063 MB / 0.584 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.4299, allocations: 1.48 MB / 0.5854 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009561/0.4309, allocations: 252 kB / 0.5857 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.4331, allocations: 0.788 MB / 0.5865 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.4351, allocations: 1.375 MB / 0.5878 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.4372, allocations: 1.553 MB / 0.5893 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00675/0.4439, allocations: 5.124 MB / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4439, allocations: 0 / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4439, allocations: 0 / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.444, allocations: 0 / 0.5943 GB, free: 2.219 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.00799/0.452, allocations: 3.278 MB / 0.5975 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.4521, allocations: 12.03 kB / 0.5975 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.4574, allocations: 1.621 MB / 0.5991 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.4614, allocations: 1.435 MB / 0.6005 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.4616, allocations: 180.9 kB / 0.6007 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.4623, allocations: 239.8 kB / 0.6009 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.4753, allocations: 7.11 MB / 0.6079 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.4753, allocations: 11.88 kB / 0.6079 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/0.4756, allocations: 107.9 kB / 0.608 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002261/0.4779, allocations: 1.439 MB / 0.6094 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.4897, allocations: 5.952 MB / 0.6152 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03433/0.5241, allocations: 22.25 MB / 0.6369 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.5287, allocations: 1.67 MB / 0.6386 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.5298, allocations: 0.7097 MB / 0.6392 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007188/0.537, allocations: 3.4 MB / 0.6426 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.537, allocations: 39.22 kB / 0.6426 GB, free: 15.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 2.945e-06/0.537, allocations: 0 / 0.6426 GB, free: 15.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006324/0.5433, allocations: 2.253 MB / 0.6448 GB, free: 13.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5434, allocations: 60.05 kB / 0.6449 GB, free: 13.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.5464, allocations: 2.06 MB / 0.6469 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.5465, allocations: 37.7 kB / 0.6469 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.5483, allocations: 2.114 MB / 0.649 GB, free: 9.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.5488, allocations: 357.3 kB / 0.6493 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.5499, allocations: 0.6551 MB / 0.65 GB, free: 8.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.5501, allocations: 365.9 kB / 0.6503 GB, free: 7.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5516, allocations: 0.9352 MB / 0.6512 GB, free: 6.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/0.5552, allocations: 2.864 MB / 0.654 GB, free: 2.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/0.5608, allocations: 4.15 MB / 0.6581 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.813e-05/0.5608, allocations: 20 kB / 0.6581 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006682/0.5675, allocations: 3.719 MB / 0.6617 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.5676, allocations: 32 kB / 0.6617 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.203e-05/0.5676, allocations: 72.16 kB / 0.6618 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.5677, allocations: 92 kB / 0.6619 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.5698, allocations: 0.6823 MB / 0.6626 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.5699, allocations: 139.4 kB / 0.6627 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.5722, allocations: 448.6 kB / 0.6631 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.5725, allocations: 192 kB / 0.6633 GB, free: 8.5 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.002497/0.575, allocations: 1.503 MB / 0.6648 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.5753, allocations: 182.8 kB / 0.665 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.5757, allocations: 214.2 kB / 0.6652 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.5757, allocations: 8 kB / 0.6652 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.5758, allocations: 3.984 kB / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.5758, allocations: 0 / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009506/0.5853, allocations: 4.923 MB / 0.67 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5853, allocations: 8 kB / 0.67 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.5858, allocations: 123.7 kB / 0.6701 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.5858, allocations: 8 kB / 0.6701 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.5858, allocations: 24 kB / 0.6701 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.5859, allocations: 15.98 kB / 0.6702 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.622e-05/0.5859, allocations: 11.94 kB / 0.6702 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.5879, allocations: 1.423 MB / 0.6716 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.5884, allocations: 222.4 kB / 0.6718 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.5886, allocations: 27.94 kB / 0.6718 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.5892, allocations: 31.92 kB / 0.6718 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5893, allocations: 75.67 kB / 0.6719 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.5894, allocations: 35.98 kB / 0.6719 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002245/0.5916, allocations: 1.448 MB / 0.6733 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5916, allocations: 4 kB / 0.6733 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003227/0.5949, allocations: 0.7785 MB / 0.6741 GB, free: 13.12 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.0003875/0.5952, allocations: 158.8 kB / 0.6743 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003811/0.5991, allocations: 2.075 MB / 0.6763 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5991, allocations: 8.25 kB / 0.6763 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.5997, allocations: 477.4 kB / 0.6767 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.6012, allocations: 269.6 kB / 0.677 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6117, allocations: 5.798 MB / 0.6827 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/0.6146, allocations: 2.518 MB / 0.6851 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002366/0.617, allocations: 1.02 MB / 0.6861 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.6173, allocations: 139.4 kB / 0.6863 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.6173, allocations: 0 / 0.6863 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of Templates: time 0.04061/0.6579, allocations: 19.31 MB / 0.7051 GB, free: 13.24 MB / 0.545 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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: 6.060302139027044]