Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.0009849/0.0009849, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002289, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001099/0.001099, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002626, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.048/1.048, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2037/1.252, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.1609/0.1609, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03231/0.1932, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.091e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02335/0.02339, allocations: 16.12 MB / 283.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1852/0.2086, allocations: 5.472 MB / 289 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.212, allocations: 149.2 kB / 289.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008186/0.2202, allocations: 6.176 MB / 295.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.2279, allocations: 3.247 MB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.2305, allocations: 1.635 MB / 300.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.2406, allocations: 8.949 MB / 309.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008703/0.2493, allocations: 6.208 MB / 315.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008875/0.2582, allocations: 5.121 MB / 320.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007899/0.2661, allocations: 4.644 MB / 325.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.2687, allocations: 0.6523 MB / 325.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/0.2735, allocations: 1.493 MB / 327.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006188/0.2797, allocations: 3.777 MB / 331 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006107/0.2858, allocations: 2.06 MB / 333.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.2993, allocations: 7.908 MB / 341 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.128e-05/0.2993, allocations: 4 kB / 341 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2993, allocations: 0 / 341 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000602/0.2999, allocations: 0 / 341 MB, free: 13.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01331/0.3132, allocations: 10.28 MB / 351.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3132, allocations: 15.89 kB / 351.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.318, allocations: 1.87 MB / 353.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.3235, allocations: 3.932 MB / 357.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.3237, allocations: 455.9 kB / 357.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007344/0.3245, allocations: 0.5939 MB / 358.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.3376, allocations: 9.071 MB / 367.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.3378, allocations: 67.44 kB / 367.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004863/0.3382, allocations: 279.7 kB / 367.5 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.3411, allocations: 3.036 MB / 370.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009478/0.3506, allocations: 4.56 MB / 375.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06295/0.4135, allocations: 55.36 MB / 430.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007239/0.4208, allocations: 3.374 MB / 433.9 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.422, allocations: 0.639 MB / 434.5 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009776/0.4318, allocations: 6.106 MB / 440.6 MB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.4318, allocations: 56.56 kB / 440.7 MB, free: 6.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=238): time 4.449e-06/0.4318, allocations: 0 / 440.7 MB, free: 6.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.181/0.6128, allocations: 7.805 MB / 448.5 MB, free: 132.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.6128, allocations: 157 kB / 448.6 MB, free: 132.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007823/0.6207, allocations: 5.183 MB / 453.8 MB, free: 131.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000536/0.6212, allocations: 72.45 kB / 453.9 MB, free: 131.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003093/0.6243, allocations: 5.314 MB / 459.2 MB, free: 128.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.6255, allocations: 1.046 MB / 460.3 MB, free: 127.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.6274, allocations: 1.763 MB / 462 MB, free: 127.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.6274, allocations: 304.3 kB / 462.3 MB, free: 127.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.6294, allocations: 1.072 MB / 463.4 MB, free: 127.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.6332, allocations: 6.831 MB / 470.2 MB, free: 119.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/0.6404, allocations: 9.522 MB / 479.7 MB, free: 111.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003539/0.6408, allocations: 59.06 kB / 479.8 MB, free: 111.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01376/0.6546, allocations: 6.295 MB / 486.1 MB, free: 109.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.6547, allocations: 92.44 kB / 486.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003153/0.655, allocations: 219.1 kB / 486.4 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.6552, allocations: 277.3 kB / 486.7 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/0.6602, allocations: 2.444 MB / 489.1 MB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002279/0.6604, allocations: 417.2 kB / 489.5 MB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/0.6653, allocations: 414.3 kB / 489.9 MB, free: 109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/0.6658, allocations: 500 kB / 490.4 MB, free: 109 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1192 * 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 prepare postOptimizeDAE: time 0.002129/0.6679, allocations: 0.916 MB / 491.3 MB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/0.6685, allocations: 364.2 kB / 491.7 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.6698, allocations: 1.262 MB / 492.9 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.6698, allocations: 24 kB / 493 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6698, allocations: 0 / 493 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6698, allocations: 18.25 kB / 493 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.6846, allocations: 10.47 MB / 0.4916 GB, free: 97.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.292e-05/0.6847, allocations: 66.61 kB / 0.4917 GB, free: 97.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6858, allocations: 0.5498 MB / 0.4922 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/0.688, allocations: 0.6092 MB / 0.4928 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/0.688, allocations: 72.66 kB / 0.4929 GB, free: 96.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/0.6883, allocations: 118.9 kB / 0.493 GB, free: 95.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.79e-05/0.6883, allocations: 107.6 kB / 0.4931 GB, free: 95.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-05/0.6883, allocations: 87.62 kB / 0.4932 GB, free: 95.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.6916, allocations: 4.013 MB / 0.4971 GB, free: 90.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/0.6928, allocations: 124 kB / 0.4973 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.695, allocations: 101.2 kB / 0.4973 GB, free: 90.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.6953, allocations: 370.1 kB / 0.4977 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.6954, allocations: 136 kB / 0.4978 GB, free: 90 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002424/0.6978, allocations: 2.265 MB / 0.5 GB, free: 87.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6978, allocations: 0 / 0.5 GB, free: 87.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007454/0.7053, allocations: 1.711 MB / 0.5017 GB, free: 86.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0005345/0.7058, allocations: 295 kB / 0.502 GB, free: 85.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005397/0.7112, allocations: 3.895 MB / 0.5058 GB, free: 81.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003113/0.7115, allocations: 152 kB / 0.5059 GB, free: 81.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005244/0.7168, allocations: 1.925 MB / 0.5078 GB, free: 79.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/0.7226, allocations: 4.921 MB / 0.5126 GB, free: 74.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/0.7448, allocations: 15.64 MB / 0.5279 GB, free: 57.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.7477, allocations: 2.314 MB / 0.5302 GB, free: 55.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002614/0.7504, allocations: 0.8338 MB / 0.531 GB, free: 54.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.7516, allocations: 0.837 MB / 0.5318 GB, free: 53.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.7516, allocations: 3.938 kB / 0.5318 GB, free: 53.62 MB / 426.7 MB Notification: Performance of Templates: time 0.07211/0.8237, allocations: 41.66 MB / 0.5725 GB, free: 11.98 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.516266562975943]