Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005533/0.005533, allocations: 165.5 kB / 15.11 MB, free: 5.973 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.12/1.12, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001623/0.001623, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.2603/0.2603, allocations: 38.05 MB / 303.7 MB, free: 42.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08673, allocations: 48.71 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3685, allocations: 97.16 MB / 0.4968 GB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.3688, allocations: 84.59 kB / 0.4969 GB, free: 6.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6986/1.067, allocations: 223 MB / 0.7147 GB, free: 31.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.067, allocations: 0 / 0.7147 GB, free: 31.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006374/1.068, allocations: 240 kB / 0.7149 GB, free: 31.39 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.043/1.111, allocations: 12.27 MB / 0.7269 GB, free: 19.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.111, allocations: 12.03 kB / 0.7269 GB, free: 19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04932/1.161, allocations: 12.62 MB / 0.7393 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5057/1.666, allocations: 12.58 MB / 0.7515 GB, free: 36.05 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/1.667, allocations: 0.9026 MB / 0.7524 GB, free: 36.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006971/1.674, allocations: 1.196 MB / 0.7536 GB, free: 36.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07097/1.745, allocations: 28.35 MB / 0.7813 GB, free: 30.54 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001096/1.747, allocations: 133.2 kB / 0.7814 GB, free: 30.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006728/1.753, allocations: 0.5545 MB / 0.7819 GB, free: 30.54 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004741/1.758, allocations: 2.683 MB / 0.7846 GB, free: 30.52 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04756/1.806, allocations: 23.55 MB / 0.8076 GB, free: 28.67 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1483/1.954, allocations: 116.8 MB / 0.9216 GB, free: 5.23 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3359/2.29, allocations: 15.27 MB / 0.9366 GB, free: 94.82 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003705/2.294, allocations: 2.354 MB / 0.9389 GB, free: 92.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/2.294, allocations: 94.91 kB / 0.9389 GB, free: 92.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=559): time 1.156e-05/2.294, allocations: 0 / 0.9389 GB, free: 92.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=643): time 0.1897/2.484, allocations: 62.11 MB / 0.9996 GB, free: 83.71 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/2.484, allocations: 326.5 kB / 0.9999 GB, free: 83.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02612/2.51, allocations: 9.066 MB / 1.009 GB, free: 82.71 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002517/2.513, allocations: 124.9 kB / 1.009 GB, free: 82.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008767/2.521, allocations: 7.733 MB / 1.016 GB, free: 77.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004574/2.526, allocations: 2.34 MB / 1.019 GB, free: 76.23 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002586/2.529, allocations: 289.1 kB / 1.019 GB, free: 76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001553/2.53, allocations: 0.915 MB / 1.02 GB, free: 75.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01244/2.543, allocations: 6.524 MB / 1.026 GB, free: 73.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02017/2.563, allocations: 14.09 MB / 1.04 GB, free: 60.94 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01788/2.581, allocations: 9.412 MB / 1.049 GB, free: 57.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005059/2.581, allocations: 79.59 kB / 1.049 GB, free: 57.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.05746/2.639, allocations: 23.5 MB / 1.072 GB, free: 39.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007673/2.64, allocations: 116 kB / 1.072 GB, free: 39.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001001/2.641, allocations: 264 kB / 1.073 GB, free: 39.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009479/2.65, allocations: 3.27 MB / 1.076 GB, free: 36.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/2.665, allocations: 3.5 MB / 1.079 GB, free: 33.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02801/2.693, allocations: 23.22 MB / 1.102 GB, free: 12.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/2.711, allocations: 0.8704 MB / 1.103 GB, free: 12.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005087/2.716, allocations: 0.8121 MB / 1.104 GB, free: 11.39 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],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 (1741): * Single equations (assignments): 1734 * 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.4118/3.128, allocations: 5.591 MB / 1.109 GB, free: 78.27 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004877/3.133, allocations: 0.948 MB / 1.11 GB, free: 78.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/3.17, allocations: 14.61 MB / 1.124 GB, free: 77.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/3.17, allocations: 66 kB / 1.124 GB, free: 77.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.246e-05/3.17, allocations: 18.94 kB / 1.124 GB, free: 77.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002021/3.171, allocations: 29.39 kB / 1.124 GB, free: 77.95 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0837/3.254, allocations: 31.27 MB / 1.155 GB, free: 76.55 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/3.254, allocations: 7.656 kB / 1.155 GB, free: 76.55 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007748/3.262, allocations: 1.217 MB / 1.156 GB, free: 76.55 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008267/3.27, allocations: 2.836 MB / 1.159 GB, free: 76.51 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001889/3.272, allocations: 116.7 kB / 1.159 GB, free: 76.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02526/3.298, allocations: 21.71 MB / 1.18 GB, free: 66.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/3.298, allocations: 12.28 kB / 1.18 GB, free: 66.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03881/3.336, allocations: 24.02 MB / 1.204 GB, free: 55.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008313/3.345, allocations: 2.04 MB / 1.206 GB, free: 55.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003674/3.349, allocations: 112.3 kB / 1.206 GB, free: 55.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007465/3.356, allocations: 492.2 kB / 1.206 GB, free: 55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/3.357, allocations: 387.2 kB / 1.207 GB, free: 54.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006982/3.358, allocations: 164.1 kB / 1.207 GB, free: 54.91 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01826/3.376, allocations: 6.519 MB / 1.213 GB, free: 52.77 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.91e-07/3.376, allocations: 0 / 1.213 GB, free: 52.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02137/3.398, allocations: 2.937 MB / 1.216 GB, free: 52.45 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (554): * Single equations (assignments): 547 * 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.002681/3.401, allocations: 293.1 kB / 1.216 GB, free: 52.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03116/3.432, allocations: 16.29 MB / 1.232 GB, free: 41.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/3.432, allocations: 3.75 kB / 1.232 GB, free: 41.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01498/3.447, allocations: 7.157 MB / 1.239 GB, free: 35.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/3.458, allocations: 1.201 MB / 1.24 GB, free: 34.53 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07833/3.536, allocations: 32.94 MB / 1.272 GB, free: 4.746 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03005/3.566, allocations: 8.807 MB / 1.281 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.021/3.588, allocations: 4.716 MB / 1.286 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006068/3.594, allocations: 0.6656 MB / 1.286 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of SimCode: time 1.012e-06/3.594, allocations: 4 kB / 1.286 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of Templates: time 0.588/4.182, allocations: 110.4 MB / 1.394 GB, free: 59.67 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)