Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001455/0.001455, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.375/1.375, allocations: 194.3 MB / 207.5 MB, free: 3.383 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001567/0.001567, allocations: 112.1 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2073/0.2073, allocations: 39.94 MB / 337.5 MB, free: 452 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.43e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 54.87 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.56, allocations: 98.7 MB / 0.5409 GB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5603, allocations: 78.64 kB / 0.5409 GB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7503/1.311, allocations: 159.1 MB / 0.6963 GB, free: 84.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.311, allocations: 0 / 0.6963 GB, free: 84.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004846/1.311, allocations: 151.1 kB / 0.6964 GB, free: 84.5 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02788/1.339, allocations: 7.755 MB / 0.704 GB, free: 81.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.339, allocations: 10.94 kB / 0.704 GB, free: 81.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/1.359, allocations: 3.624 MB / 0.7076 GB, free: 80.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/1.382, allocations: 9.551 MB / 0.7169 GB, free: 79.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007399/1.383, allocations: 0.5981 MB / 0.7175 GB, free: 79.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00516/1.388, allocations: 0.791 MB / 0.7183 GB, free: 79.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05019/1.439, allocations: 18.67 MB / 0.7365 GB, free: 75.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005605/1.439, allocations: 98.58 kB / 0.7366 GB, free: 75.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003229/1.442, allocations: 379.5 kB / 0.7369 GB, free: 75.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00291/1.445, allocations: 1.787 MB / 0.7387 GB, free: 75.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/1.477, allocations: 14.49 MB / 0.7528 GB, free: 71.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/1.587, allocations: 78.99 MB / 0.83 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/1.605, allocations: 6.06 MB / 0.8359 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/1.61, allocations: 2.39 MB / 0.8382 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3908/2.001, allocations: 10.99 MB / 0.849 GB, free: 90.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/2.001, allocations: 66.19 kB / 0.849 GB, free: 90.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 7.394e-06/2.001, allocations: 0 / 0.849 GB, free: 90.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.05173/2.053, allocations: 14.75 MB / 0.8634 GB, free: 86.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/2.053, allocations: 156.4 kB / 0.8636 GB, free: 86.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/2.065, allocations: 5.725 MB / 0.8692 GB, free: 86.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008151/2.065, allocations: 65.98 kB / 0.8692 GB, free: 86.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005016/2.07, allocations: 5.589 MB / 0.8747 GB, free: 83.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001823/2.072, allocations: 1.012 MB / 0.8757 GB, free: 83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000468/2.073, allocations: 177.1 kB / 0.8759 GB, free: 83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004751/2.073, allocations: 0.6808 MB / 0.8765 GB, free: 82.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/2.077, allocations: 2.369 MB / 0.8788 GB, free: 82.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006419/2.083, allocations: 7.957 MB / 0.8866 GB, free: 75.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/2.09, allocations: 4.289 MB / 0.8908 GB, free: 75.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001922/2.09, allocations: 58.75 kB / 0.8908 GB, free: 75.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02104/2.111, allocations: 10.06 MB / 0.9007 GB, free: 74.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/2.111, allocations: 89.09 kB / 0.9008 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/2.112, allocations: 205.8 kB / 0.9009 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/2.112, allocations: 290.4 kB / 0.9012 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/2.12, allocations: 2.181 MB / 0.9034 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002914/2.12, allocations: 388.5 kB / 0.9037 GB, free: 74.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.131, allocations: 0.6057 MB / 0.9043 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/2.133, allocations: 0.5364 MB / 0.9048 GB, free: 74.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00319/2.136, allocations: 0.8081 MB / 0.9056 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/2.138, allocations: 0.5728 MB / 0.9062 GB, free: 73.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006934/2.145, allocations: 2.742 MB / 0.9089 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.084e-05/2.145, allocations: 26.94 kB / 0.9089 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/2.145, allocations: 5.812 kB / 0.9089 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/2.145, allocations: 14.02 kB / 0.9089 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05122/2.197, allocations: 26.41 MB / 0.9347 GB, free: 64.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002483/2.197, allocations: 53.75 kB / 0.9348 GB, free: 64.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/2.199, allocations: 0.516 MB / 0.9353 GB, free: 64.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/2.2, allocations: 77.19 kB / 0.9353 GB, free: 64.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007728/2.2, allocations: 112.5 kB / 0.9354 GB, free: 64.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000123/2.2, allocations: 106.2 kB / 0.9355 GB, free: 64.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-05/2.201, allocations: 83.81 kB / 0.9356 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/2.215, allocations: 14.53 MB / 0.9498 GB, free: 49.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003451/2.218, allocations: 0.6827 MB / 0.9505 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002418/2.221, allocations: 120.6 kB / 0.9506 GB, free: 48.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004861/2.226, allocations: 201.1 kB / 0.9508 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/2.226, allocations: 347.6 kB / 0.9511 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003769/2.227, allocations: 147.2 kB / 0.9513 GB, free: 48.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01131/2.238, allocations: 4.013 MB / 0.9552 GB, free: 47.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.238, allocations: 3.5 kB / 0.9552 GB, free: 47.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01314/2.251, allocations: 1.486 MB / 0.9566 GB, free: 47.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/2.252, allocations: 276.7 kB / 0.9569 GB, free: 46.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/2.264, allocations: 5.75 MB / 0.9625 GB, free: 41.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.867e-05/2.264, allocations: 9.875 kB / 0.9625 GB, free: 41.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/2.267, allocations: 1.447 MB / 0.9639 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/2.273, allocations: 0.8631 MB / 0.9648 GB, free: 39.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/2.309, allocations: 13.98 MB / 0.9784 GB, free: 26.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/2.323, allocations: 5.732 MB / 0.984 GB, free: 22.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01164/2.335, allocations: 2.79 MB / 0.9868 GB, free: 20.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/2.337, allocations: 389.8 kB / 0.9871 GB, free: 20.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/2.337, allocations: 4 kB / 0.9871 GB, free: 20.18 MB / 490.7 MB Notification: Performance of Templates: time 0.454/2.791, allocations: 45.75 MB / 1.032 GB, free: 90.47 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)