Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009037/0.0009037, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008968/0.0008968, allocations: 165.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9813/0.9813, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2646/0.2646, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.467e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01728/0.01731, allocations: 14.08 MB / 340 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.03125, allocations: 5.168 MB / 345.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.03492, allocations: 139.3 kB / 345.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.04521, allocations: 6.421 MB / 351.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.0516, allocations: 2.935 MB / 354.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.05391, allocations: 1.797 MB / 356.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00923/0.06314, allocations: 9.078 MB / 365.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007654/0.0708, allocations: 6.749 MB / 372.3 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.07645, allocations: 4.542 MB / 376.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.08073, allocations: 4.26 MB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007184/0.08145, allocations: 0.5898 MB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.08311, allocations: 1.361 MB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.08539, allocations: 3.818 MB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.08737, allocations: 2.29 MB / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005718/0.09308, allocations: 7.586 MB / 396.7 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.09309, allocations: 0 / 396.7 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09309, allocations: 0 / 396.7 MB, free: 44 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.09321, allocations: 4 kB / 396.7 MB, free: 40 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.008013/0.1012, allocations: 7.819 MB / 404.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1013, allocations: 8.031 kB / 404.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.1049, allocations: 1.647 MB / 406.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.1084, allocations: 3.65 MB / 409.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.1086, allocations: 411 kB / 410.2 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005465/0.1092, allocations: 0.543 MB / 410.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.1171, allocations: 8.289 MB / 419.1 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.1172, allocations: 71.39 kB / 419.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.1176, allocations: 267.7 kB / 419.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/0.1197, allocations: 2.674 MB / 422.1 MB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.1257, allocations: 4.066 MB / 426.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2687/0.3944, allocations: 51.09 MB / 477.2 MB, free: 71.2 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/0.4001, allocations: 3.124 MB / 480.4 MB, free: 70.1 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.4007, allocations: 0.5309 MB / 480.9 MB, free: 69.57 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005673/0.4064, allocations: 5.676 MB / 486.6 MB, free: 64.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4064, allocations: 51.88 kB / 486.6 MB, free: 64.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.386e-06/0.4064, allocations: 3.469 kB / 486.6 MB, free: 64.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01346/0.4198, allocations: 7.197 MB / 493.8 MB, free: 57.61 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.4199, allocations: 149.8 kB / 494 MB, free: 57.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.4225, allocations: 4.936 MB / 498.9 MB, free: 52.95 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.4226, allocations: 61.69 kB / 499 MB, free: 52.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4238, allocations: 4.836 MB / 0.492 GB, free: 48.22 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.424, allocations: 0.8373 MB / 0.4928 GB, free: 47.38 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008905/0.4249, allocations: 1.6 MB / 0.4944 GB, free: 45.76 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.686e-05/0.425, allocations: 305.1 kB / 0.4947 GB, free: 45.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4261, allocations: 0.961 MB / 0.4956 GB, free: 44.49 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.4283, allocations: 6.128 MB / 0.5016 GB, free: 35.79 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/0.4319, allocations: 7.957 MB / 0.5094 GB, free: 25.36 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.432, allocations: 56 kB / 0.5094 GB, free: 25.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.004094/0.436, allocations: 5.667 MB / 0.5149 GB, free: 19.61 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.4361, allocations: 84 kB / 0.515 GB, free: 19.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.651e-05/0.4362, allocations: 192 kB / 0.5152 GB, free: 19.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.4363, allocations: 248 kB / 0.5154 GB, free: 19.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.4388, allocations: 1.883 MB / 0.5173 GB, free: 17.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.4389, allocations: 374.9 kB / 0.5176 GB, free: 16.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/0.4414, allocations: 371.7 kB / 0.518 GB, free: 16.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.4417, allocations: 452 kB / 0.5184 GB, free: 16.04 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1043): * Single equations (assignments): 1032 * 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.00119/0.4429, allocations: 0.8395 MB / 0.5192 GB, free: 15.19 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.4432, allocations: 323.6 kB / 0.5195 GB, free: 14.87 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.4435, allocations: 490 kB / 0.52 GB, free: 14.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.4435, allocations: 24 kB / 0.52 GB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.4436, allocations: 0 / 0.52 GB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4436, allocations: 7.969 kB / 0.52 GB, free: 14.35 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/0.4504, allocations: 7.926 MB / 0.5278 GB, free: 5.734 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.4504, allocations: 36 kB / 0.5278 GB, free: 5.699 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4509, allocations: 367.3 kB / 0.5282 GB, free: 5.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.4509, allocations: 56.03 kB / 0.5282 GB, free: 5.285 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.451, allocations: 84 kB / 0.5283 GB, free: 5.203 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/0.451, allocations: 75.66 kB / 0.5284 GB, free: 5.129 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/0.451, allocations: 63.69 kB / 0.5284 GB, free: 5.066 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4523, allocations: 2.932 MB / 0.5313 GB, free: 1.465 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.4527, allocations: 0.5354 MB / 0.5318 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.453, allocations: 91.95 kB / 0.5319 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/0.454, allocations: 68 kB / 0.532 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4541, allocations: 270.7 kB / 0.5322 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.4542, allocations: 92 kB / 0.5323 GB, free: 424 kB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001882/0.456, allocations: 2.152 MB / 0.5344 GB, free: 14.29 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 0.5344 GB, free: 14.29 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00368/0.4597, allocations: 1.5 MB / 0.5359 GB, free: 12.79 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0003096/0.46, allocations: 239.1 kB / 0.5361 GB, free: 12.54 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.4627, allocations: 3.211 MB / 0.5393 GB, free: 9.359 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001713/0.4629, allocations: 129.4 kB / 0.5394 GB, free: 9.227 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.4634, allocations: 0.5739 MB / 0.5399 GB, free: 8.66 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.4656, allocations: 0.7944 MB / 0.5407 GB, free: 7.902 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.4773, allocations: 13.45 MB / 0.5538 GB, free: 9.73 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.4789, allocations: 2.074 MB / 0.5559 GB, free: 7.621 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001725/0.4806, allocations: 0.7546 MB / 0.5566 GB, free: 6.863 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/0.4816, allocations: 0.7979 MB / 0.5574 GB, free: 6.062 MB / 442.8 MB Notification: Performance of SimCode: time 1.122e-06/0.4816, allocations: 0 / 0.5574 GB, free: 6.062 MB / 442.8 MB Notification: Performance of Templates: time 0.05711/0.5387, allocations: 37.36 MB / 0.5939 GB, free: 1.172 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.390121086966246]