Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009706/0.0009708, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.203/1.203, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001803/0.001803, allocations: 99.47 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2219/0.2219, allocations: 37.98 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.815e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.445, allocations: 91.96 MB / 497.7 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4453, allocations: 76.16 kB / 497.7 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6554/1.101, allocations: 159.1 MB / 0.6414 GB, free: 63.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.101, allocations: 3.469 kB / 0.6414 GB, free: 63.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006611/1.101, allocations: 161.6 kB / 0.6416 GB, free: 63.09 MB / 426.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.0283/1.13, allocations: 7.736 MB / 0.6491 GB, free: 60.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.13, allocations: 7.469 kB / 0.6492 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/1.151, allocations: 3.627 MB / 0.6527 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/1.177, allocations: 9.545 MB / 0.662 GB, free: 58.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008576/1.178, allocations: 0.5946 MB / 0.6626 GB, free: 58.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004915/1.183, allocations: 0.7992 MB / 0.6634 GB, free: 58.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05576/1.239, allocations: 18.67 MB / 0.6816 GB, free: 54.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009777/1.24, allocations: 96.03 kB / 0.6817 GB, free: 54.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006332/1.246, allocations: 384.2 kB / 0.6821 GB, free: 54.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004933/1.251, allocations: 1.781 MB / 0.6838 GB, free: 54.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03812/1.289, allocations: 14.49 MB / 0.698 GB, free: 52.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.392, allocations: 79.01 MB / 0.7751 GB, free: 17.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/1.409, allocations: 6.017 MB / 0.781 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004564/1.414, allocations: 2.395 MB / 0.7833 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/1.437, allocations: 11.01 MB / 0.7941 GB, free: 396 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/1.437, allocations: 60.5 kB / 0.7941 GB, free: 328 kB / 458.7 MB Notification: Performance of pre-optimization done (n=238): time 5.239e-06/1.438, allocations: 0 / 0.7941 GB, free: 328 kB / 458.7 MB Notification: Performance of matching and sorting (n=262): time 0.3123/1.75, allocations: 14.87 MB / 0.8087 GB, free: 86.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/1.75, allocations: 156.3 kB / 0.8088 GB, free: 86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.761, allocations: 5.728 MB / 0.8144 GB, free: 85.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005468/1.762, allocations: 61.23 kB / 0.8145 GB, free: 85.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004253/1.766, allocations: 5.586 MB / 0.8199 GB, free: 82.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.768, allocations: 1.008 MB / 0.8209 GB, free: 82.35 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008288/1.769, allocations: 177.2 kB / 0.8211 GB, free: 82.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005268/1.769, allocations: 0.678 MB / 0.8217 GB, free: 82.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/1.773, allocations: 2.373 MB / 0.824 GB, free: 82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005837/1.779, allocations: 7.96 MB / 0.8318 GB, free: 74.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006251/1.785, allocations: 4.29 MB / 0.836 GB, free: 74.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/1.785, allocations: 60.16 kB / 0.8361 GB, free: 74.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.01893/1.804, allocations: 10.05 MB / 0.8459 GB, free: 73.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003439/1.804, allocations: 92.28 kB / 0.846 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003996/1.805, allocations: 196.3 kB / 0.8462 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/1.805, allocations: 291.9 kB / 0.8464 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007903/1.813, allocations: 2.185 MB / 0.8486 GB, free: 73.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003783/1.814, allocations: 392.5 kB / 0.8489 GB, free: 73.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009947/1.824, allocations: 0.6105 MB / 0.8495 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/1.826, allocations: 0.5387 MB / 0.8501 GB, free: 73.59 MB / 458.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.00354/1.83, allocations: 0.7986 MB / 0.8508 GB, free: 73.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/1.832, allocations: 0.5778 MB / 0.8514 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007741/1.839, allocations: 2.741 MB / 0.8541 GB, free: 72.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/1.84, allocations: 33.33 kB / 0.8541 GB, free: 72.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.84, allocations: 3.531 kB / 0.8541 GB, free: 72.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/1.84, allocations: 10.5 kB / 0.8541 GB, free: 72.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04678/1.886, allocations: 26.41 MB / 0.8799 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002081/1.887, allocations: 50.66 kB / 0.88 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.889, allocations: 0.5161 MB / 0.8805 GB, free: 64.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.712e-05/1.889, allocations: 79.75 kB / 0.8805 GB, free: 64.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/1.889, allocations: 118.1 kB / 0.8807 GB, free: 64.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.685e-05/1.889, allocations: 103 kB / 0.8808 GB, free: 64.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.344e-05/1.889, allocations: 84 kB / 0.8808 GB, free: 64.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/1.899, allocations: 14.53 MB / 0.895 GB, free: 49.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/1.901, allocations: 0.6858 MB / 0.8957 GB, free: 49.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/1.903, allocations: 120 kB / 0.8958 GB, free: 49.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/1.907, allocations: 203.6 kB / 0.896 GB, free: 49.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/1.907, allocations: 349.3 kB / 0.8963 GB, free: 49.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003398/1.908, allocations: 151.7 kB / 0.8965 GB, free: 49.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009137/1.917, allocations: 4.008 MB / 0.9004 GB, free: 47.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.917, allocations: 0 / 0.9004 GB, free: 47.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01169/1.929, allocations: 1.489 MB / 0.9019 GB, free: 47.73 MB / 458.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.001281/1.93, allocations: 278.8 kB / 0.9021 GB, free: 47.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.941, allocations: 5.745 MB / 0.9077 GB, free: 42.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.048e-05/1.942, allocations: 13.16 kB / 0.9077 GB, free: 42.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/1.944, allocations: 1.449 MB / 0.9092 GB, free: 41.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006621/1.951, allocations: 0.862 MB / 0.91 GB, free: 40.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/1.992, allocations: 13.97 MB / 0.9236 GB, free: 27.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01716/2.009, allocations: 5.735 MB / 0.9292 GB, free: 22.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01505/2.024, allocations: 2.796 MB / 0.932 GB, free: 21.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/2.026, allocations: 389.7 kB / 0.9323 GB, free: 20.75 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/2.026, allocations: 0 / 0.9323 GB, free: 20.75 MB / 458.7 MB Notification: Performance of Templates: time 0.3976/2.424, allocations: 45.74 MB / 0.977 GB, free: 70.32 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)