Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 169.9 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.196/1.196, 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.001674/0.001674, allocations: 106.8 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.1669/0.1669, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.814e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08565, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4406, allocations: 89.23 MB / 494.9 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.4408, allocations: 76.31 kB / 495 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.5644, allocations: 55.13 MB / 0.5372 GB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5644, allocations: 0 / 0.5372 GB, free: 2.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.325e-05/0.5645, allocations: 52 kB / 0.5373 GB, free: 2.094 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.005984/0.5705, allocations: 2.611 MB / 0.5398 GB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/0.5706, allocations: 12.03 kB / 0.5398 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00775/0.5784, allocations: 1.813 MB / 0.5416 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/0.5828, allocations: 1.717 MB / 0.5433 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.583, allocations: 217.5 kB / 0.5435 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.584, allocations: 284.1 kB / 0.5438 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/0.6002, allocations: 6.569 MB / 0.5502 GB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.6004, allocations: 19.81 kB / 0.5502 GB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.6018, allocations: 127.9 kB / 0.5503 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.6031, allocations: 0.6804 MB / 0.551 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.6161, allocations: 5.716 MB / 0.5566 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.6537, allocations: 23.03 MB / 0.5791 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/0.6587, allocations: 2.217 MB / 0.5812 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.6602, allocations: 0.7656 MB / 0.582 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009143/0.6693, allocations: 3.769 MB / 0.5857 GB, free: 360 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.6695, allocations: 39.12 kB / 0.5857 GB, free: 312 kB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.43e-06/0.6695, allocations: 4 kB / 0.5857 GB, free: 308 kB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.005225/0.6747, allocations: 1.707 MB / 0.5874 GB, free: 14.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.6748, allocations: 63.97 kB / 0.5874 GB, free: 14.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.6787, allocations: 1.748 MB / 0.5891 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.6788, allocations: 37.7 kB / 0.5892 GB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.6805, allocations: 1.949 MB / 0.5911 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.681, allocations: 363.3 kB / 0.5914 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.6812, allocations: 60 kB / 0.5915 GB, free: 10.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004365/0.6817, allocations: 0.4936 MB / 0.592 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.6833, allocations: 0.8964 MB / 0.5928 GB, free: 8.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/0.6865, allocations: 2.815 MB / 0.5956 GB, free: 5.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.6892, allocations: 1.622 MB / 0.5972 GB, free: 3.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.201e-05/0.6893, allocations: 20 kB / 0.5972 GB, free: 3.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006816/0.6961, allocations: 3.607 MB / 0.6007 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.6962, allocations: 36 kB / 0.6007 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.6964, allocations: 68 kB / 0.6008 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.6965, allocations: 100 kB / 0.6009 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.6987, allocations: 0.7018 MB / 0.6016 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001236/0.6988, allocations: 131.9 kB / 0.6017 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.7012, allocations: 439.4 kB / 0.6021 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.7015, allocations: 192 kB / 0.6023 GB, free: 14.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.0004625/0.702, allocations: 357.2 kB / 0.6027 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.7023, allocations: 169.8 kB / 0.6028 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.7044, allocations: 1.165 MB / 0.604 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.7044, allocations: 12 kB / 0.604 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7044, allocations: 0 / 0.604 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7044, allocations: 3.984 kB / 0.604 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.7146, allocations: 4.962 MB / 0.6088 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/0.7146, allocations: 8 kB / 0.6088 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.7152, allocations: 135.7 kB / 0.609 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.7153, allocations: 16.03 kB / 0.609 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.7154, allocations: 31.98 kB / 0.609 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.7154, allocations: 15.94 kB / 0.609 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.7154, allocations: 15.94 kB / 0.609 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.7178, allocations: 2.164 MB / 0.6111 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/0.7186, allocations: 270.6 kB / 0.6114 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/0.719, allocations: 24 kB / 0.6114 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/0.7198, allocations: 43.81 kB / 0.6115 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.7199, allocations: 75.77 kB / 0.6115 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.72, allocations: 43.94 kB / 0.6116 GB, free: 4.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002354/0.7224, allocations: 1.284 MB / 0.6128 GB, free: 2.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7224, allocations: 0 / 0.6128 GB, free: 2.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003428/0.7258, allocations: 0.7466 MB / 0.6136 GB, free: 1.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.000361/0.7262, allocations: 146.9 kB / 0.6137 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2183/0.9445, allocations: 2.122 MB / 0.6158 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/0.9446, allocations: 1.531 kB / 0.6158 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.9455, allocations: 0.5247 MB / 0.6163 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.9469, allocations: 234.3 kB / 0.6165 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/0.9565, allocations: 4.478 MB / 0.6209 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/0.9592, allocations: 2.459 MB / 0.6233 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002865/0.9621, allocations: 1.009 MB / 0.6243 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.9625, allocations: 132.2 kB / 0.6244 GB, free: 109.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9625, allocations: 0 / 0.6244 GB, free: 109.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03354/0.9961, allocations: 14.69 MB / 0.6387 GB, free: 108.8 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)