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.001075/0.001075, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001311/0.001311, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9759/0.9759, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.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.1393/0.1393, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.415e-06/2.415e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.922e-05, allocations: 10.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01172/0.01175, allocations: 16.38 MB / 364 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.02345, allocations: 5.245 MB / 369.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/0.02786, allocations: 147.3 kB / 369.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008175/0.03604, allocations: 6.546 MB / 376 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007829/0.04387, allocations: 3.277 MB / 379.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.04747, allocations: 1.801 MB / 381.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.05869, allocations: 9.415 MB / 390.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009587/0.06828, allocations: 6.912 MB / 397.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.0784, allocations: 4.892 MB / 402.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007879/0.08627, allocations: 4.879 MB / 407.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.0885, allocations: 0.6562 MB / 407.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.09221, allocations: 1.463 MB / 409.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005068/0.09728, allocations: 4.239 MB / 413.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004815/0.1021, allocations: 2.555 MB / 416.1 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.1148, allocations: 8.5 MB / 424.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1148, allocations: 4 kB / 424.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1148, allocations: 0 / 424.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004429/0.1152, allocations: 0 / 424.6 MB, free: 12.23 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.01815/0.1333, allocations: 10.14 MB / 434.7 MB, free: 1.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1334, allocations: 8.031 kB / 434.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2809/0.4143, allocations: 3.653 MB / 438.4 MB, free: 62.49 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008783/0.4231, allocations: 4.409 MB / 442.8 MB, free: 62.09 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.4235, allocations: 451.3 kB / 443.2 MB, free: 62.07 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.4253, allocations: 0.5944 MB / 443.8 MB, free: 62.07 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.4493, allocations: 11.31 MB / 455.1 MB, free: 57.36 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.4495, allocations: 73.77 kB / 455.2 MB, free: 57.35 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007099/0.4503, allocations: 286.1 kB / 455.5 MB, free: 57.35 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003922/0.4542, allocations: 3.441 MB / 458.9 MB, free: 57.34 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.4746, allocations: 5.829 MB / 464.8 MB, free: 53.5 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06355/0.5381, allocations: 77.7 MB / 0.5297 GB, free: 7.082 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009444/0.5476, allocations: 3.982 MB / 0.5336 GB, free: 3.059 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.5494, allocations: 0.9105 MB / 0.5345 GB, free: 2.137 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.5611, allocations: 6.755 MB / 0.5411 GB, free: 11.64 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.5611, allocations: 57.08 kB / 0.5412 GB, free: 11.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=238): time 6.372e-06/0.5612, allocations: 0 / 0.5412 GB, free: 11.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=262): time 0.02726/0.5884, allocations: 14.47 MB / 0.5553 GB, free: 13.37 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.5885, allocations: 158.1 kB / 0.5555 GB, free: 13.19 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006387/0.5949, allocations: 5.795 MB / 0.5611 GB, free: 7.379 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.5952, allocations: 69.53 kB / 0.5612 GB, free: 7.309 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002991/0.5982, allocations: 5.99 MB / 0.567 GB, free: 1.359 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.5994, allocations: 1.076 MB / 0.5681 GB, free: 304 kB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.6011, allocations: 1.976 MB / 0.57 GB, free: 14.31 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6012, allocations: 476.8 kB / 0.5705 GB, free: 13.84 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.6027, allocations: 0.912 MB / 0.5714 GB, free: 12.92 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/0.6082, allocations: 9.35 MB / 0.5805 GB, free: 15.77 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009822/0.6181, allocations: 11.35 MB / 0.5916 GB, free: 0.625 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002053/0.6183, allocations: 60 kB / 0.5916 GB, free: 0.5664 MB / 458.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.1948/0.813, allocations: 7.746 MB / 0.5992 GB, free: 126.6 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.8132, allocations: 90.84 kB / 0.5993 GB, free: 126.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003346/0.8135, allocations: 202.8 kB / 0.5995 GB, free: 126.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.8138, allocations: 271.7 kB / 0.5997 GB, free: 126.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/0.8183, allocations: 2.148 MB / 0.6018 GB, free: 126.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002872/0.8185, allocations: 399.7 kB / 0.6022 GB, free: 126.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/0.8238, allocations: 0.6857 MB / 0.6029 GB, free: 126.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009211/0.8247, allocations: 0.5646 MB / 0.6034 GB, free: 126.5 MB / 458.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.002984/0.8277, allocations: 0.9224 MB / 0.6043 GB, free: 126.2 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/0.8288, allocations: 0.6208 MB / 0.6049 GB, free: 126.2 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.8315, allocations: 1.615 MB / 0.6065 GB, free: 126 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-05/0.8315, allocations: 28.56 kB / 0.6065 GB, free: 126 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.8315, allocations: 3.25 kB / 0.6065 GB, free: 126 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.8316, allocations: 15.08 kB / 0.6066 GB, free: 126 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.8515, allocations: 12.02 MB / 0.6183 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-05/0.8516, allocations: 53.25 kB / 0.6183 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.853, allocations: 0.515 MB / 0.6188 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-05/0.853, allocations: 69.06 kB / 0.6189 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.8532, allocations: 119.4 kB / 0.619 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.553e-05/0.8532, allocations: 104.4 kB / 0.6191 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-05/0.8533, allocations: 87.56 kB / 0.6192 GB, free: 122.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.8574, allocations: 4.856 MB / 0.624 GB, free: 118.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.8586, allocations: 0.6523 MB / 0.6246 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00064/0.8593, allocations: 125.8 kB / 0.6247 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.8615, allocations: 279.2 kB / 0.625 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.8618, allocations: 372.1 kB / 0.6253 GB, free: 118.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/0.8621, allocations: 148.5 kB / 0.6255 GB, free: 118.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003918/0.866, allocations: 2.542 MB / 0.628 GB, free: 116.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.866, allocations: 0 / 0.628 GB, free: 116.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008494/0.8745, allocations: 1.697 MB / 0.6296 GB, free: 115.2 MB / 458.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.0008178/0.8753, allocations: 323.6 kB / 0.6299 GB, free: 115 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007389/0.8827, allocations: 4.087 MB / 0.6339 GB, free: 112 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.894e-05/0.8827, allocations: 8 kB / 0.6339 GB, free: 112 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.8843, allocations: 0.859 MB / 0.6348 GB, free: 111.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/0.8895, allocations: 0.8502 MB / 0.6356 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.91, allocations: 15.48 MB / 0.6507 GB, free: 96.48 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.9123, allocations: 2.345 MB / 0.653 GB, free: 94.82 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004292/0.9166, allocations: 2.389 MB / 0.6553 GB, free: 93.43 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/0.9174, allocations: 392.6 kB / 0.6557 GB, free: 93.07 MB / 458.8 MB Notification: Performance of SimCode: time 2.675e-06/0.9174, allocations: 0 / 0.6557 GB, free: 93.07 MB / 458.8 MB Notification: Performance of Templates: time 0.05989/0.9773, allocations: 37.86 MB / 0.6927 GB, free: 55.85 MB / 458.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=240 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.16472352296114]