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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.3224/0.3224, allocations: 38 MB / 307.8 MB, free: 10.01 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.001889/0.00189, allocations: 67.91 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 56.47 MB / 431.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01303/0.1748, allocations: 10.54 MB / 442.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007818/0.1827, allocations: 3.003 MB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.1846, allocations: 51.94 kB / 445.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.1885, allocations: 2.013 MB / 447.3 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.1923, allocations: 1.179 MB / 448.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.1933, allocations: 287.5 kB / 448.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.1972, allocations: 2.446 MB / 451.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.2003, allocations: 2.379 MB / 453.6 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3086/0.5088, allocations: 0.948 MB / 454.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.5117, allocations: 1.264 MB / 455.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.5124, allocations: 213 kB / 456 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.514, allocations: 0.7032 MB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.5151, allocations: 1.211 MB / 457.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.5165, allocations: 1.434 MB / 459.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.5207, allocations: 4.528 MB / 463.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5207, allocations: 0 / 463.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.5207, allocations: 0 / 463.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.5209, allocations: 0 / 463.9 MB, free: 36.23 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.006747/0.5276, allocations: 3.079 MB / 467 MB, free: 34.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5277, allocations: 13.48 kB / 467 MB, free: 34.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.533, allocations: 1.607 MB / 468.6 MB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.5361, allocations: 1.387 MB / 470 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5363, allocations: 157.8 kB / 470.1 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.5368, allocations: 201.2 kB / 470.3 MB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.5488, allocations: 6.784 MB / 477.1 MB, free: 31.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.5489, allocations: 10.31 kB / 477.1 MB, free: 31.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.5492, allocations: 96 kB / 477.2 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.5515, allocations: 1.479 MB / 478.7 MB, free: 30.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.564, allocations: 5.803 MB / 484.5 MB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.6011, allocations: 21.6 MB / 0.4942 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/0.6069, allocations: 2.256 MB / 0.4964 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.6086, allocations: 0.7768 MB / 0.4972 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008129/0.6168, allocations: 3.751 MB / 0.5009 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6168, allocations: 46.25 kB / 0.5009 GB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=93): time 5.129e-06/0.6169, allocations: 0 / 0.5009 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.005939/0.6228, allocations: 2.184 MB / 0.503 GB, free: 11.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.6229, allocations: 66.72 kB / 0.5031 GB, free: 11.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.6265, allocations: 2.031 MB / 0.5051 GB, free: 11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.6267, allocations: 37.42 kB / 0.5051 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.6279, allocations: 1.955 MB / 0.507 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.6283, allocations: 367.1 kB / 0.5074 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/0.6291, allocations: 0.6568 MB / 0.508 GB, free: 8.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6292, allocations: 360.9 kB / 0.5084 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.6306, allocations: 0.9612 MB / 0.5093 GB, free: 7.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.6331, allocations: 2.924 MB / 0.5122 GB, free: 4.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.6374, allocations: 4.243 MB / 0.5163 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.081e-05/0.6375, allocations: 24 kB / 0.5163 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006031/0.6435, allocations: 3.782 MB / 0.52 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.6436, allocations: 36 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-05/0.6437, allocations: 68 kB / 0.5201 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.6438, allocations: 95.66 kB / 0.5202 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.6459, allocations: 0.717 MB / 0.5209 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001137/0.646, allocations: 132.1 kB / 0.521 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.6483, allocations: 458.4 kB / 0.5215 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.6486, allocations: 200 kB / 0.5217 GB, free: 11.76 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002956/0.6516, allocations: 1.42 MB / 0.5231 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.652, allocations: 165.8 kB / 0.5232 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6542, allocations: 1.2 MB / 0.5244 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.975e-05/0.6542, allocations: 11.94 kB / 0.5244 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6542, allocations: 0 / 0.5244 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6543, allocations: 3.984 kB / 0.5244 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009193/0.6635, allocations: 4.975 MB / 0.5293 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.6635, allocations: 12.56 kB / 0.5293 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.6641, allocations: 131.9 kB / 0.5294 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.6641, allocations: 12 kB / 0.5294 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.6642, allocations: 32.8 kB / 0.5294 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.6642, allocations: 15.94 kB / 0.5295 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.6642, allocations: 15.94 kB / 0.5295 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.6665, allocations: 1.51 MB / 0.5309 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.667, allocations: 270.6 kB / 0.5312 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6672, allocations: 27.92 kB / 0.5312 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.6678, allocations: 31.98 kB / 0.5313 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6679, allocations: 79 kB / 0.5313 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.668, allocations: 39.98 kB / 0.5314 GB, free: 1.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002134/0.6702, allocations: 1.324 MB / 0.5327 GB, free: 132 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6702, allocations: 0 / 0.5327 GB, free: 132 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004149/0.6743, allocations: 0.7569 MB / 0.5334 GB, free: 15.37 MB / 414.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 (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.0005192/0.6749, allocations: 157.5 kB / 0.5336 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00444/0.6793, allocations: 2.458 MB / 0.536 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.6794, allocations: 4.25 kB / 0.536 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.6801, allocations: 0.5406 MB / 0.5365 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.6816, allocations: 251.4 kB / 0.5367 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.6938, allocations: 5.6 MB / 0.5422 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.6968, allocations: 2.409 MB / 0.5445 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003071/0.6999, allocations: 1.013 MB / 0.5455 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.7003, allocations: 135.4 kB / 0.5457 GB, free: 2.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7003, allocations: 3.938 kB / 0.5457 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Templates: time 0.03834/0.7387, allocations: 15.58 MB / 0.5609 GB, free: 3.168 MB / 430.1 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)