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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002622/0.002622, allocations: 194.5 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4086/0.4086, allocations: 37.98 MB / 307.3 MB, free: 10.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 68.12 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1784, allocations: 56.47 MB / 431 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4472/0.6256, allocations: 101.9 MB / 0.5204 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07372/0.6994, allocations: 19.26 MB / 0.5393 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03812/0.7376, allocations: 450.5 kB / 0.5397 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.7528, allocations: 6.111 MB / 0.5457 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.7656, allocations: 3.003 MB / 0.5486 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.7718, allocations: 1.499 MB / 0.55 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.7928, allocations: 12.2 MB / 0.562 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01811/0.811, allocations: 7.699 MB / 0.5695 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00957/0.8206, allocations: 2.971 MB / 0.5724 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.8308, allocations: 4.627 MB / 0.5769 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003596/0.8345, allocations: 0.4922 MB / 0.5774 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006905/0.8414, allocations: 1.4 MB / 0.5787 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008572/0.85, allocations: 3.845 MB / 0.5825 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.8613, allocations: 4.298 MB / 0.5867 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.8849, allocations: 12.97 MB / 0.5994 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.8849, allocations: 0 / 0.5994 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.885, allocations: 4 kB / 0.5994 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006607/0.8856, allocations: 0 / 0.5994 GB, free: 0.5195 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03114/0.9168, allocations: 9.528 MB / 0.6087 GB, free: 6.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/0.9169, allocations: 8.031 kB / 0.6087 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.9302, allocations: 2.715 MB / 0.6113 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.9416, allocations: 5.036 MB / 0.6163 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007903/0.9424, allocations: 484.3 kB / 0.6167 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/0.9456, allocations: 0.6167 MB / 0.6173 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7552/1.701, allocations: 19.48 MB / 0.6363 GB, free: 58.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004511/1.701, allocations: 81.06 kB / 0.6364 GB, free: 58.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002434/1.704, allocations: 295.2 kB / 0.6367 GB, free: 58.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006193/1.71, allocations: 3.639 MB / 0.6403 GB, free: 58.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04292/1.753, allocations: 15.17 MB / 0.6551 GB, free: 58.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.106/1.859, allocations: 73.14 MB / 0.7265 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/1.875, allocations: 6.096 MB / 0.7324 GB, free: 12.12 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/1.88, allocations: 2.551 MB / 0.7349 GB, free: 9.566 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02195/1.902, allocations: 11.17 MB / 0.7458 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.902, allocations: 64.8 kB / 0.7459 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=250): time 5.13e-06/1.902, allocations: 0 / 0.7459 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of matching and sorting (n=274): time 0.04365/1.946, allocations: 16.34 MB / 0.7619 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/1.946, allocations: 157.7 kB / 0.762 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.957, allocations: 6.773 MB / 0.7686 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000654/1.957, allocations: 69.7 kB / 0.7687 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004647/1.962, allocations: 5.734 MB / 0.7743 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.964, allocations: 1.056 MB / 0.7753 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/1.966, allocations: 1.891 MB / 0.7772 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.967, allocations: 301.1 kB / 0.7775 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.971, allocations: 2.775 MB / 0.7802 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.981, allocations: 8.663 MB / 0.7886 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/2.001, allocations: 12.43 MB / 0.8008 GB, free: 0.9961 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004647/2.002, allocations: 63.98 kB / 0.8008 GB, free: 0.9336 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02927/2.031, allocations: 11.12 MB / 0.8117 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/2.031, allocations: 92 kB / 0.8118 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004884/2.032, allocations: 213.5 kB / 0.812 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/2.032, allocations: 280 kB / 0.8122 GB, free: 6.484 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00841/2.041, allocations: 2.206 MB / 0.8144 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004079/2.041, allocations: 410.3 kB / 0.8148 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008709/2.05, allocations: 467.5 kB / 0.8152 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/2.052, allocations: 0.573 MB / 0.8158 GB, free: 3.133 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009761/2.061, allocations: 3.761 MB / 0.8195 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/2.063, allocations: 0.5861 MB / 0.82 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00756/2.071, allocations: 2.987 MB / 0.823 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/2.071, allocations: 28 kB / 0.823 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/2.071, allocations: 0 / 0.823 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/2.071, allocations: 15.95 kB / 0.823 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05065/2.122, allocations: 25.14 MB / 0.8476 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003065/2.122, allocations: 64 kB / 0.8476 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/2.125, allocations: 0.6088 MB / 0.8482 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/2.125, allocations: 84 kB / 0.8483 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005946/2.125, allocations: 143.2 kB / 0.8484 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000135/2.125, allocations: 126.9 kB / 0.8485 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/2.126, allocations: 101.4 kB / 0.8486 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3277/2.453, allocations: 5.883 MB / 0.8544 GB, free: 240.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/2.455, allocations: 0.7106 MB / 0.8551 GB, free: 240.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007299/2.456, allocations: 147.5 kB / 0.8552 GB, free: 240.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.458, allocations: 155 kB / 0.8554 GB, free: 240.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/2.459, allocations: 425 kB / 0.8558 GB, free: 240.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/2.459, allocations: 185.8 kB / 0.856 GB, free: 240.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006282/2.465, allocations: 4.229 MB / 0.8601 GB, free: 239.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.02e-07/2.465, allocations: 0 / 0.8601 GB, free: 239.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01003/2.475, allocations: 1.562 MB / 0.8616 GB, free: 239.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/2.476, allocations: 334 kB / 0.8619 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0106/2.487, allocations: 6.443 MB / 0.8682 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.406e-05/2.487, allocations: 6.688 kB / 0.8682 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002942/2.49, allocations: 1.648 MB / 0.8698 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009044/2.499, allocations: 0.9439 MB / 0.8708 GB, free: 236.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/2.534, allocations: 22.23 MB / 0.8925 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/2.545, allocations: 5.796 MB / 0.8981 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009341/2.554, allocations: 2.885 MB / 0.9009 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/2.556, allocations: 422.4 kB / 0.9013 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of SimCode: time 2.675e-06/2.556, allocations: 0 / 0.9013 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.0988/2.655, allocations: 49.36 MB / 0.9496 GB, free: 193.8 MB / 0.6075 GB 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)