Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001125/0.001125, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.491/1.491, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001609/0.001609, allocations: 102.3 kB / 252.6 MB, free: 4.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2079/0.2079, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.791e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5577, allocations: 98.82 MB / 0.541 GB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.558, allocations: 75.95 kB / 0.541 GB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.773/1.331, allocations: 166.3 MB / 0.7034 GB, free: 84.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.331, allocations: 0 / 0.7034 GB, free: 84.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004703/1.332, allocations: 158.8 kB / 0.7036 GB, free: 84.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03099/1.363, allocations: 7.97 MB / 0.7113 GB, free: 81.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.363, allocations: 10.31 kB / 0.7114 GB, free: 81.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02095/1.384, allocations: 3.682 MB / 0.715 GB, free: 80.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02688/1.411, allocations: 9.684 MB / 0.7244 GB, free: 79.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008142/1.411, allocations: 0.6271 MB / 0.725 GB, free: 79.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005314/1.417, allocations: 0.8292 MB / 0.7258 GB, free: 79.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/1.47, allocations: 19.38 MB / 0.7448 GB, free: 74.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000636/1.471, allocations: 93.86 kB / 0.7448 GB, free: 74.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005816/1.477, allocations: 400.1 kB / 0.7452 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003644/1.481, allocations: 1.866 MB / 0.747 GB, free: 73.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/1.516, allocations: 15.03 MB / 0.7617 GB, free: 66.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/1.629, allocations: 81.54 MB / 0.8414 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/1.646, allocations: 5.929 MB / 0.8471 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3294/1.975, allocations: 2.477 MB / 0.8496 GB, free: 92.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/1.999, allocations: 11.33 MB / 0.8606 GB, free: 89.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/1.999, allocations: 61.39 kB / 0.8607 GB, free: 89.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 5.32e-06/1.999, allocations: 0 / 0.8607 GB, free: 89.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=274): time 0.04147/2.041, allocations: 14.98 MB / 0.8753 GB, free: 85.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/2.041, allocations: 159.7 kB / 0.8755 GB, free: 84.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/2.052, allocations: 5.843 MB / 0.8812 GB, free: 84.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006165/2.053, allocations: 65.36 kB / 0.8812 GB, free: 84.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004756/2.058, allocations: 5.804 MB / 0.8869 GB, free: 81.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/2.06, allocations: 1.061 MB / 0.8879 GB, free: 80.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008135/2.06, allocations: 182.2 kB / 0.8881 GB, free: 80.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004842/2.061, allocations: 0.6937 MB / 0.8888 GB, free: 80.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/2.065, allocations: 2.48 MB / 0.8912 GB, free: 80.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007309/2.072, allocations: 8.244 MB / 0.8993 GB, free: 72.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/2.08, allocations: 4.462 MB / 0.9036 GB, free: 72.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002636/2.08, allocations: 59.84 kB / 0.9037 GB, free: 72.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02245/2.102, allocations: 10.43 MB / 0.9139 GB, free: 70.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/2.103, allocations: 92.28 kB / 0.914 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006552/2.104, allocations: 208 kB / 0.9142 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/2.104, allocations: 300 kB / 0.9144 GB, free: 70.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008768/2.113, allocations: 2.249 MB / 0.9166 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/2.113, allocations: 399.5 kB / 0.917 GB, free: 70.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009555/2.123, allocations: 0.6244 MB / 0.9176 GB, free: 70.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/2.125, allocations: 0.5484 MB / 0.9182 GB, free: 70.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * 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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1168): * Single equations (assignments): 1165 * 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.003359/2.129, allocations: 0.8275 MB / 0.919 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/2.131, allocations: 0.5924 MB / 0.9196 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/2.137, allocations: 2.932 MB / 0.9224 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/2.137, allocations: 29.19 kB / 0.9224 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/2.137, allocations: 3.562 kB / 0.9224 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/2.137, allocations: 10.41 kB / 0.9225 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04201/2.179, allocations: 24.77 MB / 0.9466 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002364/2.18, allocations: 64.47 kB / 0.9467 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/2.182, allocations: 0.6026 MB / 0.9473 GB, free: 58.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/2.182, allocations: 88.94 kB / 0.9474 GB, free: 58.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005975/2.183, allocations: 136.4 kB / 0.9475 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.395e-05/2.183, allocations: 122.6 kB / 0.9476 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-05/2.183, allocations: 97.25 kB / 0.9477 GB, free: 58.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/2.196, allocations: 16.84 MB / 0.9642 GB, free: 39.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/2.199, allocations: 0.7232 MB / 0.9649 GB, free: 39.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.201, allocations: 148.2 kB / 0.965 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/2.204, allocations: 209 kB / 0.9652 GB, free: 38.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/2.205, allocations: 405 kB / 0.9656 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/2.205, allocations: 167.8 kB / 0.9658 GB, free: 38.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007778/2.213, allocations: 4.094 MB / 0.9698 GB, free: 34.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.654e-06/2.213, allocations: 0 / 0.9698 GB, free: 34.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01167/2.225, allocations: 1.554 MB / 0.9713 GB, free: 33.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.001271/2.226, allocations: 304.2 kB / 0.9716 GB, free: 33.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/2.237, allocations: 6.009 MB / 0.9774 GB, free: 27.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.317e-05/2.237, allocations: 8 kB / 0.9774 GB, free: 27.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/2.239, allocations: 1.592 MB / 0.979 GB, free: 26.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006023/2.245, allocations: 0.9148 MB / 0.9799 GB, free: 25.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02984/2.275, allocations: 14.82 MB / 0.9944 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009403/2.285, allocations: 5.955 MB / 1 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009082/2.294, allocations: 2.892 MB / 1.003 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.295, allocations: 418.8 kB / 1.003 GB, free: 4.465 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/2.295, allocations: 0 / 1.003 GB, free: 4.465 MB / 490.7 MB Notification: Performance of Templates: time 0.6591/2.954, allocations: 47.88 MB / 1.05 GB, free: 76.79 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)