Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001044/0.001044, allocations: 170.4 kB / 12.72 MB, free: 2.594 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.218/1.218, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001595/0.001595, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1688/0.1688, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.879e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08593, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4404, allocations: 89.34 MB / 495 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4407, allocations: 74.81 kB / 495.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.5669, allocations: 56.91 MB / 0.5391 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5669, allocations: 0 / 0.5391 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.19e-05/0.567, allocations: 52 kB / 0.5391 GB, free: 472 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.005519/0.5725, allocations: 2.669 MB / 0.5417 GB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.944e-05/0.5727, allocations: 12.03 kB / 0.5418 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007691/0.5804, allocations: 1.837 MB / 0.5435 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.5842, allocations: 1.743 MB / 0.5452 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.5843, allocations: 223.4 kB / 0.5455 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006845/0.585, allocations: 292.1 kB / 0.5457 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.5978, allocations: 6.75 MB / 0.5523 GB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.598, allocations: 15.88 kB / 0.5523 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.5984, allocations: 135.9 kB / 0.5525 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009134/0.5993, allocations: 0.6962 MB / 0.5532 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.6103, allocations: 5.857 MB / 0.5589 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.6411, allocations: 23.82 MB / 0.5821 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.6452, allocations: 2.167 MB / 0.5843 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.6463, allocations: 0.7931 MB / 0.585 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.6533, allocations: 4.019 MB / 0.589 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6533, allocations: 39.34 kB / 0.589 GB, free: 12.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.918e-06/0.6534, allocations: 0 / 0.589 GB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.004937/0.6583, allocations: 1.762 MB / 0.5907 GB, free: 11.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.6584, allocations: 60.19 kB / 0.5908 GB, free: 11.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.6609, allocations: 1.78 MB / 0.5925 GB, free: 9.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.661, allocations: 37.7 kB / 0.5925 GB, free: 9.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.6621, allocations: 1.995 MB / 0.5945 GB, free: 7.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.6624, allocations: 375.1 kB / 0.5949 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6625, allocations: 71.92 kB / 0.5949 GB, free: 6.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002881/0.6628, allocations: 0.4899 MB / 0.5954 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.6641, allocations: 0.9278 MB / 0.5963 GB, free: 5.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.6666, allocations: 2.877 MB / 0.5991 GB, free: 1.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.6687, allocations: 1.657 MB / 0.6007 GB, free: 15.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/0.6687, allocations: 20 kB / 0.6008 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.005155/0.6739, allocations: 3.703 MB / 0.6044 GB, free: 12.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.674, allocations: 39.98 kB / 0.6044 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-05/0.674, allocations: 72 kB / 0.6045 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.161e-05/0.6741, allocations: 104.1 kB / 0.6046 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.6763, allocations: 0.7174 MB / 0.6053 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/0.6764, allocations: 143.4 kB / 0.6054 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.6793, allocations: 439.4 kB / 0.6058 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.6797, allocations: 203.9 kB / 0.606 GB, free: 10.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 392 * 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.0005356/0.6802, allocations: 349.7 kB / 0.6064 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.6807, allocations: 173.8 kB / 0.6065 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.6827, allocations: 1.214 MB / 0.6077 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.6827, allocations: 12 kB / 0.6077 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6827, allocations: 7.938 kB / 0.6077 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6827, allocations: 7.938 kB / 0.6077 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.6905, allocations: 5.013 MB / 0.6126 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6905, allocations: 12 kB / 0.6126 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.6911, allocations: 139.7 kB / 0.6128 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.6911, allocations: 16 kB / 0.6128 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.6912, allocations: 24 kB / 0.6128 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.6912, allocations: 19.92 kB / 0.6128 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.6912, allocations: 15.94 kB / 0.6128 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.6936, allocations: 2.3 MB / 0.6151 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.6942, allocations: 278.4 kB / 0.6154 GB, free: 92 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6944, allocations: 24 kB / 0.6154 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.695, allocations: 47.81 kB / 0.6154 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2358/0.9308, allocations: 86.56 kB / 0.6155 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.9309, allocations: 40.3 kB / 0.6155 GB, free: 110.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002196/0.9331, allocations: 1.295 MB / 0.6168 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9332, allocations: 0 / 0.6168 GB, free: 110.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00331/0.9365, allocations: 0.7573 MB / 0.6176 GB, free: 110.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.0003732/0.9369, allocations: 152.9 kB / 0.6177 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003296/0.9402, allocations: 2.192 MB / 0.6198 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.9402, allocations: 5.375 kB / 0.6198 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.941, allocations: 0.5519 MB / 0.6204 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.9424, allocations: 237.3 kB / 0.6206 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/0.9518, allocations: 4.651 MB / 0.6252 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/0.9544, allocations: 2.51 MB / 0.6276 GB, free: 108 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002953/0.9574, allocations: 1.036 MB / 0.6286 GB, free: 108 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.9579, allocations: 135.7 kB / 0.6287 GB, free: 108 MB / 426.7 MB Notification: Performance of SimCode: time 1.492e-06/0.9579, allocations: 0 / 0.6287 GB, free: 108 MB / 426.7 MB Notification: Performance of Templates: time 0.02881/0.9867, allocations: 15.03 MB / 0.6434 GB, free: 107.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)