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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.001529/0.001529, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.002017/0.002017, allocations: 103.5 kB / 218 MB, free: 8.402 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.1865/0.1865, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.797e-05, allocations: 2.938 kB / 350 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09519, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.5816, allocations: 91.3 MB / 490 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5818, allocations: 72.69 kB / 490.1 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6676/1.249, allocations: 155.4 MB / 0.6303 GB, free: 59.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.25, allocations: 0 / 0.6303 GB, free: 59.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004664/1.25, allocations: 159.9 kB / 0.6305 GB, free: 59.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02768/1.278, allocations: 7.732 MB / 0.6381 GB, free: 56.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.278, allocations: 13.41 kB / 0.6381 GB, free: 56.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/1.299, allocations: 3.628 MB / 0.6416 GB, free: 55.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.323, allocations: 9.543 MB / 0.6509 GB, free: 54.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/1.324, allocations: 261.7 kB / 0.6512 GB, free: 54.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004732/1.329, allocations: 475.6 kB / 0.6516 GB, free: 54.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02382/1.353, allocations: 11.16 MB / 0.6625 GB, free: 54.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04191/1.395, allocations: 16.3 MB / 0.6785 GB, free: 50.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004892/1.395, allocations: 96.94 kB / 0.6785 GB, free: 50.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003921/1.399, allocations: 48.09 kB / 0.6786 GB, free: 50.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/1.402, allocations: 1.784 MB / 0.6803 GB, free: 50.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/1.512, allocations: 79.68 MB / 0.7581 GB, free: 28.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/1.516, allocations: 2.981 MB / 0.7611 GB, free: 27.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/1.518, allocations: 1.409 MB / 0.7624 GB, free: 26.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/1.519, allocations: 45.31 kB / 0.7625 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.519, allocations: 66.5 kB / 0.7625 GB, free: 26.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=232): time 5.4e-06/1.519, allocations: 0 / 0.7625 GB, free: 26.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=244): time 0.02866/1.547, allocations: 11.43 MB / 0.7737 GB, free: 15.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.547, allocations: 162.4 kB / 0.7739 GB, free: 15.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008861/1.556, allocations: 5.018 MB / 0.7788 GB, free: 11.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000787/1.557, allocations: 29.7 kB / 0.7788 GB, free: 11.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006283/1.564, allocations: 5.679 MB / 0.7843 GB, free: 6.172 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/1.566, allocations: 0.9305 MB / 0.7852 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.567, allocations: 0 / 0.7852 GB, free: 5.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008354/1.568, allocations: 0.6869 MB / 0.7859 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/1.572, allocations: 2.245 MB / 0.7881 GB, free: 2.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.349/1.921, allocations: 8.005 MB / 0.7959 GB, free: 77.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/1.93, allocations: 4.178 MB / 0.8 GB, free: 77.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000291/1.93, allocations: 59.16 kB / 0.8001 GB, free: 77.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02582/1.956, allocations: 8.974 MB / 0.8088 GB, free: 76.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/1.956, allocations: 97.58 kB / 0.8089 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003601/1.957, allocations: 208 kB / 0.8091 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/1.957, allocations: 307.1 kB / 0.8094 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008592/1.966, allocations: 2.227 MB / 0.8116 GB, free: 76.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003343/1.966, allocations: 409.1 kB / 0.812 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00882/1.975, allocations: 454.3 kB / 0.8124 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/1.977, allocations: 0.5556 MB / 0.813 GB, free: 76.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1158): * Single equations (assignments): 1155 * 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.002284/1.979, allocations: 0.6126 MB / 0.8136 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.981, allocations: 0.5272 MB / 0.8141 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/1.985, allocations: 2.402 MB / 0.8164 GB, free: 76.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.534e-05/1.985, allocations: 25.69 kB / 0.8164 GB, free: 76.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/1.985, allocations: 3.781 kB / 0.8164 GB, free: 76.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/1.985, allocations: 19.8 kB / 0.8165 GB, free: 76.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/2.021, allocations: 23 MB / 0.8389 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.243e-05/2.021, allocations: 52.58 kB / 0.839 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/2.023, allocations: 496.4 kB / 0.8394 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-05/2.023, allocations: 70.31 kB / 0.8395 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/2.023, allocations: 68.61 kB / 0.8396 GB, free: 73.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.786e-05/2.023, allocations: 90.97 kB / 0.8397 GB, free: 73.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.44e-05/2.023, allocations: 80.28 kB / 0.8397 GB, free: 73.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/2.032, allocations: 12.58 MB / 0.852 GB, free: 61.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/2.034, allocations: 0.6182 MB / 0.8526 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007968/2.034, allocations: 71.97 kB / 0.8527 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/2.037, allocations: 156.4 kB / 0.8528 GB, free: 61.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/2.037, allocations: 324.7 kB / 0.8532 GB, free: 61.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/2.037, allocations: 137.5 kB / 0.8533 GB, free: 61.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007192/2.045, allocations: 3.381 MB / 0.8566 GB, free: 61.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.045, allocations: 3.469 kB / 0.8566 GB, free: 61.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01159/2.056, allocations: 1.27 MB / 0.8578 GB, free: 61.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.0008612/2.057, allocations: 219 kB / 0.858 GB, free: 61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00958/2.067, allocations: 5.285 MB / 0.8632 GB, free: 60.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.085e-05/2.067, allocations: 11.94 kB / 0.8632 GB, free: 60.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/2.069, allocations: 1.293 MB / 0.8645 GB, free: 60.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/2.074, allocations: 0.7017 MB / 0.8652 GB, free: 60.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/2.105, allocations: 13.54 MB / 0.8784 GB, free: 55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008992/2.114, allocations: 5.704 MB / 0.8839 GB, free: 53.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008191/2.122, allocations: 2.83 MB / 0.8867 GB, free: 52.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/2.123, allocations: 373.5 kB / 0.8871 GB, free: 52.93 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/2.123, allocations: 0 / 0.8871 GB, free: 52.93 MB / 458.7 MB Notification: Performance of Templates: time 0.08574/2.209, allocations: 38.4 MB / 0.9246 GB, free: 33.36 MB / 458.7 MB 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)