Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.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.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008493/0.008493, allocations: 176.8 kB / 15.12 MB, free: 5.973 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.655/1.655, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001734/0.001734, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.1715/0.1715, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 11.88 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4982, allocations: 105.4 MB / 0.5531 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4985, allocations: 79.98 kB / 0.5532 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7883/1.287, allocations: 240 MB / 0.7876 GB, free: 57.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.245e-06/1.287, allocations: 3.281 kB / 0.7876 GB, free: 57.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008806/1.288, allocations: 255.1 kB / 0.7879 GB, free: 57.68 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: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.04318/1.331, allocations: 13.35 MB / 0.8009 GB, free: 52.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.331, allocations: 7.594 kB / 0.8009 GB, free: 52.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0498/1.381, allocations: 12.81 MB / 0.8134 GB, free: 51.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/1.418, allocations: 13.33 MB / 0.8264 GB, free: 50.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/1.42, allocations: 0.9575 MB / 0.8274 GB, free: 50.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00649/1.426, allocations: 1.287 MB / 0.8286 GB, free: 50.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08253/1.509, allocations: 30.17 MB / 0.8581 GB, free: 33.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001231/1.51, allocations: 150.4 kB / 0.8582 GB, free: 33.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006259/1.516, allocations: 0.5889 MB / 0.8588 GB, free: 32.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004198/1.52, allocations: 2.862 MB / 0.8616 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05195/1.572, allocations: 24.69 MB / 0.8857 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4532/2.026, allocations: 127.8 MB / 1.01 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03313/2.059, allocations: 14.08 MB / 1.024 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03742/2.096, allocations: 19.84 MB / 1.044 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.68e-05/2.096, allocations: 96.25 kB / 1.044 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=562): time 9.067e-06/2.096, allocations: 0 / 1.044 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=646): time 0.1607/2.257, allocations: 67.83 MB / 1.11 GB, free: 364 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2581/2.515, allocations: 387.4 kB / 1.11 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03457/2.55, allocations: 10.72 MB / 1.121 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002093/2.552, allocations: 126.6 kB / 1.121 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01286/2.565, allocations: 8.547 MB / 1.129 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004761/2.57, allocations: 2.381 MB / 1.132 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003311/2.573, allocations: 312.7 kB / 1.132 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001924/2.575, allocations: 0.9598 MB / 1.133 GB, free: 111 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01855/2.594, allocations: 6.769 MB / 1.139 GB, free: 111 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02764/2.621, allocations: 15.2 MB / 1.154 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02467/2.646, allocations: 9.923 MB / 1.164 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006109/2.647, allocations: 83.34 kB / 1.164 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.0724/2.719, allocations: 24.84 MB / 1.188 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/2.72, allocations: 132.3 kB / 1.188 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003987/2.72, allocations: 297.5 kB / 1.189 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00794/2.728, allocations: 3.301 MB / 1.192 GB, free: 94.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/2.742, allocations: 3.763 MB / 1.196 GB, free: 93.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02587/2.768, allocations: 23.25 MB / 1.218 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01619/2.784, allocations: 0.9318 MB / 1.219 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00404/2.788, allocations: 0.8939 MB / 1.22 GB, free: 80.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1897): * Single equations (assignments): 1890 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0136/2.802, allocations: 5.73 MB / 1.226 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002409/2.804, allocations: 1.078 MB / 1.227 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/2.832, allocations: 14.75 MB / 1.241 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-05/2.832, allocations: 67.66 kB / 1.241 GB, free: 68.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/2.832, allocations: 16 kB / 1.241 GB, free: 68.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001756/2.832, allocations: 35.73 kB / 1.241 GB, free: 68.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06705/2.899, allocations: 32.56 MB / 1.273 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/2.899, allocations: 12 kB / 1.273 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007087/2.906, allocations: 1.277 MB / 1.274 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007221/2.914, allocations: 2.849 MB / 1.277 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001681/2.915, allocations: 122.5 kB / 1.277 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/2.94, allocations: 21.73 MB / 1.298 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/2.94, allocations: 18.89 kB / 1.298 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.355/3.295, allocations: 26.31 MB / 1.324 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008515/3.303, allocations: 2.183 MB / 1.326 GB, free: 95.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00451/3.308, allocations: 123 kB / 1.326 GB, free: 95.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007432/3.315, allocations: 445.2 kB / 1.327 GB, free: 95.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/3.317, allocations: 411 kB / 1.327 GB, free: 95.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005347/3.317, allocations: 172.1 kB / 1.327 GB, free: 95.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01489/3.332, allocations: 7.761 MB / 1.335 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.9e-07/3.332, allocations: 0 / 1.335 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01952/3.352, allocations: 3.106 MB / 1.338 GB, free: 94.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * 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 (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001924/3.354, allocations: 302.9 kB / 1.338 GB, free: 94.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02657/3.38, allocations: 16.83 MB / 1.355 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/3.38, allocations: 6.156 kB / 1.355 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/3.393, allocations: 7.126 MB / 1.362 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/3.405, allocations: 1.344 MB / 1.363 GB, free: 93.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06607/3.471, allocations: 35.13 MB / 1.397 GB, free: 77.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02203/3.493, allocations: 8.88 MB / 1.406 GB, free: 74.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02024/3.513, allocations: 5.156 MB / 1.411 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006234/3.519, allocations: 0.7295 MB / 1.412 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/3.52, allocations: 0 / 1.412 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.8184/4.338, allocations: 115.3 MB / 1.524 GB, free: 77.71 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1)