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.001863/0.001863, 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.001918/0.001918, allocations: 173.1 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.523/1.523, allocations: 158.6 MB / 185 MB, free: 6.398 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.2386/0.2386, allocations: 32.38 MB / 269.6 MB, free: 4.652 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.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.803e-06/1.803e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.041e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01975/0.01979, allocations: 14.76 MB / 422.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.03368, allocations: 5.116 MB / 427.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.03809, allocations: 151.3 kB / 427.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01386/0.05194, allocations: 6.234 MB / 433.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009977/0.06192, allocations: 3.262 MB / 436.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00546/0.06738, allocations: 1.746 MB / 438.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.083, allocations: 9.432 MB / 448.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.09519, allocations: 6.68 MB / 454.7 MB, free: 3.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.1078, allocations: 4.865 MB / 459.6 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009351/0.1171, allocations: 4.774 MB / 464.4 MB, free: 9.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002776/0.1199, allocations: 0.6562 MB / 465 MB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.1249, allocations: 1.459 MB / 466.5 MB, free: 7.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006395/0.1313, allocations: 4.208 MB / 470.7 MB, free: 3.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006296/0.1376, allocations: 2.547 MB / 473.3 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2877/0.4253, allocations: 13.22 MB / 486.5 MB, free: 32.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.4253, allocations: 0.5 kB / 486.5 MB, free: 32.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4253, allocations: 0.5938 kB / 486.5 MB, free: 32.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006369/0.4259, allocations: 0 / 486.5 MB, free: 32.27 MB / 398.1 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.0332/0.4591, allocations: 9.545 MB / 496 MB, free: 28.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4592, allocations: 10.25 kB / 496 MB, free: 28.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.4752, allocations: 3.012 MB / 499 MB, free: 28.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.4877, allocations: 4.894 MB / 0.4921 GB, free: 26.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.488, allocations: 453.5 kB / 0.4926 GB, free: 26.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003338/0.4914, allocations: 0.588 MB / 0.4931 GB, free: 26.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/0.5272, allocations: 18.86 MB / 0.5115 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.5275, allocations: 85.3 kB / 0.5116 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.529, allocations: 284.9 kB / 0.5119 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004752/0.5337, allocations: 3.452 MB / 0.5153 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03338/0.5671, allocations: 14.63 MB / 0.5296 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/0.6893, allocations: 66 MB / 0.594 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/0.7092, allocations: 5.791 MB / 0.5997 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/0.7139, allocations: 2.302 MB / 0.6019 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.024/0.7379, allocations: 8.82 MB / 0.6105 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.892e-05/0.738, allocations: 60.86 kB / 0.6106 GB, free: 10.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 7.645e-06/0.738, allocations: 4 kB / 0.6106 GB, free: 10.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.05782/0.7958, allocations: 17.35 MB / 0.6275 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.7959, allocations: 154.5 kB / 0.6277 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/0.8129, allocations: 6.711 MB / 0.6342 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000598/0.8135, allocations: 69.7 kB / 0.6343 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007815/0.8213, allocations: 5.723 MB / 0.6399 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002112/0.8234, allocations: 1.048 MB / 0.6409 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006078/0.8295, allocations: 1.813 MB / 0.6427 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8297, allocations: 301.1 kB / 0.643 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006899/0.8366, allocations: 2.7 MB / 0.6456 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/0.8497, allocations: 8.406 MB / 0.6538 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2597/1.109, allocations: 12.04 MB / 0.6656 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002836/1.11, allocations: 56.97 kB / 0.6656 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.0236/1.133, allocations: 10.78 MB / 0.6761 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.133, allocations: 93.72 kB / 0.6762 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000292/1.134, allocations: 202.6 kB / 0.6764 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/1.134, allocations: 265.8 kB / 0.6767 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007566/1.142, allocations: 2.176 MB / 0.6788 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002954/1.142, allocations: 399 kB / 0.6792 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009743/1.152, allocations: 0.7621 MB / 0.6799 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.153, allocations: 0.5579 MB / 0.6805 GB, free: 179.5 MB / 0.5294 GB 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.007268/1.161, allocations: 3.624 MB / 0.684 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.162, allocations: 0.5409 MB / 0.6845 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/1.166, allocations: 2.745 MB / 0.6872 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/1.167, allocations: 28.67 kB / 0.6873 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.167, allocations: 7.688 kB / 0.6873 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.167, allocations: 11.3 kB / 0.6873 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03556/1.202, allocations: 24.38 MB / 0.7111 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.975e-05/1.202, allocations: 56 kB / 0.7111 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.204, allocations: 0.5225 MB / 0.7116 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.534e-05/1.204, allocations: 68 kB / 0.7117 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/1.204, allocations: 117.8 kB / 0.7118 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.003e-05/1.204, allocations: 107.6 kB / 0.7119 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.342e-05/1.204, allocations: 83.62 kB / 0.712 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/1.21, allocations: 5.112 MB / 0.717 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.212, allocations: 0.6692 MB / 0.7176 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/1.214, allocations: 120 kB / 0.7178 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/1.219, allocations: 315.6 kB / 0.7181 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005258/1.219, allocations: 362.2 kB / 0.7184 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.219, allocations: 149.6 kB / 0.7185 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008993/1.228, allocations: 3.996 MB / 0.7225 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/1.228, allocations: 0 / 0.7225 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01319/1.242, allocations: 1.697 MB / 0.7241 GB, free: 143.6 MB / 0.5294 GB 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.0009271/1.243, allocations: 323 kB / 0.7244 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.253, allocations: 6.063 MB / 0.7303 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.869e-05/1.253, allocations: 8 kB / 0.7303 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.255, allocations: 1.44 MB / 0.7317 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00683/1.262, allocations: 0.8017 MB / 0.7325 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.294, allocations: 17.09 MB / 0.7492 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008333/1.302, allocations: 5.114 MB / 0.7542 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006342/1.309, allocations: 2.737 MB / 0.7569 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.31, allocations: 392.4 kB / 0.7573 GB, free: 109 MB / 0.5294 GB Notification: Performance of SimCode: time 2.053e-06/1.31, allocations: 0 / 0.7573 GB, free: 109 MB / 0.5294 GB Notification: Performance of Templates: time 0.08495/1.395, allocations: 38.01 MB / 0.7944 GB, free: 71.14 MB / 0.5294 GB " [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.524703461676836]