Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001427/0.001427, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.001423/0.001423, allocations: 185.9 kB / 21.5 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 207.6 MB / 232.1 MB, free: 11.11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.23 MB / 328.4 MB, free: 10.06 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 78.06 kB / 465.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.148, allocations: 61 MB / 0.5142 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01642/0.1644, allocations: 12.69 MB / 0.5266 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.1737, allocations: 3.396 MB / 0.5299 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.1757, allocations: 59.94 kB / 0.53 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005012/0.1807, allocations: 2.687 MB / 0.5326 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.1843, allocations: 1.393 MB / 0.5339 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.1852, allocations: 355.2 kB / 0.5343 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003927/0.1891, allocations: 2.878 MB / 0.5371 GB, free: 252 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3122/0.5013, allocations: 2.276 MB / 0.5393 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.5033, allocations: 1.202 MB / 0.5405 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.5058, allocations: 1.753 MB / 0.5422 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007011/0.5065, allocations: 295 kB / 0.5425 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.5082, allocations: 0.8062 MB / 0.5433 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.51, allocations: 1.592 MB / 0.5448 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.5119, allocations: 1.833 MB / 0.5466 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009805/0.5217, allocations: 6.017 MB / 0.5525 GB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5217, allocations: 0.6562 kB / 0.5525 GB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5218, allocations: 1.188 kB / 0.5525 GB, free: 7.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002973/0.522, allocations: 0 / 0.5525 GB, free: 7.863 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01511/0.5372, allocations: 3.851 MB / 0.5563 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5372, allocations: 16.56 kB / 0.5563 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/0.5439, allocations: 1.739 MB / 0.558 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/0.549, allocations: 1.657 MB / 0.5596 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.5492, allocations: 206.1 kB / 0.5598 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007634/0.55, allocations: 267.7 kB / 0.56 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.5676, allocations: 8.372 MB / 0.5682 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.536e-05/0.5677, allocations: 16.19 kB / 0.5682 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.568, allocations: 118.9 kB / 0.5683 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003/0.571, allocations: 1.77 MB / 0.5701 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.59, allocations: 7.041 MB / 0.5769 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0516/0.6416, allocations: 25.76 MB / 0.6021 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006169/0.6478, allocations: 2.455 MB / 0.6045 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.6494, allocations: 0.8843 MB / 0.6054 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009308/0.6587, allocations: 4.456 MB / 0.6097 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.6588, allocations: 45.25 kB / 0.6098 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 4.558e-06/0.6588, allocations: 0 / 0.6098 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.007642/0.6664, allocations: 2.738 MB / 0.6124 GB, free: 10.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.6665, allocations: 60.41 kB / 0.6125 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/0.6709, allocations: 2.27 MB / 0.6147 GB, free: 8.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.6711, allocations: 44.75 kB / 0.6148 GB, free: 8.105 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.6735, allocations: 2.414 MB / 0.6171 GB, free: 5.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007757/0.6742, allocations: 481 kB / 0.6176 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.6754, allocations: 0.748 MB / 0.6183 GB, free: 4.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6756, allocations: 309 kB / 0.6186 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.6775, allocations: 1.12 MB / 0.6197 GB, free: 3.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/0.6817, allocations: 3.288 MB / 0.6229 GB, free: 14.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.6883, allocations: 4.82 MB / 0.6276 GB, free: 9.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/0.6884, allocations: 20 kB / 0.6276 GB, free: 9.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.00939/0.6978, allocations: 4.332 MB / 0.6319 GB, free: 5.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/0.6979, allocations: 41.56 kB / 0.6319 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.698, allocations: 79.94 kB / 0.632 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.6981, allocations: 100 kB / 0.6321 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.701, allocations: 0.8194 MB / 0.6329 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000163/0.7012, allocations: 155.4 kB / 0.633 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.7045, allocations: 0.5001 MB / 0.6335 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.7049, allocations: 224 kB / 0.6337 GB, free: 3.262 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.004534/0.7095, allocations: 1.707 MB / 0.6354 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/0.71, allocations: 206.6 kB / 0.6356 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.713, allocations: 1.514 MB / 0.6371 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.713, allocations: 14.34 kB / 0.6371 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.713, allocations: 0 / 0.6371 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.713, allocations: 7.969 kB / 0.6371 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.7281, allocations: 7.39 MB / 0.6443 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.7281, allocations: 12 kB / 0.6443 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.7289, allocations: 191.6 kB / 0.6445 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/0.7289, allocations: 20 kB / 0.6445 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.7291, allocations: 40.58 kB / 0.6446 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.261e-05/0.7291, allocations: 23.94 kB / 0.6446 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.126e-05/0.7291, allocations: 27.88 kB / 0.6446 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.7322, allocations: 2.012 MB / 0.6466 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.733, allocations: 331.2 kB / 0.6469 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/0.7333, allocations: 39.98 kB / 0.6469 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.7341, allocations: 54.89 kB / 0.647 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.7343, allocations: 111.5 kB / 0.6471 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7344, allocations: 55.98 kB / 0.6471 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002848/0.7372, allocations: 1.576 MB / 0.6487 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7372, allocations: 0 / 0.6487 GB, free: 3.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004122/0.7414, allocations: 0.9382 MB / 0.6496 GB, free: 2.512 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0004469/0.7418, allocations: 177.2 kB / 0.6498 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004747/0.7465, allocations: 2.544 MB / 0.6522 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.7466, allocations: 8.125 kB / 0.6522 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7476, allocations: 0.666 MB / 0.6529 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.7502, allocations: 324.3 kB / 0.6532 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/0.7723, allocations: 7.028 MB / 0.6601 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006302/0.7786, allocations: 2.834 MB / 0.6628 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005501/0.7841, allocations: 1.167 MB / 0.664 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.7848, allocations: 163.4 kB / 0.6641 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of SimCode: time 1.844e-06/0.7849, allocations: 0 / 0.6641 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.06152/0.8464, allocations: 20.14 MB / 0.6838 GB, free: 15.32 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.458792144432664]