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.001292/0.001291, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00161/0.00161, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.673/1.673, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3508/0.3508, allocations: 37.97 MB / 307.4 MB, free: 10.09 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.00152/0.00152, allocations: 66.78 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3567/0.4906, allocations: 101.9 MB / 0.5206 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05819/0.5489, allocations: 19.15 MB / 0.5393 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03157/0.5806, allocations: 448.2 kB / 0.5398 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.5935, allocations: 5.895 MB / 0.5455 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.6062, allocations: 2.966 MB / 0.5484 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.611, allocations: 1.5 MB / 0.5499 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01632/0.6273, allocations: 8.428 MB / 0.5581 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/0.6396, allocations: 8.125 MB / 0.566 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00777/0.6475, allocations: 3.368 MB / 0.5693 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009077/0.6566, allocations: 4.787 MB / 0.574 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004431/0.6611, allocations: 0.6641 MB / 0.5747 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.6676, allocations: 1.498 MB / 0.5761 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009965/0.6776, allocations: 4.025 MB / 0.58 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.6891, allocations: 4.486 MB / 0.5844 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.7107, allocations: 13.22 MB / 0.5973 GB, free: 2.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.7108, allocations: 7.938 kB / 0.5974 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7108, allocations: 0 / 0.5974 GB, free: 2.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006449/0.7114, allocations: 0 / 0.5974 GB, free: 2.672 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.02778/0.7392, allocations: 9.524 MB / 0.6067 GB, free: 9.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.7393, allocations: 15.89 kB / 0.6067 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.7522, allocations: 2.715 MB / 0.6093 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.7641, allocations: 5.036 MB / 0.6142 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/0.7648, allocations: 484.3 kB / 0.6147 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003001/0.7678, allocations: 0.6129 MB / 0.6153 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4498/1.218, allocations: 19.5 MB / 0.6343 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003392/1.218, allocations: 74.62 kB / 0.6344 GB, free: 141.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001702/1.22, allocations: 296.3 kB / 0.6347 GB, free: 141.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005322/1.225, allocations: 3.638 MB / 0.6382 GB, free: 140.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03145/1.256, allocations: 15.18 MB / 0.6531 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/1.36, allocations: 73.12 MB / 0.7245 GB, free: 84.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/1.375, allocations: 6.102 MB / 0.7304 GB, free: 80.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/1.378, allocations: 2.542 MB / 0.7329 GB, free: 77.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/1.395, allocations: 11.16 MB / 0.7438 GB, free: 65.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.395, allocations: 60.5 kB / 0.7439 GB, free: 65.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.201e-06/1.395, allocations: 4 kB / 0.7439 GB, free: 65.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.03807/1.433, allocations: 16.33 MB / 0.7598 GB, free: 49.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.433, allocations: 154.5 kB / 0.76 GB, free: 49.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.441, allocations: 6.775 MB / 0.7666 GB, free: 42.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005574/1.442, allocations: 69.69 kB / 0.7667 GB, free: 42.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002484/1.444, allocations: 5.727 MB / 0.7723 GB, free: 36.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.445, allocations: 1.062 MB / 0.7733 GB, free: 35.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/1.447, allocations: 1.892 MB / 0.7751 GB, free: 33.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/1.447, allocations: 301.1 kB / 0.7754 GB, free: 33.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/1.451, allocations: 2.775 MB / 0.7781 GB, free: 30.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005727/1.457, allocations: 8.666 MB / 0.7866 GB, free: 19.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.468, allocations: 12.44 MB / 0.7987 GB, free: 3.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.469, allocations: 64 kB / 0.7988 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02493/1.494, allocations: 11.11 MB / 0.8097 GB, free: 8.48 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003416/1.494, allocations: 96.97 kB / 0.8098 GB, free: 8.387 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004499/1.494, allocations: 211.9 kB / 0.81 GB, free: 8.18 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/1.495, allocations: 276 kB / 0.8102 GB, free: 7.91 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00805/1.503, allocations: 2.207 MB / 0.8124 GB, free: 5.699 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/1.504, allocations: 414.4 kB / 0.8128 GB, free: 5.293 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008084/1.512, allocations: 467.3 kB / 0.8132 GB, free: 4.84 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/1.514, allocations: 0.5781 MB / 0.8138 GB, free: 4.262 MB / 0.4982 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.008609/1.522, allocations: 3.764 MB / 0.8175 GB, free: 492 kB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2444/1.767, allocations: 0.5768 MB / 0.818 GB, free: 145.5 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/1.773, allocations: 2.98 MB / 0.8209 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/1.773, allocations: 36.36 kB / 0.821 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.773, allocations: 5.656 kB / 0.821 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.773, allocations: 11.81 kB / 0.821 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/1.807, allocations: 25.13 MB / 0.8455 GB, free: 136.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/1.807, allocations: 63.34 kB / 0.8456 GB, free: 136.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.81, allocations: 0.6151 MB / 0.8462 GB, free: 136.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.267e-05/1.81, allocations: 82.84 kB / 0.8463 GB, free: 136.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/1.81, allocations: 137.2 kB / 0.8464 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.982e-05/1.81, allocations: 121.1 kB / 0.8465 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.045e-05/1.81, allocations: 104.3 kB / 0.8466 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006664/1.817, allocations: 5.89 MB / 0.8524 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.819, allocations: 0.7138 MB / 0.8531 GB, free: 131.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009494/1.82, allocations: 147.7 kB / 0.8532 GB, free: 131.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.823, allocations: 146.4 kB / 0.8533 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/1.823, allocations: 422.2 kB / 0.8537 GB, free: 131.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003296/1.824, allocations: 176.3 kB / 0.8539 GB, free: 131.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01099/1.834, allocations: 4.242 MB / 0.858 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.72e-07/1.835, allocations: 0 / 0.858 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01128/1.846, allocations: 1.563 MB / 0.8596 GB, free: 129.9 MB / 0.4982 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.001181/1.847, allocations: 329.5 kB / 0.8599 GB, free: 129.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.857, allocations: 6.689 MB / 0.8664 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.067e-05/1.858, allocations: 12.91 kB / 0.8664 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.86, allocations: 1.652 MB / 0.868 GB, free: 127 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/1.867, allocations: 0.9814 MB / 0.869 GB, free: 126.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/1.899, allocations: 22.23 MB / 0.8907 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/1.912, allocations: 5.792 MB / 0.8964 GB, free: 105.2 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007808/1.919, allocations: 2.888 MB / 0.8992 GB, free: 103.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.921, allocations: 423.4 kB / 0.8996 GB, free: 103 MB / 0.4982 GB Notification: Performance of SimCode: time 7.21e-07/1.921, allocations: 3.938 kB / 0.8996 GB, free: 103 MB / 0.4982 GB Notification: Performance of Templates: time 0.08665/2.007, allocations: 51.16 MB / 0.9496 GB, free: 52.96 MB / 0.4982 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)