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.009565/0.009564, allocations: 176 kB / 15.12 MB, free: 5.98 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.557/1.557, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001854/0.001854, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1946/0.1946, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 19.31 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 54.88 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.5143, allocations: 98.9 MB / 0.5468 GB, free: 21.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5146, allocations: 80.72 kB / 0.5469 GB, free: 21.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.394/0.9086, allocations: 166.1 MB / 0.7091 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.9087, allocations: 0 / 0.7091 GB, free: 12.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004187/0.9091, allocations: 156 kB / 0.7092 GB, free: 12.06 MB / 490.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.02825/0.9374, allocations: 8.524 MB / 0.7175 GB, free: 3.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.9375, allocations: 12.03 kB / 0.7176 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3256/1.263, allocations: 3.668 MB / 0.7211 GB, free: 73.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/1.291, allocations: 9.718 MB / 0.7306 GB, free: 73.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008803/1.292, allocations: 0.63 MB / 0.7312 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004985/1.297, allocations: 0.8295 MB / 0.7321 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04979/1.347, allocations: 19.66 MB / 0.7512 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004463/1.347, allocations: 91.69 kB / 0.7513 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002608/1.35, allocations: 398.8 kB / 0.7517 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/1.352, allocations: 1.869 MB / 0.7535 GB, free: 69.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03581/1.388, allocations: 15.52 MB / 0.7687 GB, free: 69.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/1.498, allocations: 81.54 MB / 0.8483 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/1.514, allocations: 5.993 MB / 0.8542 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.536, allocations: 11.32 MB / 0.8652 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/1.536, allocations: 65.17 kB / 0.8653 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 6.783e-06/1.536, allocations: 0.8438 kB / 0.8653 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274): time 0.04414/1.58, allocations: 16.59 MB / 0.8815 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/1.58, allocations: 158.5 kB / 0.8817 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.592, allocations: 6.023 MB / 0.8875 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006201/1.592, allocations: 65.7 kB / 0.8876 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006477/1.599, allocations: 5.799 MB / 0.8933 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002354/1.601, allocations: 1.06 MB / 0.8943 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/1.603, allocations: 184 kB / 0.8945 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009631/1.604, allocations: 0.6855 MB / 0.8951 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008279/1.612, allocations: 2.889 MB / 0.898 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/1.623, allocations: 8.454 MB / 0.9062 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009075/1.632, allocations: 4.607 MB / 0.9107 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002106/1.633, allocations: 56 kB / 0.9108 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.3318/1.964, allocations: 10.82 MB / 0.9213 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/1.965, allocations: 97.62 kB / 0.9214 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004718/1.965, allocations: 206.3 kB / 0.9216 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/1.966, allocations: 301.3 kB / 0.9219 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/1.976, allocations: 2.246 MB / 0.9241 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004979/1.976, allocations: 406.6 kB / 0.9245 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/1.986, allocations: 0.6266 MB / 0.9251 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002785/1.989, allocations: 0.5527 MB / 0.9256 GB, free: 91.42 MB / 0.5105 GB 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 () * Number of clocked 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.0103/1.999, allocations: 3.742 MB / 0.9293 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/2.001, allocations: 0.5867 MB / 0.9299 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/2.007, allocations: 3.003 MB / 0.9328 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/2.007, allocations: 26.25 kB / 0.9328 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/2.007, allocations: 7 kB / 0.9328 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/2.007, allocations: 14.25 kB / 0.9328 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03943/2.046, allocations: 24.82 MB / 0.9571 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-05/2.047, allocations: 64.44 kB / 0.9571 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/2.049, allocations: 0.5949 MB / 0.9577 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.865e-05/2.049, allocations: 92.41 kB / 0.9578 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/2.049, allocations: 133.5 kB / 0.9579 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.608e-05/2.049, allocations: 119.8 kB / 0.9581 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.096e-05/2.049, allocations: 99.94 kB / 0.9582 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/2.059, allocations: 16.91 MB / 0.9747 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/2.062, allocations: 0.7281 MB / 0.9754 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.064, allocations: 138.6 kB / 0.9755 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/2.067, allocations: 210.2 kB / 0.9757 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005552/2.068, allocations: 413 kB / 0.9761 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/2.068, allocations: 168.8 kB / 0.9763 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009604/2.078, allocations: 4.27 MB / 0.9804 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/2.078, allocations: 0 / 0.9804 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01081/2.089, allocations: 1.553 MB / 0.982 GB, free: 71.62 MB / 0.5105 GB 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 () * Number of clocked 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.001008/2.09, allocations: 318 kB / 0.9823 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01104/2.101, allocations: 6.247 MB / 0.9884 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.737e-05/2.101, allocations: 14.34 kB / 0.9884 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/2.103, allocations: 1.603 MB / 0.9899 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005803/2.109, allocations: 0.906 MB / 0.9908 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/2.147, allocations: 21.14 MB / 1.011 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/2.164, allocations: 5.96 MB / 1.017 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01653/2.18, allocations: 2.898 MB / 1.02 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/2.183, allocations: 412.4 kB / 1.021 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/2.183, allocations: 0 / 1.021 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.1232/2.306, allocations: 47.78 MB / 1.067 GB, free: 33.56 MB / 0.5105 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)