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.001355/0.001355, allocations: 85.95 kB / 21.44 MB, free: 3.055 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.001236/0.001236, allocations: 168.2 kB / 24.84 MB, free: 9.293 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.934/0.934, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.37 MB / 271.5 MB, free: 14.53 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.004e-06/2.004e-06, allocations: 3.938 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.016e-05, allocations: 2.312 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01397/0.014, allocations: 15.94 MB / 364.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02455, allocations: 5.202 MB / 370.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/0.02834, allocations: 147.3 kB / 370.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008052/0.0364, allocations: 6.444 MB / 376.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007897/0.04429, allocations: 3.289 MB / 379.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.0485, allocations: 1.797 MB / 381.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.0598, allocations: 9.433 MB / 391.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0092/0.069, allocations: 6.901 MB / 398.1 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0106/0.0796, allocations: 4.939 MB / 403 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007837/0.08744, allocations: 4.891 MB / 407.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002576/0.09002, allocations: 0.6602 MB / 408.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.0938, allocations: 1.455 MB / 410 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005281/0.09908, allocations: 4.239 MB / 414.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005221/0.1043, allocations: 2.555 MB / 416.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.1162, allocations: 8.507 MB / 425.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1163, allocations: 4 kB / 425.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1163, allocations: 0 / 425.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003994/0.1167, allocations: 0 / 425.3 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.01597/0.1326, allocations: 9.543 MB / 434.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1327, allocations: 8.031 kB / 434.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008682/0.1414, allocations: 2.621 MB / 437.5 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2708/0.4122, allocations: 4.102 MB / 441.6 MB, free: 62.97 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.4125, allocations: 460.2 kB / 442 MB, free: 62.96 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4136, allocations: 0.5852 MB / 442.6 MB, free: 62.95 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.429, allocations: 10.08 MB / 452.7 MB, free: 58.25 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.4291, allocations: 77.42 kB / 452.8 MB, free: 58.24 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/0.4297, allocations: 288.3 kB / 453.1 MB, free: 58.23 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002719/0.4324, allocations: 3.157 MB / 456.2 MB, free: 58.22 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.4446, allocations: 4.489 MB / 460.7 MB, free: 57.39 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0558/0.5004, allocations: 76.24 MB / 0.5244 GB, free: 15.2 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007799/0.5082, allocations: 3.614 MB / 0.5279 GB, free: 11.59 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5092, allocations: 0.7795 MB / 0.5287 GB, free: 10.82 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.5208, allocations: 6.388 MB / 0.5349 GB, free: 4.746 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.5208, allocations: 65.64 kB / 0.535 GB, free: 4.676 MB / 394.8 MB Notification: Performance of pre-optimization done (n=238): time 6.091e-06/0.5208, allocations: 0 / 0.535 GB, free: 4.676 MB / 394.8 MB Notification: Performance of matching and sorting (n=262): time 0.02841/0.5492, allocations: 8.687 MB / 0.5434 GB, free: 12.31 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.5493, allocations: 157.5 kB / 0.5436 GB, free: 12.13 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00632/0.5556, allocations: 5.737 MB / 0.5492 GB, free: 7.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.5559, allocations: 68.83 kB / 0.5493 GB, free: 7.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003713/0.5596, allocations: 6.032 MB / 0.5551 GB, free: 1.504 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.5607, allocations: 1.083 MB / 0.5562 GB, free: 484 kB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.5629, allocations: 2.025 MB / 0.5582 GB, free: 14.64 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5631, allocations: 484.7 kB / 0.5586 GB, free: 14.17 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.5648, allocations: 0.8026 MB / 0.5594 GB, free: 13.36 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006301/0.5711, allocations: 9.303 MB / 0.5685 GB, free: 0.5156 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/0.581, allocations: 11.13 MB / 0.5794 GB, free: 1.848 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/0.5811, allocations: 56 kB / 0.5794 GB, free: 1.793 MB / 442.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01176/0.5929, allocations: 7.245 MB / 0.5865 GB, free: 10.55 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.593, allocations: 92 kB / 0.5866 GB, free: 10.46 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/0.5932, allocations: 204 kB / 0.5868 GB, free: 10.26 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.5934, allocations: 268 kB / 0.587 GB, free: 10 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.598, allocations: 2.094 MB / 0.5891 GB, free: 7.902 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002996/0.5983, allocations: 402.5 kB / 0.5895 GB, free: 7.508 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/0.6037, allocations: 398.5 kB / 0.5899 GB, free: 7.121 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008574/0.6045, allocations: 0.4913 MB / 0.5903 GB, free: 6.633 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.002787/0.6073, allocations: 0.9224 MB / 0.5912 GB, free: 5.691 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/0.6086, allocations: 0.6135 MB / 0.5918 GB, free: 5.078 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6107, allocations: 1.489 MB / 0.5933 GB, free: 3.574 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.6107, allocations: 28 kB / 0.5933 GB, free: 3.547 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6107, allocations: 4 kB / 0.5933 GB, free: 3.543 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.6107, allocations: 11.95 kB / 0.5933 GB, free: 3.531 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2047/0.8154, allocations: 11.87 MB / 0.6049 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-05/0.8155, allocations: 54.2 kB / 0.605 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.8166, allocations: 0.5014 MB / 0.6055 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-05/0.8167, allocations: 70.12 kB / 0.6055 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.8168, allocations: 115.8 kB / 0.6056 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.067e-05/0.8169, allocations: 102.1 kB / 0.6057 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-05/0.8169, allocations: 88.09 kB / 0.6058 GB, free: 125.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/0.8212, allocations: 4.741 MB / 0.6105 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.8225, allocations: 0.6209 MB / 0.6111 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/0.8229, allocations: 129.9 kB / 0.6112 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.8244, allocations: 107.5 kB / 0.6113 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.8247, allocations: 367.1 kB / 0.6116 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8248, allocations: 132.6 kB / 0.6118 GB, free: 121.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002714/0.8275, allocations: 2.348 MB / 0.6141 GB, free: 121.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8275, allocations: 2.844 kB / 0.6141 GB, free: 121.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006246/0.8338, allocations: 1.698 MB / 0.6157 GB, free: 121.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.0004414/0.8342, allocations: 318.7 kB / 0.616 GB, free: 121.1 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004543/0.8388, allocations: 3.877 MB / 0.6198 GB, free: 121 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-05/0.8388, allocations: 12.72 kB / 0.6198 GB, free: 121 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007595/0.8396, allocations: 0.8193 MB / 0.6206 GB, free: 121 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.843, allocations: 0.8464 MB / 0.6214 GB, free: 121 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.8608, allocations: 15.46 MB / 0.6365 GB, free: 112.8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.8634, allocations: 2.349 MB / 0.6388 GB, free: 111.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002824/0.8662, allocations: 0.8372 MB / 0.6397 GB, free: 111 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.8677, allocations: 0.9404 MB / 0.6406 GB, free: 110.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.864e-06/0.8677, allocations: 0 / 0.6406 GB, free: 110.1 MB / 458.8 MB Notification: Performance of Templates: time 0.08033/0.948, allocations: 43.28 MB / 0.6828 GB, free: 71.21 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.37191396811977]