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.001398/0.001398, allocations: 108 kB / 15.61 MB, free: 152 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.0015/0.0015, allocations: 197 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3365/0.3365, allocations: 37.99 MB / 307.7 MB, free: 10.06 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.001593/0.001593, allocations: 72.12 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 56.47 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01923/0.1421, allocations: 17.02 MB / 448.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1536, allocations: 5.315 MB / 454.1 MB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.1569, allocations: 123.7 kB / 454.2 MB, free: 72 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2271/0.3841, allocations: 6.076 MB / 460.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.3914, allocations: 3.067 MB / 463.3 MB, free: 35.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.3944, allocations: 1.588 MB / 464.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.4046, allocations: 8.194 MB / 473.1 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008561/0.4132, allocations: 7.659 MB / 480.8 MB, free: 31.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006083/0.4194, allocations: 3.212 MB / 484 MB, free: 29.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00735/0.4267, allocations: 4.201 MB / 488.2 MB, free: 28.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003485/0.4303, allocations: 0.6404 MB / 488.8 MB, free: 28.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.4362, allocations: 1.458 MB / 490.3 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006882/0.4431, allocations: 3.838 MB / 494.1 MB, free: 26.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.4554, allocations: 4.283 MB / 498.4 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.4749, allocations: 12.66 MB / 0.4991 GB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4749, allocations: 4 kB / 0.4991 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4749, allocations: 0 / 0.4991 GB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006476/0.4756, allocations: 0 / 0.4991 GB, free: 17.34 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02361/0.4992, allocations: 9.239 MB / 0.5081 GB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4993, allocations: 14.17 kB / 0.5081 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.5101, allocations: 2.663 MB / 0.5107 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.5226, allocations: 4.957 MB / 0.5156 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.523, allocations: 467.9 kB / 0.516 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003029/0.526, allocations: 0.5943 MB / 0.5166 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.5677, allocations: 18.73 MB / 0.5349 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/0.5681, allocations: 71.34 kB / 0.5349 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/0.5701, allocations: 285.5 kB / 0.5352 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005745/0.5759, allocations: 3.453 MB / 0.5386 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/0.6135, allocations: 14.61 MB / 0.5528 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1134/0.727, allocations: 70.57 MB / 0.6218 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2546/0.9816, allocations: 6.125 MB / 0.6277 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/0.9859, allocations: 2.447 MB / 0.6301 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/1.007, allocations: 10.83 MB / 0.6407 GB, free: 135.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/1.007, allocations: 57.5 kB / 0.6408 GB, free: 135.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 7.644e-06/1.007, allocations: 0 / 0.6408 GB, free: 135.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.05391/1.061, allocations: 15.87 MB / 0.6563 GB, free: 128.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/1.061, allocations: 158.4 kB / 0.6564 GB, free: 128.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0186/1.08, allocations: 6.633 MB / 0.6629 GB, free: 126.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007726/1.081, allocations: 68.94 kB / 0.663 GB, free: 126.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004834/1.086, allocations: 5.535 MB / 0.6684 GB, free: 122.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.087, allocations: 1.012 MB / 0.6694 GB, free: 121.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003584/1.091, allocations: 1.837 MB / 0.6711 GB, free: 120.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/1.091, allocations: 302.3 kB / 0.6714 GB, free: 120.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/1.097, allocations: 2.656 MB / 0.674 GB, free: 119.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/1.107, allocations: 8.374 MB / 0.6822 GB, free: 110.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/1.123, allocations: 12 MB / 0.6939 GB, free: 100.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004245/1.123, allocations: 58.34 kB / 0.694 GB, free: 100.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02808/1.151, allocations: 10.72 MB / 0.7044 GB, free: 96.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005109/1.152, allocations: 91.5 kB / 0.7045 GB, free: 96.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007153/1.153, allocations: 200.1 kB / 0.7047 GB, free: 96.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.153, allocations: 275.9 kB / 0.705 GB, free: 96.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007975/1.161, allocations: 2.15 MB / 0.7071 GB, free: 94.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004793/1.162, allocations: 398.1 kB / 0.7075 GB, free: 94.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009277/1.171, allocations: 456.8 kB / 0.7079 GB, free: 93.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/1.173, allocations: 0.5507 MB / 0.7084 GB, free: 93.14 MB / 494.1 MB 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.008926/1.182, allocations: 3.626 MB / 0.712 GB, free: 89.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.184, allocations: 0.5669 MB / 0.7125 GB, free: 89.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.189, allocations: 2.791 MB / 0.7153 GB, free: 87.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/1.189, allocations: 31.94 kB / 0.7153 GB, free: 86.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.189, allocations: 0 / 0.7153 GB, free: 86.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.189, allocations: 22.84 kB / 0.7153 GB, free: 86.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.228, allocations: 26.55 MB / 0.7412 GB, free: 62.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-05/1.228, allocations: 56.12 kB / 0.7413 GB, free: 62.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.23, allocations: 0.5224 MB / 0.7418 GB, free: 61.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.29e-05/1.23, allocations: 71.94 kB / 0.7419 GB, free: 61.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.23, allocations: 124 kB / 0.742 GB, free: 61.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-05/1.23, allocations: 103.6 kB / 0.7421 GB, free: 61.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.225e-05/1.23, allocations: 83.62 kB / 0.7422 GB, free: 61.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/1.235, allocations: 5.237 MB / 0.7473 GB, free: 55.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.237, allocations: 0.6769 MB / 0.7479 GB, free: 54.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.238, allocations: 123.9 kB / 0.7481 GB, free: 54.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.241, allocations: 140.4 kB / 0.7482 GB, free: 54.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/1.242, allocations: 362.1 kB / 0.7485 GB, free: 53.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.242, allocations: 152 kB / 0.7487 GB, free: 53.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007296/1.249, allocations: 4.154 MB / 0.7527 GB, free: 49.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.249, allocations: 0 / 0.7527 GB, free: 49.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009797/1.259, allocations: 1.51 MB / 0.7542 GB, free: 48.04 MB / 494.1 MB 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.0008262/1.26, allocations: 304.2 kB / 0.7545 GB, free: 47.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009975/1.27, allocations: 6.349 MB / 0.7607 GB, free: 41.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-05/1.27, allocations: 12.06 kB / 0.7607 GB, free: 41.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.272, allocations: 1.495 MB / 0.7622 GB, free: 39.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008043/1.28, allocations: 0.9276 MB / 0.7631 GB, free: 39.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/1.315, allocations: 17.17 MB / 0.7799 GB, free: 21.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008892/1.324, allocations: 5.58 MB / 0.7853 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00737/1.331, allocations: 2.777 MB / 0.788 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.332, allocations: 407.4 kB / 0.7884 GB, free: 12.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/1.332, allocations: 0 / 0.7884 GB, free: 12.31 MB / 494.1 MB Notification: Performance of Templates: time 0.4014/1.733, allocations: 48.95 MB / 0.8362 GB, free: 126.9 MB / 0.4981 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)