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.001403/0.001403, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001058/0.001058, allocations: 173 kB / 24.05 MB, free: 452 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.9365/0.9365, allocations: 158.6 MB / 185.9 MB, free: 2.41 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.131/0.131, allocations: 32.37 MB / 270.7 MB, free: 14.51 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.653e-06/1.653e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.309e-05, allocations: 6.25 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.03304/0.03306, allocations: 15.95 MB / 364.1 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.04968, allocations: 5.198 MB / 369.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.05136, allocations: 151.2 kB / 369.4 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005475/0.05683, allocations: 6.441 MB / 375.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.06128, allocations: 3.297 MB / 379.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.06329, allocations: 1.789 MB / 380.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00651/0.0698, allocations: 9.436 MB / 390.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006148/0.07595, allocations: 6.897 MB / 397.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009074/0.08502, allocations: 4.939 MB / 402.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.0914, allocations: 4.887 MB / 407.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.09355, allocations: 0.6562 MB / 407.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.09633, allocations: 1.459 MB / 409.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003705/0.1, allocations: 4.239 MB / 413.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003442/0.1035, allocations: 2.551 MB / 416 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.1124, allocations: 8.519 MB / 424.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1124, allocations: 0 / 424.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1124, allocations: 0 / 424.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002965/0.1127, allocations: 0 / 424.5 MB, free: 12.46 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.0122/0.1249, allocations: 9.539 MB / 434.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1249, allocations: 12.03 kB / 434.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00626/0.1312, allocations: 2.629 MB / 436.7 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2875/0.4187, allocations: 4.101 MB / 440.8 MB, free: 83.85 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/0.4193, allocations: 453 kB / 441.3 MB, free: 83.84 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.4211, allocations: 0.5909 MB / 441.8 MB, free: 83.83 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.4383, allocations: 10.09 MB / 451.9 MB, free: 78.73 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002671/0.4385, allocations: 78.33 kB / 452 MB, free: 78.69 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.4398, allocations: 290.4 kB / 452.3 MB, free: 78.53 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002561/0.4423, allocations: 3.154 MB / 455.4 MB, free: 75.57 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.456, allocations: 4.488 MB / 459.9 MB, free: 71.14 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06007/0.5161, allocations: 76.23 MB / 0.5236 GB, free: 9.609 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.5239, allocations: 3.614 MB / 0.5271 GB, free: 5.945 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5252, allocations: 0.7736 MB / 0.5279 GB, free: 5.156 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.5362, allocations: 6.399 MB / 0.5341 GB, free: 14.91 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.5363, allocations: 63.33 kB / 0.5342 GB, free: 14.84 MB / 394.8 MB Notification: Performance of pre-optimization done (n=238): time 4.579e-06/0.5363, allocations: 0 / 0.5342 GB, free: 14.84 MB / 394.8 MB Notification: Performance of matching and sorting (n=262): time 0.02111/0.5574, allocations: 8.683 MB / 0.5427 GB, free: 6.41 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.5575, allocations: 162.4 kB / 0.5428 GB, free: 6.223 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.5623, allocations: 5.738 MB / 0.5484 GB, free: 472 kB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.5625, allocations: 61.7 kB / 0.5485 GB, free: 404 kB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003856/0.5664, allocations: 6.039 MB / 0.5544 GB, free: 10.31 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.5676, allocations: 1.086 MB / 0.5555 GB, free: 9.215 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/0.5698, allocations: 2.017 MB / 0.5574 GB, free: 7.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5699, allocations: 484.7 kB / 0.5579 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.5716, allocations: 0.8065 MB / 0.5587 GB, free: 5.891 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006297/0.5779, allocations: 9.301 MB / 0.5678 GB, free: 8.707 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.5884, allocations: 11.12 MB / 0.5786 GB, free: 9.738 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002097/0.5886, allocations: 60 kB / 0.5787 GB, free: 9.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01337/0.602, allocations: 7.255 MB / 0.5858 GB, free: 2.418 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.6021, allocations: 92 kB / 0.5858 GB, free: 2.328 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002083/0.6023, allocations: 200 kB / 0.586 GB, free: 2.133 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.6025, allocations: 268 kB / 0.5863 GB, free: 1.871 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1785/0.781, allocations: 2.098 MB / 0.5883 GB, free: 130.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006063/0.7816, allocations: 400.8 kB / 0.5887 GB, free: 130.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007642/0.7893, allocations: 399.1 kB / 0.5891 GB, free: 130.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/0.7907, allocations: 0.4905 MB / 0.5896 GB, free: 130.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.003891/0.7946, allocations: 0.9265 MB / 0.5905 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/0.7964, allocations: 0.6102 MB / 0.5911 GB, free: 130.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.799, allocations: 1.49 MB / 0.5925 GB, free: 130.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.799, allocations: 27.34 kB / 0.5926 GB, free: 130.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7991, allocations: 7.25 kB / 0.5926 GB, free: 130.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.7991, allocations: 11.62 kB / 0.5926 GB, free: 130.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/0.822, allocations: 11.87 MB / 0.6042 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-05/0.8221, allocations: 54.66 kB / 0.6042 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.8231, allocations: 0.4922 MB / 0.6047 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-05/0.8231, allocations: 69.56 kB / 0.6048 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.8233, allocations: 125.1 kB / 0.6049 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.022e-05/0.8233, allocations: 104.7 kB / 0.605 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.212e-05/0.8234, allocations: 86.69 kB / 0.6051 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.8277, allocations: 4.74 MB / 0.6097 GB, free: 122.9 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/0.8293, allocations: 0.6253 MB / 0.6103 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/0.83, allocations: 126 kB / 0.6104 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.8315, allocations: 103 kB / 0.6105 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.8318, allocations: 374.3 kB / 0.6109 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.832, allocations: 128.3 kB / 0.611 GB, free: 122.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002782/0.8347, allocations: 2.345 MB / 0.6133 GB, free: 122.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8347, allocations: 0 / 0.6133 GB, free: 122.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007258/0.842, allocations: 1.7 MB / 0.615 GB, free: 122.3 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.0008444/0.8428, allocations: 316.2 kB / 0.6153 GB, free: 122.1 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006784/0.8496, allocations: 3.875 MB / 0.619 GB, free: 121.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.797e-05/0.8497, allocations: 8 kB / 0.6191 GB, free: 121 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.8515, allocations: 0.8227 MB / 0.6199 GB, free: 120.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006027/0.8575, allocations: 0.8496 MB / 0.6207 GB, free: 120 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/0.8809, allocations: 15.46 MB / 0.6358 GB, free: 104.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004412/0.8853, allocations: 2.342 MB / 0.6381 GB, free: 103.1 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00308/0.8884, allocations: 0.8459 MB / 0.6389 GB, free: 102.5 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.8897, allocations: 0.9332 MB / 0.6398 GB, free: 101.7 MB / 442.8 MB Notification: Performance of SimCode: time 3.427e-06/0.8897, allocations: 0 / 0.6398 GB, free: 101.7 MB / 442.8 MB Notification: Performance of Templates: time 0.07057/0.9602, allocations: 42.36 MB / 0.6812 GB, free: 59.77 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=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.966053877957165]