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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001776/0.001776, allocations: 189.5 kB / 16.25 MB, free: 6.629 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.412/1.412, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3291/0.3291, allocations: 37.98 MB / 307.4 MB, free: 9.965 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.1. 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.001389/0.001389, allocations: 66.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2913/0.4074, allocations: 101 MB / 0.5197 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05882/0.4662, allocations: 19.03 MB / 0.5383 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03144/0.4978, allocations: 447.5 kB / 0.5387 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.51, allocations: 5.871 MB / 0.5445 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009868/0.5199, allocations: 2.867 MB / 0.5473 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.5241, allocations: 1.512 MB / 0.5487 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.5382, allocations: 8.223 MB / 0.5568 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.5515, allocations: 8.023 MB / 0.5646 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006701/0.5583, allocations: 3.31 MB / 0.5678 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007411/0.5657, allocations: 4.658 MB / 0.5724 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.568, allocations: 0.6406 MB / 0.573 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.572, allocations: 1.471 MB / 0.5744 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004831/0.5769, allocations: 3.904 MB / 0.5783 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00675/0.5836, allocations: 4.33 MB / 0.5825 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.6012, allocations: 12.71 MB / 0.5949 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.6013, allocations: 0 / 0.5949 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6013, allocations: 3.938 kB / 0.5949 GB, free: 5.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006214/0.6019, allocations: 4 kB / 0.5949 GB, free: 5.188 MB / 462.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.02301/0.6249, allocations: 9.256 MB / 0.6039 GB, free: 11.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.625, allocations: 11.89 kB / 0.604 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.6361, allocations: 2.669 MB / 0.6066 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.6476, allocations: 4.946 MB / 0.6114 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/0.6482, allocations: 463.9 kB / 0.6118 GB, free: 3.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003147/0.6514, allocations: 0.5971 MB / 0.6124 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4425/1.094, allocations: 18.73 MB / 0.6307 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004826/1.094, allocations: 78.77 kB / 0.6308 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002319/1.097, allocations: 287.6 kB / 0.6311 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005635/1.102, allocations: 3.444 MB / 0.6344 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0374/1.14, allocations: 14.6 MB / 0.6487 GB, free: 137.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1193/1.259, allocations: 70.58 MB / 0.7176 GB, free: 89.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.277, allocations: 6.13 MB / 0.7236 GB, free: 85.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.281, allocations: 2.456 MB / 0.726 GB, free: 83.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.301, allocations: 10.83 MB / 0.7366 GB, free: 71.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/1.301, allocations: 56.56 kB / 0.7366 GB, free: 71.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 9.628e-06/1.301, allocations: 4 kB / 0.7366 GB, free: 71.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04569/1.347, allocations: 15.85 MB / 0.7521 GB, free: 55.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.347, allocations: 154.5 kB / 0.7523 GB, free: 55.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008788/1.355, allocations: 6.644 MB / 0.7587 GB, free: 49.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007322/1.356, allocations: 65.69 kB / 0.7588 GB, free: 49.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003676/1.36, allocations: 5.537 MB / 0.7642 GB, free: 43.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/1.361, allocations: 1.014 MB / 0.7652 GB, free: 42.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/1.364, allocations: 1.833 MB / 0.767 GB, free: 40.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/1.364, allocations: 301.1 kB / 0.7673 GB, free: 40.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/1.368, allocations: 2.657 MB / 0.7699 GB, free: 37.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00728/1.375, allocations: 8.373 MB / 0.778 GB, free: 26.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.388, allocations: 12 MB / 0.7898 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002071/1.388, allocations: 60 kB / 0.7898 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02537/1.413, allocations: 10.72 MB / 0.8003 GB, free: 0.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/1.414, allocations: 95.94 kB / 0.8004 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003904/1.414, allocations: 204.1 kB / 0.8006 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/1.414, allocations: 272 kB / 0.8008 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008303/1.423, allocations: 2.137 MB / 0.8029 GB, free: 14.09 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000471/1.423, allocations: 398.5 kB / 0.8033 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009086/1.432, allocations: 459.4 kB / 0.8037 GB, free: 13.25 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/1.435, allocations: 0.5586 MB / 0.8043 GB, free: 12.7 MB / 0.4982 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.01048/1.445, allocations: 3.621 MB / 0.8078 GB, free: 9.055 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.447, allocations: 0.5706 MB / 0.8084 GB, free: 8.477 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/1.453, allocations: 2.798 MB / 0.8111 GB, free: 5.66 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/1.453, allocations: 28 kB / 0.8111 GB, free: 5.633 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.453, allocations: 0 / 0.8111 GB, free: 5.633 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/1.453, allocations: 15.89 kB / 0.8112 GB, free: 5.617 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3738/1.826, allocations: 26.56 MB / 0.8371 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-05/1.827, allocations: 52.03 kB / 0.8371 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.828, allocations: 0.5199 MB / 0.8377 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/1.828, allocations: 71 kB / 0.8377 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/1.829, allocations: 119.1 kB / 0.8378 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-05/1.829, allocations: 104.7 kB / 0.8379 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.194e-05/1.829, allocations: 84.94 kB / 0.838 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/1.835, allocations: 5.239 MB / 0.8431 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.838, allocations: 0.67 MB / 0.8438 GB, free: 134.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.839, allocations: 130.2 kB / 0.8439 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.842, allocations: 137.2 kB / 0.844 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/1.843, allocations: 361.4 kB / 0.8444 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/1.843, allocations: 151.5 kB / 0.8445 GB, free: 134.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009606/1.853, allocations: 4.155 MB / 0.8486 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.6e-07/1.853, allocations: 0 / 0.8486 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01366/1.866, allocations: 1.503 MB / 0.8501 GB, free: 133 MB / 0.4982 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.0016/1.868, allocations: 295.9 kB / 0.8503 GB, free: 132.8 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01671/1.885, allocations: 6.362 MB / 0.8565 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.276e-05/1.885, allocations: 8.156 kB / 0.8566 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/1.889, allocations: 1.501 MB / 0.858 GB, free: 130.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/1.899, allocations: 0.9255 MB / 0.8589 GB, free: 129.9 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/1.934, allocations: 21.02 MB / 0.8795 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/1.948, allocations: 5.575 MB / 0.8849 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01066/1.959, allocations: 2.78 MB / 0.8876 GB, free: 112.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/1.961, allocations: 393.9 kB / 0.888 GB, free: 112 MB / 0.4982 GB Notification: Performance of SimCode: time 1.573e-06/1.961, allocations: 0 / 0.888 GB, free: 112 MB / 0.4982 GB Notification: Performance of Templates: time 0.09835/2.059, allocations: 48.9 MB / 0.9357 GB, free: 65.76 MB / 0.4982 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)