Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.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.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005927/0.005928, allocations: 166.3 kB / 15.11 MB, free: 5.578 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.234/1.234, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001534/0.001534, allocations: 110.6 kB / 226.2 MB, free: 10.12 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.2607/0.2607, allocations: 38.05 MB / 303.7 MB, free: 42.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09055, allocations: 48.71 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.3601, allocations: 98.6 MB / 0.4982 GB, free: 5.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3604, allocations: 77.22 kB / 0.4983 GB, free: 5.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.78/1.14, allocations: 239.6 MB / 0.7323 GB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.14, allocations: 4 kB / 0.7323 GB, free: 13.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009602/1.141, allocations: 259.9 kB / 0.7325 GB, free: 13.44 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: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.5372/1.679, allocations: 13.33 MB / 0.7455 GB, free: 25.62 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.679, allocations: 8.188 kB / 0.7456 GB, free: 25.62 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05347/1.732, allocations: 12.81 MB / 0.7581 GB, free: 24.93 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03331/1.765, allocations: 13.34 MB / 0.7711 GB, free: 24.34 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009657/1.767, allocations: 0.9529 MB / 0.772 GB, free: 24.31 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006766/1.773, allocations: 1.27 MB / 0.7733 GB, free: 24.3 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07511/1.848, allocations: 30.15 MB / 0.8027 GB, free: 18.14 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009876/1.849, allocations: 144.8 kB / 0.8028 GB, free: 18.13 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006535/1.856, allocations: 0.5963 MB / 0.8034 GB, free: 18.13 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004305/1.86, allocations: 2.856 MB / 0.8062 GB, free: 18.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0494/1.91, allocations: 24.67 MB / 0.8303 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.59/2.5, allocations: 127.8 MB / 0.9551 GB, free: 18.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03471/2.535, allocations: 14.07 MB / 0.9688 GB, free: 17.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04688/2.582, allocations: 19.84 MB / 0.9882 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.469e-05/2.582, allocations: 96.44 kB / 0.9883 GB, free: 14.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=562): time 9.168e-06/2.582, allocations: 0 / 0.9883 GB, free: 14.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=646): time 0.1816/2.763, allocations: 67.84 MB / 1.055 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002558/2.764, allocations: 377.6 kB / 1.055 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0296/2.793, allocations: 10.73 MB / 1.065 GB, free: 6.523 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002417/2.796, allocations: 122.4 kB / 1.066 GB, free: 6.398 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0109/2.807, allocations: 8.553 MB / 1.074 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005138/2.812, allocations: 2.371 MB / 1.076 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002855/2.815, allocations: 308 kB / 1.076 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001419/2.816, allocations: 0.959 MB / 1.077 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01376/2.83, allocations: 6.769 MB / 1.084 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02258/2.853, allocations: 15.2 MB / 1.099 GB, free: 4.199 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02311/2.876, allocations: 10.22 MB / 1.109 GB, free: 12.4 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004126/2.876, allocations: 88 kB / 1.109 GB, free: 12.31 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.06583/2.942, allocations: 24.94 MB / 1.133 GB, free: 8.129 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/2.943, allocations: 132 kB / 1.133 GB, free: 8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001084/2.944, allocations: 292 kB / 1.134 GB, free: 7.715 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/2.955, allocations: 3.311 MB / 1.137 GB, free: 5.277 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01707/2.972, allocations: 3.759 MB / 1.141 GB, free: 2.109 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4454/3.418, allocations: 23.34 MB / 1.163 GB, free: 139.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/3.437, allocations: 0.9369 MB / 1.164 GB, free: 139.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005421/3.442, allocations: 0.8834 MB / 1.165 GB, free: 139.4 MB / 0.5574 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.01812/3.46, allocations: 5.736 MB / 1.171 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00334/3.464, allocations: 1.077 MB / 1.172 GB, free: 139.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0329/3.497, allocations: 14.74 MB / 1.186 GB, free: 138.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001827/3.497, allocations: 71.64 kB / 1.186 GB, free: 138.9 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001415/3.497, allocations: 16.09 kB / 1.186 GB, free: 138.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002101/3.497, allocations: 37.27 kB / 1.186 GB, free: 138.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07748/3.575, allocations: 32.53 MB / 1.218 GB, free: 132.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.067e-05/3.575, allocations: 13.56 kB / 1.218 GB, free: 132.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007065/3.582, allocations: 1.283 MB / 1.219 GB, free: 132.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007261/3.589, allocations: 2.836 MB / 1.222 GB, free: 131.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/3.591, allocations: 126.3 kB / 1.222 GB, free: 131.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/3.617, allocations: 21.73 MB / 1.243 GB, free: 120.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/3.617, allocations: 21.09 kB / 1.243 GB, free: 120.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04854/3.665, allocations: 26.32 MB / 1.269 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01305/3.679, allocations: 2.181 MB / 1.271 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006791/3.685, allocations: 119.1 kB / 1.271 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/3.699, allocations: 452.8 kB / 1.272 GB, free: 106.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00362/3.702, allocations: 409.6 kB / 1.272 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00233/3.705, allocations: 171.7 kB / 1.272 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02607/3.731, allocations: 7.765 MB / 1.28 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.11e-07/3.731, allocations: 0 / 1.28 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02712/3.758, allocations: 3.112 MB / 1.283 GB, free: 101.6 MB / 0.5574 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.003814/3.762, allocations: 296.8 kB / 1.283 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03228/3.794, allocations: 16.84 MB / 1.3 GB, free: 87.45 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/3.794, allocations: 4 kB / 1.3 GB, free: 87.45 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01587/3.81, allocations: 7.128 MB / 1.307 GB, free: 81.37 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/3.822, allocations: 1.339 MB / 1.308 GB, free: 80.25 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08266/3.905, allocations: 35.13 MB / 1.342 GB, free: 48.47 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4503/4.355, allocations: 9.077 MB / 1.351 GB, free: 133.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02345/4.379, allocations: 5.154 MB / 1.356 GB, free: 133.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005324/4.384, allocations: 0.7327 MB / 1.357 GB, free: 133.4 MB / 0.5574 GB Notification: Performance of SimCode: time 1.512e-06/4.384, allocations: 0 / 1.357 GB, free: 133.4 MB / 0.5574 GB Notification: Performance of Templates: time 0.2454/4.63, allocations: 115.3 MB / 1.47 GB, free: 106 MB / 0.5574 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1)