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.001616/0.001616, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.323/1.323, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001589/0.001589, allocations: 101.4 kB / 218 MB, free: 15.34 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: 37.98 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.767e-05, allocations: 4 kB / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2818, allocations: 48.69 MB / 398.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.4683, allocations: 97.85 MB / 496.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.4687, allocations: 79.89 kB / 496.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7963/1.265, allocations: 233.9 MB / 0.7134 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.265, allocations: 0 / 0.7134 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001168/1.266, allocations: 259.9 kB / 0.7137 GB, free: 0.7148 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.5287/1.795, allocations: 12.32 MB / 0.7257 GB, free: 32.53 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.795, allocations: 9.031 kB / 0.7257 GB, free: 32.53 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05507/1.85, allocations: 12.81 MB / 0.7382 GB, free: 31.66 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03579/1.886, allocations: 13.28 MB / 0.7512 GB, free: 30.29 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007808/1.887, allocations: 414.3 kB / 0.7516 GB, free: 30.29 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005948/1.893, allocations: 0.7485 MB / 0.7523 GB, free: 30.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03317/1.926, allocations: 17.52 MB / 0.7694 GB, free: 30.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06596/1.992, allocations: 26 MB / 0.7948 GB, free: 24.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009629/1.993, allocations: 146.1 kB / 0.795 GB, free: 24.19 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00695/2, allocations: 68.03 kB / 0.795 GB, free: 24.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004642/2.005, allocations: 2.863 MB / 0.7978 GB, free: 24.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5167/2.521, allocations: 121.5 MB / 0.9164 GB, free: 29.17 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/2.537, allocations: 10.78 MB / 0.9269 GB, free: 27.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009973/2.547, allocations: 7.537 MB / 0.9343 GB, free: 27.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/2.549, allocations: 1.101 MB / 0.9354 GB, free: 26.94 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.176e-05/2.549, allocations: 96.7 kB / 0.9355 GB, free: 26.89 MB / 490.8 MB Notification: Performance of pre-optimization done (n=548): time 9.378e-06/2.549, allocations: 4.781 kB / 0.9355 GB, free: 26.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=636): time 0.1262/2.675, allocations: 61.49 MB / 0.9955 GB, free: 13.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/2.675, allocations: 374.7 kB / 0.9959 GB, free: 12.76 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/2.691, allocations: 8.027 MB / 1.004 GB, free: 9.777 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002301/2.693, allocations: 25.7 kB / 1.004 GB, free: 9.746 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008075/2.701, allocations: 8.687 MB / 1.012 GB, free: 2.996 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004305/2.705, allocations: 2.276 MB / 1.014 GB, free: 1.293 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/2.707, allocations: 6.281 kB / 1.014 GB, free: 1.293 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009021/2.708, allocations: 0.9819 MB / 1.015 GB, free: 0.6992 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02731/2.735, allocations: 7.825 MB / 1.023 GB, free: 0 / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02306/2.759, allocations: 15.1 MB / 1.038 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/2.776, allocations: 9.745 MB / 1.047 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003836/2.776, allocations: 84 kB / 1.047 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.05798/2.834, allocations: 23.22 MB / 1.07 GB, free: 4.293 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/2.834, allocations: 140 kB / 1.07 GB, free: 4.156 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005336/2.835, allocations: 304 kB / 1.071 GB, free: 3.859 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0083/2.843, allocations: 3.33 MB / 1.074 GB, free: 1.379 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/2.859, allocations: 3.896 MB / 1.078 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3282/3.187, allocations: 21.38 MB / 1.098 GB, free: 131 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01671/3.204, allocations: 0.6409 MB / 1.099 GB, free: 131 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005742/3.209, allocations: 0.9188 MB / 1.1 GB, free: 131 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1961): * Single equations (assignments): 1954 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006822/3.216, allocations: 0.9073 MB / 1.101 GB, free: 130.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003005/3.219, allocations: 0.9055 MB / 1.102 GB, free: 130.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/3.247, allocations: 13.79 MB / 1.115 GB, free: 130.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.993e-05/3.247, allocations: 67.41 kB / 1.115 GB, free: 130.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.52e-05/3.247, allocations: 18.97 kB / 1.115 GB, free: 130.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001442/3.247, allocations: 29.44 kB / 1.115 GB, free: 130.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05647/3.304, allocations: 28.82 MB / 1.143 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.758e-05/3.304, allocations: 7.281 kB / 1.143 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006706/3.31, allocations: 1.226 MB / 1.145 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006981/3.317, allocations: 2.814 MB / 1.147 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001568/3.319, allocations: 28.97 kB / 1.147 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02256/3.342, allocations: 19.79 MB / 1.167 GB, free: 123.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/3.342, allocations: 14.72 kB / 1.167 GB, free: 123.3 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03395/3.376, allocations: 23.36 MB / 1.19 GB, free: 113.4 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006673/3.382, allocations: 1.934 MB / 1.191 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003898/3.386, allocations: 10.41 kB / 1.191 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007839/3.394, allocations: 352 kB / 1.192 GB, free: 112.6 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002505/3.397, allocations: 389.9 kB / 1.192 GB, free: 112.5 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007053/3.397, allocations: 166.1 kB / 1.192 GB, free: 112.5 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01244/3.41, allocations: 5.434 MB / 1.198 GB, free: 110.6 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.41e-07/3.41, allocations: 0 / 1.198 GB, free: 110.6 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02109/3.431, allocations: 2.669 MB / 1.2 GB, free: 110.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (547): * Single equations (assignments): 540 * 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.002124/3.433, allocations: 195.8 kB / 1.2 GB, free: 110.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02808/3.461, allocations: 16.38 MB / 1.216 GB, free: 102.2 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/3.461, allocations: 0 / 1.216 GB, free: 102.2 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01091/3.472, allocations: 6.817 MB / 1.223 GB, free: 96.25 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008674/3.481, allocations: 0.9783 MB / 1.224 GB, free: 95.45 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05325/3.534, allocations: 25.04 MB / 1.249 GB, free: 73.55 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01856/3.553, allocations: 8.897 MB / 1.257 GB, free: 67.18 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.017/3.57, allocations: 5.111 MB / 1.262 GB, free: 63.87 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003859/3.574, allocations: 0.6493 MB / 1.263 GB, free: 63.26 MB / 0.5418 GB Notification: Performance of SimCode: time 8.71e-07/3.574, allocations: 0 / 1.263 GB, free: 63.26 MB / 0.5418 GB Notification: Performance of Templates: time 0.5259/4.1, allocations: 101.1 MB / 1.362 GB, free: 119.3 MB / 0.5418 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)