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.000948/0.000948, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.0009422/0.0009422, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.867/0.867, allocations: 158.6 MB / 186 MB, free: 2.441 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.1317/0.1317, allocations: 32.36 MB / 270.7 MB, free: 14.57 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 1.593e-06/1.593e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.454e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1627/0.1627, allocations: 15.95 MB / 315 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1735, allocations: 5.439 MB / 320.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.1758, allocations: 148.5 kB / 320.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005407/0.1812, allocations: 6.536 MB / 327.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.1866, allocations: 3.291 MB / 330.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.189, allocations: 1.801 MB / 332.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008871/0.1979, allocations: 9.382 MB / 341.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008217/0.2061, allocations: 7.076 MB / 348.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006471/0.2125, allocations: 4.927 MB / 353.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.2177, allocations: 4.68 MB / 358.3 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.2188, allocations: 0.6562 MB / 358.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2208, allocations: 1.447 MB / 360.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.2234, allocations: 4.243 MB / 364.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.2259, allocations: 2.555 MB / 367.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006436/0.2323, allocations: 8.507 MB / 375.7 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2323, allocations: 0 / 375.7 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2323, allocations: 0 / 375.7 MB, free: 1.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.2324, allocations: 0 / 375.7 MB, free: 1.305 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.008331/0.2408, allocations: 8.563 MB / 384.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2408, allocations: 12.03 kB / 384.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.2449, allocations: 1.887 MB / 386.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.2489, allocations: 3.924 MB / 390.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.2491, allocations: 459.9 kB / 390.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.2498, allocations: 0.5978 MB / 391.1 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009875/0.2596, allocations: 9.071 MB / 400.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.2598, allocations: 71.39 kB / 400.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007554/0.2605, allocations: 283.7 kB / 400.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/0.263, allocations: 3.165 MB / 403.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/0.2703, allocations: 4.562 MB / 408.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/0.3096, allocations: 55.31 MB / 463.6 MB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006414/0.316, allocations: 3.462 MB / 467.1 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.3168, allocations: 0.6382 MB / 467.7 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3157/0.6325, allocations: 6.087 MB / 473.8 MB, free: 134.7 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.6325, allocations: 57.94 kB / 473.8 MB, free: 134.6 MB / 426.8 MB Notification: Performance of pre-optimization done (n=238): time 4.939e-06/0.6326, allocations: 0 / 473.8 MB, free: 134.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=262): time 0.02241/0.655, allocations: 7.808 MB / 481.6 MB, free: 134.4 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.655, allocations: 152.7 kB / 481.8 MB, free: 134.3 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006632/0.6617, allocations: 5.187 MB / 487 MB, free: 133.7 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005753/0.6622, allocations: 63.86 kB / 487 MB, free: 133.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.6649, allocations: 5.309 MB / 492.3 MB, free: 130.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.666, allocations: 1.045 MB / 493.4 MB, free: 130.1 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.6674, allocations: 1.744 MB / 495.1 MB, free: 129.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.6675, allocations: 305 kB / 495.4 MB, free: 128.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.6693, allocations: 1.068 MB / 496.5 MB, free: 128.7 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.6733, allocations: 6.597 MB / 0.4913 GB, free: 120.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/0.6813, allocations: 8.622 MB / 0.4997 GB, free: 112.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/0.6816, allocations: 56.69 kB / 0.4998 GB, free: 112.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01158/0.6932, allocations: 6.184 MB / 0.5058 GB, free: 105.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-05/0.6932, allocations: 95.94 kB / 0.5059 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/0.6934, allocations: 204 kB / 0.5061 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.6936, allocations: 268 kB / 0.5064 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/0.6979, allocations: 2.097 MB / 0.5084 GB, free: 103.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/0.6981, allocations: 398.5 kB / 0.5088 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006117/0.7042, allocations: 403.1 kB / 0.5092 GB, free: 102.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.7054, allocations: 496 kB / 0.5097 GB, free: 102 MB / 426.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.00376/0.7091, allocations: 0.8741 MB / 0.5105 GB, free: 101.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/0.7104, allocations: 359.6 kB / 0.5108 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.7124, allocations: 1.282 MB / 0.5121 GB, free: 99.48 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.7124, allocations: 28 kB / 0.5121 GB, free: 99.45 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7124, allocations: 0 / 0.5121 GB, free: 99.45 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.7125, allocations: 19.95 kB / 0.5121 GB, free: 99.43 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.7321, allocations: 10.47 MB / 0.5224 GB, free: 87.99 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-05/0.7321, allocations: 52 kB / 0.5224 GB, free: 87.94 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.7334, allocations: 0.4951 MB / 0.5229 GB, free: 87.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.7335, allocations: 75.94 kB / 0.523 GB, free: 87.37 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.7336, allocations: 117.4 kB / 0.5231 GB, free: 87.26 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.337e-05/0.7337, allocations: 103.6 kB / 0.5232 GB, free: 87.16 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.343e-05/0.7337, allocations: 83.62 kB / 0.5233 GB, free: 87.07 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.7373, allocations: 4.015 MB / 0.5272 GB, free: 82.04 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.7388, allocations: 0.6132 MB / 0.5278 GB, free: 81.42 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009484/0.7398, allocations: 123.9 kB / 0.5279 GB, free: 81.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/0.7421, allocations: 104 kB / 0.528 GB, free: 81.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.7424, allocations: 362.2 kB / 0.5283 GB, free: 80.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.7426, allocations: 132 kB / 0.5285 GB, free: 80.71 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003024/0.7456, allocations: 2.269 MB / 0.5307 GB, free: 78.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7456, allocations: 0 / 0.5307 GB, free: 78.44 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009746/0.7554, allocations: 1.699 MB / 0.5323 GB, free: 76.74 MB / 426.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.0008741/0.7563, allocations: 299 kB / 0.5326 GB, free: 76.44 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005618/0.7619, allocations: 3.639 MB / 0.5362 GB, free: 72.82 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004679/0.7623, allocations: 136.2 kB / 0.5363 GB, free: 72.68 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7637, allocations: 0.7618 MB / 0.5371 GB, free: 71.92 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/0.7698, allocations: 0.8477 MB / 0.5379 GB, free: 71.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/0.7956, allocations: 15.52 MB / 0.553 GB, free: 54.63 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/0.8001, allocations: 2.329 MB / 0.5553 GB, free: 52.28 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003305/0.8034, allocations: 0.8418 MB / 0.5561 GB, free: 51.45 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.8047, allocations: 0.8682 MB / 0.557 GB, free: 50.58 MB / 426.8 MB Notification: Performance of SimCode: time 2.896e-06/0.8047, allocations: 0 / 0.557 GB, free: 50.58 MB / 426.8 MB Notification: Performance of Templates: time 0.07091/0.8756, allocations: 42.28 MB / 0.5983 GB, free: 8.398 MB / 426.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: 4.80657598702237]