Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007843/0.007844, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.242/1.242, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001652/0.001652, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.3536/0.3536, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 15.98 kB / 362.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 48.72 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.5099, allocations: 92.17 MB / 0.4919 GB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5102, allocations: 81.77 kB / 0.492 GB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6673/1.177, allocations: 166.1 MB / 0.6542 GB, free: 69.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.302e-06/1.178, allocations: 0 / 0.6542 GB, free: 69.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006517/1.178, allocations: 161.6 kB / 0.6543 GB, free: 69.7 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03349/1.212, allocations: 8.522 MB / 0.6627 GB, free: 66.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.212, allocations: 11.23 kB / 0.6627 GB, free: 66.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/1.232, allocations: 3.676 MB / 0.6663 GB, free: 65.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02569/1.258, allocations: 9.725 MB / 0.6758 GB, free: 62.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007589/1.259, allocations: 0.6232 MB / 0.6764 GB, free: 62.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005767/1.264, allocations: 0.832 MB / 0.6772 GB, free: 61.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05047/1.315, allocations: 19.66 MB / 0.6964 GB, free: 47.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004161/1.315, allocations: 91.22 kB / 0.6965 GB, free: 47.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002937/1.318, allocations: 398 kB / 0.6968 GB, free: 47.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/1.321, allocations: 1.864 MB / 0.6987 GB, free: 45.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03651/1.357, allocations: 15.53 MB / 0.7138 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4614/1.819, allocations: 81.53 MB / 0.7934 GB, free: 40.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.835, allocations: 5.989 MB / 0.7993 GB, free: 40.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/1.857, allocations: 11.33 MB / 0.8104 GB, free: 36.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/1.857, allocations: 62.03 kB / 0.8104 GB, free: 36.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 5.781e-06/1.857, allocations: 0 / 0.8104 GB, free: 36.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=274): time 0.053/1.91, allocations: 16.58 MB / 0.8266 GB, free: 31.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.91, allocations: 157.6 kB / 0.8268 GB, free: 31.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/1.924, allocations: 6.033 MB / 0.8326 GB, free: 31.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00069/1.925, allocations: 65.11 kB / 0.8327 GB, free: 31.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00429/1.929, allocations: 5.798 MB / 0.8384 GB, free: 27.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.931, allocations: 1.059 MB / 0.8394 GB, free: 27.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007578/1.931, allocations: 186.4 kB / 0.8396 GB, free: 27.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005121/1.932, allocations: 0.6837 MB / 0.8403 GB, free: 26.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004476/1.936, allocations: 2.682 MB / 0.8429 GB, free: 25.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007311/1.944, allocations: 8.449 MB / 0.8511 GB, free: 17.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008773/1.952, allocations: 4.609 MB / 0.8556 GB, free: 15.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002247/1.953, allocations: 59.22 kB / 0.8557 GB, free: 15.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02429/1.977, allocations: 10.84 MB / 0.8663 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.977, allocations: 94.66 kB / 0.8664 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003666/1.978, allocations: 206.6 kB / 0.8665 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/1.978, allocations: 298.8 kB / 0.8668 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008358/1.986, allocations: 2.253 MB / 0.869 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004354/1.987, allocations: 412 kB / 0.8694 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008734/1.996, allocations: 0.6151 MB / 0.87 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.997, allocations: 0.5559 MB / 0.8706 GB, free: 11.31 MB / 458.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 () * 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.008808/2.006, allocations: 3.74 MB / 0.8742 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/2.008, allocations: 0.5998 MB / 0.8748 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006444/2.015, allocations: 2.992 MB / 0.8777 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/2.015, allocations: 34.5 kB / 0.8778 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/2.015, allocations: 0 / 0.8778 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/2.015, allocations: 17.64 kB / 0.8778 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04446/2.059, allocations: 24.92 MB / 0.9021 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002573/2.059, allocations: 67.89 kB / 0.9022 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/2.062, allocations: 0.5936 MB / 0.9028 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/2.062, allocations: 88 kB / 0.9028 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007858/2.063, allocations: 134.9 kB / 0.903 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001367/2.063, allocations: 121.8 kB / 0.9031 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.07e-05/2.063, allocations: 104.8 kB / 0.9032 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2607/2.324, allocations: 16.91 MB / 0.9197 GB, free: 93.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/2.327, allocations: 0.7207 MB / 0.9204 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001977/2.329, allocations: 144.2 kB / 0.9205 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004269/2.334, allocations: 209.1 kB / 0.9207 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000682/2.334, allocations: 409.4 kB / 0.9211 GB, free: 93.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003052/2.335, allocations: 168.5 kB / 0.9213 GB, free: 93.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009819/2.344, allocations: 4.277 MB / 0.9255 GB, free: 93.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.344, allocations: 0 / 0.9255 GB, free: 93.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01212/2.357, allocations: 1.549 MB / 0.927 GB, free: 93.24 MB / 474.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 () * 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.001045/2.358, allocations: 319.3 kB / 0.9273 GB, free: 93.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01089/2.369, allocations: 6.247 MB / 0.9334 GB, free: 93.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.129e-05/2.369, allocations: 9.312 kB / 0.9334 GB, free: 93.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/2.371, allocations: 1.605 MB / 0.935 GB, free: 92.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/2.377, allocations: 0.9101 MB / 0.9358 GB, free: 92.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03974/2.417, allocations: 21.13 MB / 0.9565 GB, free: 82.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/2.431, allocations: 5.951 MB / 0.9623 GB, free: 81.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01107/2.442, allocations: 2.898 MB / 0.9651 GB, free: 81.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/2.444, allocations: 413.6 kB / 0.9655 GB, free: 81.45 MB / 474.7 MB Notification: Performance of SimCode: time 2.034e-06/2.444, allocations: 0 / 0.9655 GB, free: 81.45 MB / 474.7 MB Notification: Performance of Templates: time 0.1139/2.558, allocations: 47.78 MB / 1.012 GB, free: 73.19 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)