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.002145/0.002145, allocations: 88.23 kB / 20.21 MB, free: 4.227 MB / 18.57 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.002719/0.002719, allocations: 157.6 kB / 23.52 MB, free: 0.9141 MB / 18.57 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.408/1.408, allocations: 158.6 MB / 185.3 MB, free: 2.43 MB / 170.7 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.2175/0.2175, allocations: 32.38 MB / 270 MB, free: 14.75 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.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",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.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.907e-05, allocations: 3.719 kB / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0158/0.01583, allocations: 14.76 MB / 361.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.0287, allocations: 5.113 MB / 366.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.03188, allocations: 155.2 kB / 367 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01387/0.04576, allocations: 6.327 MB / 373.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.05643, allocations: 3.273 MB / 376.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.06098, allocations: 1.786 MB / 378.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01592/0.07689, allocations: 9.436 MB / 387.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.08978, allocations: 6.881 MB / 394.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0147/0.1045, allocations: 4.873 MB / 399.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009745/0.1142, allocations: 4.774 MB / 404.3 MB, free: 156 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002462/0.1167, allocations: 0.6563 MB / 405 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.1211, allocations: 1.451 MB / 406.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006672/0.1278, allocations: 4.208 MB / 410.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005712/0.1335, allocations: 2.539 MB / 413.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.1543, allocations: 13.24 MB / 426.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1543, allocations: 0 / 426.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1543, allocations: 4 kB / 426.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004753/0.1548, allocations: 0 / 426.4 MB, free: 9.992 MB / 362.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.03102/0.1858, allocations: 9.534 MB / 436 MB, free: 384 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1859, allocations: 8.031 kB / 436 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3001/0.4859, allocations: 3.802 MB / 439.8 MB, free: 87.24 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.496, allocations: 4.917 MB / 444.7 MB, free: 85.41 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.4964, allocations: 454.3 kB / 445.1 MB, free: 85.23 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.4981, allocations: 0.5926 MB / 445.7 MB, free: 84.7 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/0.5303, allocations: 18.85 MB / 464.6 MB, free: 64.88 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003544/0.5307, allocations: 79.33 kB / 464.6 MB, free: 64.8 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/0.5326, allocations: 291.9 kB / 464.9 MB, free: 64.59 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004584/0.5372, allocations: 3.447 MB / 468.4 MB, free: 61.16 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/0.5724, allocations: 14.63 MB / 483 MB, free: 46.54 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/0.7071, allocations: 66.15 MB / 0.5363 GB, free: 11.03 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/0.7272, allocations: 5.79 MB / 0.5419 GB, free: 5.207 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/0.7322, allocations: 2.309 MB / 0.5442 GB, free: 2.887 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/0.7547, allocations: 8.839 MB / 0.5528 GB, free: 10.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.258e-05/0.7548, allocations: 56.56 kB / 0.5529 GB, free: 10.11 MB / 410.8 MB Notification: Performance of pre-optimization done (n=238): time 6.402e-06/0.7548, allocations: 0 / 0.5529 GB, free: 10.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=262): time 0.05262/0.8074, allocations: 17.45 MB / 0.5699 GB, free: 8.777 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.8076, allocations: 154.5 kB / 0.5701 GB, free: 8.598 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/0.8201, allocations: 6.701 MB / 0.5766 GB, free: 1.875 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005782/0.8207, allocations: 69.69 kB / 0.5767 GB, free: 1.801 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006309/0.827, allocations: 5.725 MB / 0.5823 GB, free: 12.02 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001671/0.8286, allocations: 1.051 MB / 0.5833 GB, free: 10.96 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003419/0.8321, allocations: 1.815 MB / 0.5851 GB, free: 9.133 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8322, allocations: 312.9 kB / 0.5854 GB, free: 8.828 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/0.8381, allocations: 2.692 MB / 0.588 GB, free: 6.125 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1912/1.029, allocations: 8.404 MB / 0.5962 GB, free: 140.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/1.042, allocations: 12.05 MB / 0.608 GB, free: 131.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002939/1.042, allocations: 59.06 kB / 0.608 GB, free: 131.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02164/1.064, allocations: 11.26 MB / 0.619 GB, free: 127.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/1.064, allocations: 94.72 kB / 0.6191 GB, free: 127.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/1.064, allocations: 201.1 kB / 0.6193 GB, free: 127.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/1.065, allocations: 269.7 kB / 0.6196 GB, free: 127.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007577/1.072, allocations: 2.18 MB / 0.6217 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002849/1.073, allocations: 396.2 kB / 0.6221 GB, free: 127 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009247/1.082, allocations: 0.7572 MB / 0.6228 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.083, allocations: 0.5606 MB / 0.6234 GB, free: 126.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * 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 (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.006019/1.089, allocations: 3.625 MB / 0.6269 GB, free: 123.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.091, allocations: 0.612 MB / 0.6275 GB, free: 123.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/1.095, allocations: 2.741 MB / 0.6302 GB, free: 120.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.095, allocations: 32 kB / 0.6302 GB, free: 120.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.095, allocations: 0 / 0.6302 GB, free: 120.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.095, allocations: 14.81 kB / 0.6302 GB, free: 120.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02832/1.123, allocations: 24.4 MB / 0.654 GB, free: 97.02 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/1.123, allocations: 52 kB / 0.6541 GB, free: 96.97 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.125, allocations: 0.5224 MB / 0.6546 GB, free: 96.45 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-05/1.125, allocations: 71.05 kB / 0.6547 GB, free: 96.38 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/1.125, allocations: 116.6 kB / 0.6548 GB, free: 96.27 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.315e-05/1.125, allocations: 107.6 kB / 0.6549 GB, free: 96.16 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-05/1.125, allocations: 87.62 kB / 0.655 GB, free: 96.08 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.13, allocations: 5.193 MB / 0.66 GB, free: 90.36 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.131, allocations: 0.672 MB / 0.6607 GB, free: 89.93 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007208/1.132, allocations: 120 kB / 0.6608 GB, free: 89.82 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/1.135, allocations: 307.6 kB / 0.6611 GB, free: 89.52 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/1.136, allocations: 362.2 kB / 0.6614 GB, free: 89.16 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.136, allocations: 154 kB / 0.6616 GB, free: 89.01 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005602/1.141, allocations: 4.003 MB / 0.6655 GB, free: 85.01 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.141, allocations: 0 / 0.6655 GB, free: 85.01 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009767/1.151, allocations: 1.693 MB / 0.6672 GB, free: 83.32 MB / 442.8 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.001107/1.152, allocations: 315.8 kB / 0.6675 GB, free: 83.05 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.162, allocations: 6.065 MB / 0.6734 GB, free: 77.03 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-05/1.162, allocations: 8 kB / 0.6734 GB, free: 77.02 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/1.165, allocations: 1.437 MB / 0.6748 GB, free: 75.59 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007107/1.172, allocations: 0.8479 MB / 0.6756 GB, free: 74.78 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.199, allocations: 17.34 MB / 0.6926 GB, free: 56.61 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006666/1.205, allocations: 5.114 MB / 0.6976 GB, free: 51.47 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006353/1.212, allocations: 2.747 MB / 0.7002 GB, free: 48.72 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.213, allocations: 384.4 kB / 0.7006 GB, free: 48.34 MB / 442.8 MB Notification: Performance of SimCode: time 1.613e-06/1.213, allocations: 0 / 0.7006 GB, free: 48.34 MB / 442.8 MB Notification: Performance of Templates: time 0.07774/1.29, allocations: 38.27 MB / 0.738 GB, free: 10.25 MB / 442.8 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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: 8.076077647972852]