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.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.001765/0.001765, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.002056/0.002056, allocations: 172 kB / 23.22 MB, free: 4.887 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.653/1.653, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.2154/0.2154, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.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.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_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: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 407.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.209e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01534/0.01537, allocations: 11.04 MB / 418.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009449/0.02482, allocations: 3.221 MB / 421.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.0269, allocations: 75.81 kB / 421.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005561/0.03246, allocations: 2.702 MB / 424.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.03669, allocations: 1.45 MB / 425.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.03774, allocations: 379.1 kB / 426.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.04269, allocations: 2.936 MB / 429.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/0.04636, allocations: 2.46 MB / 431.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.04898, allocations: 1.777 MB / 433.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.05162, allocations: 1.598 MB / 435 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005152/0.05213, allocations: 296 kB / 435.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.0537, allocations: 0.7333 MB / 436 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.05542, allocations: 1.648 MB / 437.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.05706, allocations: 1.036 MB / 438.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009219/0.06628, allocations: 5.989 MB / 444.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.06628, allocations: 3.938 kB / 444.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.06628, allocations: 0 / 444.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.06645, allocations: 0 / 444.7 MB, free: 13.51 MB / 382.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.007803/0.07425, allocations: 3.736 MB / 448.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.07431, allocations: 12.03 kB / 448.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/0.08063, allocations: 1.761 MB / 450.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.08408, allocations: 1.606 MB / 451.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.08428, allocations: 205.5 kB / 452 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/0.08479, allocations: 260.2 kB / 452.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.09926, allocations: 8.374 MB / 460.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/0.09932, allocations: 15.88 kB / 460.6 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.09966, allocations: 123.9 kB / 460.8 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003029/0.1027, allocations: 1.76 MB / 462.5 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.1173, allocations: 7.003 MB / 469.5 MB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/0.4239, allocations: 23.33 MB / 492.9 MB, free: 50.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.4304, allocations: 2.084 MB / 494.9 MB, free: 50.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.4323, allocations: 0.8871 MB / 495.8 MB, free: 49.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00925/0.4416, allocations: 3.862 MB / 499.7 MB, free: 48.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4416, allocations: 48.41 kB / 499.7 MB, free: 48.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 4.949e-06/0.4416, allocations: 0.5938 kB / 499.7 MB, free: 48.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.007637/0.4492, allocations: 2.877 MB / 0.4908 GB, free: 47.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4493, allocations: 62.97 kB / 0.4909 GB, free: 47.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.4529, allocations: 2.179 MB / 0.493 GB, free: 46.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.453, allocations: 45.19 kB / 0.4931 GB, free: 46.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.4545, allocations: 2.406 MB / 0.4954 GB, free: 44.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.4551, allocations: 473.8 kB / 0.4959 GB, free: 43.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.4561, allocations: 0.7401 MB / 0.4966 GB, free: 43.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.4562, allocations: 355.5 kB / 0.4969 GB, free: 43.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4578, allocations: 1.124 MB / 0.498 GB, free: 42.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.4604, allocations: 3.286 MB / 0.5012 GB, free: 39.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/0.4647, allocations: 4.821 MB / 0.5059 GB, free: 34.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.4648, allocations: 23.94 kB / 0.506 GB, free: 34.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006753/0.4716, allocations: 4.32 MB / 0.5102 GB, free: 30 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.4717, allocations: 36 kB / 0.5102 GB, free: 29.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.4718, allocations: 76.55 kB / 0.5103 GB, free: 29.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.4719, allocations: 107.9 kB / 0.5104 GB, free: 29.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.4742, allocations: 0.8155 MB / 0.5112 GB, free: 28.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000106/0.4743, allocations: 151.4 kB / 0.5113 GB, free: 28.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.4772, allocations: 496.4 kB / 0.5118 GB, free: 28.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.4775, allocations: 220 kB / 0.512 GB, free: 28.11 MB / 398.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.002885/0.4804, allocations: 1.702 MB / 0.5137 GB, free: 26.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4807, allocations: 186.7 kB / 0.5139 GB, free: 26.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.483, allocations: 1.508 MB / 0.5153 GB, free: 24.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.483, allocations: 23.88 kB / 0.5154 GB, free: 24.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.483, allocations: 0 / 0.5154 GB, free: 24.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.483, allocations: 3.984 kB / 0.5154 GB, free: 24.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4936, allocations: 6.023 MB / 0.5212 GB, free: 18.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.4937, allocations: 16 kB / 0.5213 GB, free: 18.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/0.4944, allocations: 187.7 kB / 0.5214 GB, free: 18.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/0.4945, allocations: 23.88 kB / 0.5215 GB, free: 18.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/0.4945, allocations: 36 kB / 0.5215 GB, free: 18.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.4946, allocations: 27.92 kB / 0.5215 GB, free: 18.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.4946, allocations: 23.88 kB / 0.5215 GB, free: 18.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.4968, allocations: 1.945 MB / 0.5234 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.4973, allocations: 202.4 kB / 0.5236 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.4977, allocations: 43.44 kB / 0.5237 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.4987, allocations: 51.97 kB / 0.5237 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.4988, allocations: 119.3 kB / 0.5238 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.4989, allocations: 48 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001801/0.5007, allocations: 1.251 MB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5007, allocations: 4 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003834/0.5046, allocations: 0.969 MB / 0.5261 GB, free: 13.31 MB / 398.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.0004548/0.505, allocations: 170.3 kB / 0.5262 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003784/0.5088, allocations: 2.546 MB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.5088, allocations: 0 / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.5096, allocations: 0.6634 MB / 0.5293 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.5113, allocations: 246.7 kB / 0.5296 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.5232, allocations: 6.958 MB / 0.5364 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.5267, allocations: 2.273 MB / 0.5386 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00309/0.5298, allocations: 1.132 MB / 0.5397 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.5304, allocations: 152.5 kB / 0.5398 GB, free: 14.94 MB / 414.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5304, allocations: 0 / 0.5398 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Templates: time 0.04187/0.5723, allocations: 14.9 MB / 0.5544 GB, free: 160 kB / 414.1 MB " [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.311660144478083]