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.001391/0.001391, 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.001666/0.001666, allocations: 197.7 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.988 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.3229/0.3229, allocations: 37.98 MB / 307.3 MB, free: 9.84 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.00139/0.00139, allocations: 65.19 kB / 374.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 56.46 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3194/0.4315, allocations: 101 MB / 0.5195 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06301/0.4946, allocations: 19.13 MB / 0.5382 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02867/0.5234, allocations: 451.6 kB / 0.5386 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.5365, allocations: 6.087 MB / 0.5446 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.5475, allocations: 2.916 MB / 0.5474 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.5521, allocations: 1.498 MB / 0.5489 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02039/0.5726, allocations: 11.9 MB / 0.5605 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.5841, allocations: 7.606 MB / 0.568 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006414/0.5906, allocations: 2.916 MB / 0.5708 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00745/0.5981, allocations: 4.514 MB / 0.5752 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002471/0.6006, allocations: 496 kB / 0.5757 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.6057, allocations: 1.381 MB / 0.577 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006176/0.6119, allocations: 3.748 MB / 0.5807 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009338/0.6213, allocations: 4.147 MB / 0.5847 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02172/0.643, allocations: 12.48 MB / 0.5969 GB, free: 3.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.6431, allocations: 4 kB / 0.5969 GB, free: 3.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6431, allocations: 0 / 0.5969 GB, free: 3.164 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008134/0.6439, allocations: 0 / 0.5969 GB, free: 3.164 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.02842/0.6724, allocations: 9.237 MB / 0.606 GB, free: 9.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.6724, allocations: 8.031 kB / 0.606 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.6848, allocations: 2.673 MB / 0.6086 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.6963, allocations: 4.95 MB / 0.6134 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005001/0.6968, allocations: 467.9 kB / 0.6139 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00271/0.6995, allocations: 0.601 MB / 0.6144 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4222/1.122, allocations: 18.72 MB / 0.6327 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/1.122, allocations: 75.84 kB / 0.6328 GB, free: 142.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/1.124, allocations: 294.2 kB / 0.6331 GB, free: 142.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004646/1.128, allocations: 3.441 MB / 0.6364 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/1.158, allocations: 14.6 MB / 0.6507 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09672/1.255, allocations: 70.58 MB / 0.7196 GB, free: 88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.271, allocations: 6.126 MB / 0.7256 GB, free: 84.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/1.275, allocations: 2.458 MB / 0.728 GB, free: 82.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03181/1.307, allocations: 10.83 MB / 0.7386 GB, free: 70.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.307, allocations: 64.48 kB / 0.7386 GB, free: 70.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 8.005e-06/1.307, allocations: 0 / 0.7386 GB, free: 70.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.05597/1.363, allocations: 15.85 MB / 0.7541 GB, free: 54.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/1.363, allocations: 160.4 kB / 0.7543 GB, free: 54.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.374, allocations: 6.64 MB / 0.7608 GB, free: 47.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006423/1.374, allocations: 65.7 kB / 0.7608 GB, free: 47.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/1.378, allocations: 5.53 MB / 0.7662 GB, free: 42.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.379, allocations: 1.018 MB / 0.7672 GB, free: 41.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/1.382, allocations: 1.837 MB / 0.769 GB, free: 39.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/1.382, allocations: 301.1 kB / 0.7693 GB, free: 39.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/1.385, allocations: 2.653 MB / 0.7719 GB, free: 36.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005593/1.391, allocations: 8.373 MB / 0.7801 GB, free: 25.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.404, allocations: 12 MB / 0.7918 GB, free: 10.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002578/1.404, allocations: 56 kB / 0.7918 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02167/1.426, allocations: 10.73 MB / 0.8023 GB, free: 15.62 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/1.426, allocations: 95.94 kB / 0.8024 GB, free: 15.53 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003266/1.426, allocations: 200 kB / 0.8026 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/1.426, allocations: 268 kB / 0.8028 GB, free: 15.07 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007981/1.434, allocations: 2.145 MB / 0.8049 GB, free: 12.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003899/1.435, allocations: 390.5 kB / 0.8053 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008505/1.443, allocations: 455.5 kB / 0.8058 GB, free: 12.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.445, allocations: 0.5625 MB / 0.8063 GB, free: 11.54 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.007716/1.453, allocations: 3.617 MB / 0.8098 GB, free: 7.898 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.455, allocations: 0.5706 MB / 0.8104 GB, free: 7.32 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/1.461, allocations: 2.791 MB / 0.8131 GB, free: 4.512 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.584e-05/1.461, allocations: 28 kB / 0.8131 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/1.461, allocations: 7.828 kB / 0.8131 GB, free: 4.48 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/1.461, allocations: 15.95 kB / 0.8132 GB, free: 4.465 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4094/1.87, allocations: 26.56 MB / 0.8391 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-05/1.87, allocations: 59.41 kB / 0.8392 GB, free: 137.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.872, allocations: 0.5236 MB / 0.8397 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.225e-05/1.872, allocations: 68.34 kB / 0.8397 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.872, allocations: 118.6 kB / 0.8398 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.24e-05/1.872, allocations: 104.2 kB / 0.8399 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-05/1.872, allocations: 82.06 kB / 0.84 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006181/1.879, allocations: 5.242 MB / 0.8451 GB, free: 134 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/1.881, allocations: 0.6702 MB / 0.8458 GB, free: 133.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.882, allocations: 124 kB / 0.8459 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.886, allocations: 140.1 kB / 0.846 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006814/1.886, allocations: 353.7 kB / 0.8464 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003852/1.887, allocations: 154.4 kB / 0.8465 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01391/1.901, allocations: 4.15 MB / 0.8506 GB, free: 132.4 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.31e-07/1.901, allocations: 0 / 0.8506 GB, free: 132.4 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01381/1.915, allocations: 1.508 MB / 0.8521 GB, free: 132.2 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.001274/1.916, allocations: 306 kB / 0.8524 GB, free: 132 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.93, allocations: 6.145 MB / 0.8584 GB, free: 130 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.738e-05/1.931, allocations: 6.906 kB / 0.8584 GB, free: 130 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/1.934, allocations: 1.503 MB / 0.8598 GB, free: 129.5 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009287/1.943, allocations: 0.9009 MB / 0.8607 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/1.981, allocations: 21.01 MB / 0.8812 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009871/1.991, allocations: 5.577 MB / 0.8867 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009452/2.001, allocations: 2.781 MB / 0.8894 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.002, allocations: 407 kB / 0.8898 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of SimCode: time 3.256e-06/2.002, allocations: 0 / 0.8898 GB, free: 111.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.0979/2.1, allocations: 47.16 MB / 0.9358 GB, free: 66.89 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)