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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007843/0.000784, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009056/0.0009057, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3659/0.3659, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0005471/0.0005473, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2642/0.3885, allocations: 34.83 MB / 468.8 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.4053, allocations: 7.273 MB / 476.1 MB, free: 31.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.4125, allocations: 152.9 kB / 476.2 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004129/0.4167, allocations: 1.513 MB / 477.7 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.4273, allocations: 4.437 MB / 482.2 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4289, allocations: 246.3 kB / 482.4 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.4326, allocations: 2.774 MB / 485.2 MB, free: 28.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003573/0.4362, allocations: 3.015 MB / 488.2 MB, free: 27.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4372, allocations: 0.7315 MB / 488.9 MB, free: 26.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4383, allocations: 1.115 MB / 490 MB, free: 26.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4386, allocations: 95.69 kB / 490.1 MB, free: 26.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.4396, allocations: 0.5328 MB / 490.7 MB, free: 26.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008369/0.4405, allocations: 1.05 MB / 491.7 MB, free: 26.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.441, allocations: 0.55 MB / 492.3 MB, free: 25.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.4461, allocations: 3.613 MB / 495.9 MB, free: 25.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4462, allocations: 0 / 495.9 MB, free: 25.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4462, allocations: 0 / 495.9 MB, free: 25.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.4464, allocations: 0 / 495.9 MB, free: 25.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005339/0.4517, allocations: 2.567 MB / 498.4 MB, free: 23.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4518, allocations: 9.031 kB / 498.4 MB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.4574, allocations: 1.651 MB / 0.4884 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.461, allocations: 1.362 MB / 0.4897 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.4611, allocations: 156.6 kB / 0.4899 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.4616, allocations: 202.5 kB / 0.4901 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.4723, allocations: 6.768 MB / 0.4967 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.4724, allocations: 13.88 kB / 0.4967 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.4727, allocations: 92.73 kB / 0.4968 GB, free: 19.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.475, allocations: 1.485 MB / 0.4982 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4863, allocations: 5.777 MB / 0.5039 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.5156, allocations: 21.59 MB / 0.5249 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.5201, allocations: 2.242 MB / 0.5271 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5213, allocations: 0.7855 MB / 0.5279 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.5276, allocations: 3.739 MB / 0.5316 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5277, allocations: 39.12 kB / 0.5316 GB, free: 7.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.307e-06/0.5277, allocations: 0 / 0.5316 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005314/0.533, allocations: 2.197 MB / 0.5337 GB, free: 4.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.5331, allocations: 55.97 kB / 0.5338 GB, free: 4.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.536, allocations: 2.012 MB / 0.5358 GB, free: 2.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.5361, allocations: 37.7 kB / 0.5358 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.5374, allocations: 1.957 MB / 0.5377 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.5378, allocations: 367.3 kB / 0.538 GB, free: 496 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5379, allocations: 64 kB / 0.5381 GB, free: 432 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003213/0.5382, allocations: 0.4939 MB / 0.5386 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5396, allocations: 0.951 MB / 0.5395 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.5422, allocations: 2.91 MB / 0.5424 GB, free: 11.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.5443, allocations: 1.665 MB / 0.544 GB, free: 9.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.5443, allocations: 20 kB / 0.544 GB, free: 9.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005632/0.55, allocations: 3.754 MB / 0.5477 GB, free: 5.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.55, allocations: 39.98 kB / 0.5477 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.5501, allocations: 72.12 kB / 0.5478 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-05/0.5502, allocations: 100 kB / 0.5479 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.5521, allocations: 0.7213 MB / 0.5486 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.259e-05/0.5522, allocations: 135.4 kB / 0.5487 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5541, allocations: 451.2 kB / 0.5491 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.5544, allocations: 200 kB / 0.5493 GB, free: 3.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.002571/0.5569, allocations: 1.423 MB / 0.5507 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5572, allocations: 169.7 kB / 0.5509 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.5591, allocations: 1.185 MB / 0.552 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5592, allocations: 15.98 kB / 0.5521 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5592, allocations: 3.953 kB / 0.5521 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5592, allocations: 7.922 kB / 0.5521 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007619/0.5668, allocations: 4.978 MB / 0.5569 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5669, allocations: 8 kB / 0.5569 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.5674, allocations: 131.8 kB / 0.5571 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.5674, allocations: 15.94 kB / 0.5571 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.5675, allocations: 27.98 kB / 0.5571 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/0.5675, allocations: 19.92 kB / 0.5571 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.5675, allocations: 12.44 kB / 0.5571 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5694, allocations: 1.501 MB / 0.5586 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.5699, allocations: 278.4 kB / 0.5589 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.57, allocations: 27.98 kB / 0.5589 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.5705, allocations: 31.98 kB / 0.5589 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.5706, allocations: 71.72 kB / 0.559 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.5707, allocations: 47.98 kB / 0.559 GB, free: 9.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.5725, allocations: 1.312 MB / 0.5603 GB, free: 8.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5725, allocations: 0 / 0.5603 GB, free: 8.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002813/0.5753, allocations: 0.7543 MB / 0.5611 GB, free: 7.52 MB / 430.1 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 () * Number of clocked 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.0003198/0.5756, allocations: 154.7 kB / 0.5612 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.5792, allocations: 2.208 MB / 0.5634 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5793, allocations: 4 kB / 0.5634 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.58, allocations: 0.5377 MB / 0.5639 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5812, allocations: 232.7 kB / 0.5641 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/0.5912, allocations: 6.73 MB / 0.5707 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/0.5938, allocations: 2.413 MB / 0.573 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002644/0.5965, allocations: 1.012 MB / 0.574 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.5968, allocations: 131.4 kB / 0.5742 GB, free: 9.941 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5968, allocations: 3.938 kB / 0.5742 GB, free: 9.938 MB / 446.1 MB Notification: Performance of Templates: time 0.02831/0.6251, allocations: 14.69 MB / 0.5885 GB, free: 11.27 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: