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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3534/0.3534, allocations: 39.94 MB / 309.3 MB, free: 9.645 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.91 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 56.89 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3631/0.5116, allocations: 101 MB / 0.5223 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06268/0.5743, allocations: 19.13 MB / 0.5409 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03523/0.6096, allocations: 448.3 kB / 0.5414 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.6228, allocations: 6.095 MB / 0.5473 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.6333, allocations: 2.92 MB / 0.5502 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.6381, allocations: 1.49 MB / 0.5516 GB, free: 364 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.6576, allocations: 11.9 MB / 0.5632 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/0.6706, allocations: 7.614 MB / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.678, allocations: 2.912 MB / 0.5735 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008195/0.6863, allocations: 4.51 MB / 0.5779 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002643/0.689, allocations: 492 kB / 0.5784 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.6941, allocations: 1.385 MB / 0.5798 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008486/0.7026, allocations: 3.74 MB / 0.5834 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.7133, allocations: 4.143 MB / 0.5875 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02597/0.7393, allocations: 12.49 MB / 0.5996 GB, free: 15.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7394, allocations: 0 / 0.5996 GB, free: 15.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7394, allocations: 0 / 0.5996 GB, free: 15.03 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009216/0.7404, allocations: 4 kB / 0.5996 GB, free: 15.02 MB / 478.1 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.03214/0.7725, allocations: 9.241 MB / 0.6087 GB, free: 5.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.7726, allocations: 12.03 kB / 0.6087 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/0.786, allocations: 2.665 MB / 0.6113 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.8008, allocations: 4.95 MB / 0.6161 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/0.8015, allocations: 471.9 kB / 0.6166 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.8051, allocations: 0.5894 MB / 0.6171 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8123/1.617, allocations: 18.73 MB / 0.6354 GB, free: 56.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002916/1.618, allocations: 77.59 kB / 0.6355 GB, free: 56.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/1.619, allocations: 281.9 kB / 0.6358 GB, free: 56.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/1.624, allocations: 3.447 MB / 0.6391 GB, free: 56.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03927/1.663, allocations: 14.6 MB / 0.6534 GB, free: 56.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/1.782, allocations: 70.59 MB / 0.7223 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/1.8, allocations: 6.123 MB / 0.7283 GB, free: 13.19 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004755/1.805, allocations: 2.455 MB / 0.7307 GB, free: 10.72 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02523/1.83, allocations: 10.83 MB / 0.7413 GB, free: 15.53 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.095e-05/1.83, allocations: 62.84 kB / 0.7413 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=238): time 6.853e-06/1.83, allocations: 0 / 0.7413 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of matching and sorting (n=262): time 0.05151/1.882, allocations: 15.86 MB / 0.7568 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/1.882, allocations: 157.6 kB / 0.757 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.894, allocations: 6.646 MB / 0.7635 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005879/1.895, allocations: 65.23 kB / 0.7635 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004701/1.899, allocations: 5.534 MB / 0.7689 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.901, allocations: 1.01 MB / 0.7699 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002588/1.903, allocations: 1.838 MB / 0.7717 GB, free: 456 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/1.903, allocations: 301.1 kB / 0.772 GB, free: 152 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005091/1.908, allocations: 2.662 MB / 0.7746 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.919, allocations: 8.382 MB / 0.7828 GB, free: 2.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.935, allocations: 12 MB / 0.7945 GB, free: 4.375 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002467/1.935, allocations: 56 kB / 0.7946 GB, free: 4.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02306/1.958, allocations: 10.72 MB / 0.805 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.959, allocations: 92 kB / 0.8051 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003464/1.959, allocations: 200 kB / 0.8053 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/1.959, allocations: 273.4 kB / 0.8056 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00736/1.967, allocations: 2.14 MB / 0.8077 GB, free: 8.297 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003623/1.967, allocations: 394.5 kB / 0.808 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007401/1.974, allocations: 455.6 kB / 0.8085 GB, free: 7.551 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/1.976, allocations: 0.5581 MB / 0.809 GB, free: 6.996 MB / 0.5763 GB 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.008514/1.985, allocations: 3.624 MB / 0.8126 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/1.987, allocations: 0.5707 MB / 0.8131 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00686/1.994, allocations: 2.797 MB / 0.8158 GB, free: 168 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-05/1.994, allocations: 30.81 kB / 0.8159 GB, free: 140 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/1.994, allocations: 0 / 0.8159 GB, free: 140 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/1.994, allocations: 15.95 kB / 0.8159 GB, free: 124 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04895/2.043, allocations: 26.56 MB / 0.8418 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002271/2.043, allocations: 56 kB / 0.8419 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/2.045, allocations: 0.5221 MB / 0.8424 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/2.045, allocations: 68 kB / 0.8425 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005633/2.046, allocations: 120.6 kB / 0.8426 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/2.046, allocations: 106.3 kB / 0.8427 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-05/2.046, allocations: 85.19 kB / 0.8428 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3694/2.416, allocations: 5.233 MB / 0.8479 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/2.418, allocations: 0.6718 MB / 0.8485 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.42, allocations: 125.3 kB / 0.8486 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003404/2.423, allocations: 134.8 kB / 0.8488 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/2.424, allocations: 360.3 kB / 0.8491 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/2.424, allocations: 153.2 kB / 0.8493 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008383/2.432, allocations: 4.15 MB / 0.8533 GB, free: 242.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.31e-07/2.432, allocations: 0.5312 kB / 0.8533 GB, free: 242.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01016/2.443, allocations: 1.511 MB / 0.8548 GB, free: 242.6 MB / 0.6075 GB 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.0009646/2.444, allocations: 304 kB / 0.8551 GB, free: 242.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01003/2.454, allocations: 6.15 MB / 0.8611 GB, free: 240.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.117e-05/2.454, allocations: 11.41 kB / 0.8611 GB, free: 240.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/2.456, allocations: 1.496 MB / 0.8626 GB, free: 240.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007692/2.464, allocations: 0.8939 MB / 0.8634 GB, free: 240 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/2.505, allocations: 21.01 MB / 0.8839 GB, free: 227.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/2.516, allocations: 5.583 MB / 0.8894 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009312/2.526, allocations: 2.777 MB / 0.8921 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/2.527, allocations: 397 kB / 0.8925 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/2.527, allocations: 7.938 kB / 0.8925 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.103/2.63, allocations: 47.16 MB / 0.9386 GB, free: 202.5 MB / 0.6075 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)