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.008982/0.008982, allocations: 165.4 kB / 15.11 MB, free: 5.582 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.182/1.182, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001718/0.001718, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.2777/0.2777, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4564, allocations: 92.05 MB / 0.4918 GB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4567, allocations: 78.47 kB / 0.4919 GB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6432/1.1, allocations: 158.9 MB / 0.6471 GB, free: 69.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-06/1.1, allocations: 0 / 0.6471 GB, free: 69.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005928/1.101, allocations: 156.1 kB / 0.6473 GB, free: 69.62 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.03116/1.132, allocations: 8.297 MB / 0.6554 GB, free: 66.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.132, allocations: 11.16 kB / 0.6554 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/1.152, allocations: 3.614 MB / 0.6589 GB, free: 65.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/1.18, allocations: 9.585 MB / 0.6683 GB, free: 63.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.182, allocations: 0.6016 MB / 0.6688 GB, free: 63.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005556/1.187, allocations: 0.789 MB / 0.6696 GB, free: 63.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06241/1.25, allocations: 18.95 MB / 0.6881 GB, free: 53.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001081/1.251, allocations: 91.38 kB / 0.6882 GB, free: 53.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006691/1.258, allocations: 380.6 kB / 0.6886 GB, free: 53.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003854/1.261, allocations: 1.781 MB / 0.6903 GB, free: 52.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/1.301, allocations: 14.97 MB / 0.7049 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4833/1.784, allocations: 78.98 MB / 0.7821 GB, free: 44.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.802, allocations: 6.092 MB / 0.788 GB, free: 43.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02339/1.825, allocations: 11 MB / 0.7988 GB, free: 40.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.825, allocations: 60.7 kB / 0.7988 GB, free: 40.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=238): time 7.514e-06/1.825, allocations: 0 / 0.7988 GB, free: 40.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=262): time 0.05377/1.879, allocations: 16.27 MB / 0.8147 GB, free: 35.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.879, allocations: 157.7 kB / 0.8149 GB, free: 35.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/1.893, allocations: 5.91 MB / 0.8206 GB, free: 34.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007046/1.894, allocations: 63.64 kB / 0.8207 GB, free: 34.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004758/1.899, allocations: 5.585 MB / 0.8261 GB, free: 31.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.901, allocations: 1.009 MB / 0.8271 GB, free: 31.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.902, allocations: 175.2 kB / 0.8273 GB, free: 31.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000814/1.902, allocations: 0.6773 MB / 0.828 GB, free: 30.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005682/1.908, allocations: 2.567 MB / 0.8305 GB, free: 30.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.919, allocations: 8.166 MB / 0.8384 GB, free: 23.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009013/1.928, allocations: 4.427 MB / 0.8428 GB, free: 22.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002957/1.928, allocations: 59.16 kB / 0.8428 GB, free: 22.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02528/1.953, allocations: 10.45 MB / 0.853 GB, free: 19.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000404/1.954, allocations: 95.81 kB / 0.8531 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005093/1.954, allocations: 202.3 kB / 0.8533 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/1.955, allocations: 289.9 kB / 0.8536 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008067/1.963, allocations: 2.182 MB / 0.8557 GB, free: 18.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/1.963, allocations: 389.8 kB / 0.8561 GB, free: 18.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/1.974, allocations: 0.6126 MB / 0.8567 GB, free: 18.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/1.977, allocations: 0.5321 MB / 0.8572 GB, free: 18.61 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 () * Number of clocked 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.0125/1.989, allocations: 3.607 MB / 0.8607 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.991, allocations: 0.5766 MB / 0.8613 GB, free: 16.67 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007492/1.999, allocations: 2.811 MB / 0.864 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/1.999, allocations: 28.75 kB / 0.8641 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.999, allocations: 0 / 0.8641 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.999, allocations: 16.77 kB / 0.8641 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05745/2.056, allocations: 26.44 MB / 0.8899 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002485/2.057, allocations: 52 kB / 0.89 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/2.059, allocations: 0.5182 MB / 0.8905 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/2.059, allocations: 76 kB / 0.8905 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/2.06, allocations: 120.4 kB / 0.8906 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.059e-05/2.06, allocations: 102.8 kB / 0.8907 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-05/2.06, allocations: 87.09 kB / 0.8908 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/2.074, allocations: 14.6 MB / 0.9051 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003192/2.077, allocations: 0.6815 MB / 0.9058 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002155/2.079, allocations: 122.3 kB / 0.9059 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/2.084, allocations: 197.5 kB / 0.9061 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/2.084, allocations: 355 kB / 0.9064 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003929/2.085, allocations: 149.7 kB / 0.9065 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02253/2.107, allocations: 4.901 MB / 0.9113 GB, free: 15.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.107, allocations: 4 kB / 0.9113 GB, free: 15.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0141/2.121, allocations: 1.485 MB / 0.9128 GB, free: 13.68 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 () * Number of clocked 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.001431/2.123, allocations: 295.1 kB / 0.9131 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01403/2.137, allocations: 5.972 MB / 0.9189 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-05/2.137, allocations: 8 kB / 0.9189 GB, free: 8.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/2.14, allocations: 1.474 MB / 0.9203 GB, free: 6.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007152/2.147, allocations: 0.8634 MB / 0.9212 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04683/2.194, allocations: 20 MB / 0.9407 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2988/2.493, allocations: 5.934 MB / 0.9465 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01244/2.505, allocations: 2.795 MB / 0.9492 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/2.508, allocations: 395.2 kB / 0.9496 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/2.508, allocations: 0 / 0.9496 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.1188/2.626, allocations: 45.74 MB / 0.9943 GB, free: 123.9 MB / 0.4948 GB 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)