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.001164/0.001164, allocations: 182.5 kB / 12.74 MB, free: 2.582 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.567/1.567, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001536/0.001536, allocations: 99.12 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.226/0.226, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.711e-05, allocations: 0 / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5833, allocations: 105.3 MB / 0.5473 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5837, allocations: 68.53 kB / 0.5474 GB, free: 2.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8702/1.454, allocations: 240.3 MB / 0.782 GB, free: 57.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.454, allocations: 0 / 0.782 GB, free: 57.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001199/1.455, allocations: 259.9 kB / 0.7823 GB, free: 57.13 MB / 474.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.05222/1.507, allocations: 12.35 MB / 0.7943 GB, free: 44.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.507, allocations: 8.031 kB / 0.7944 GB, free: 44.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06316/1.571, allocations: 12.82 MB / 0.8069 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/1.607, allocations: 13.3 MB / 0.8199 GB, free: 18.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001593/1.609, allocations: 0.9548 MB / 0.8208 GB, free: 17.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008026/1.617, allocations: 1.273 MB / 0.822 GB, free: 16.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4489/2.066, allocations: 29.93 MB / 0.8513 GB, free: 68.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001091/2.067, allocations: 146.4 kB / 0.8514 GB, free: 68.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008164/2.075, allocations: 0.5955 MB / 0.852 GB, free: 68.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00515/2.08, allocations: 2.859 MB / 0.8548 GB, free: 68.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06559/2.146, allocations: 24.32 MB / 0.8785 GB, free: 68.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1595/2.305, allocations: 127.8 MB / 1.003 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03852/2.344, allocations: 13.97 MB / 1.017 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/2.356, allocations: 7.961 MB / 1.025 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04156/2.398, allocations: 19.88 MB / 1.044 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/2.398, allocations: 100.6 kB / 1.044 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=562): time 1.081e-05/2.398, allocations: 0 / 1.044 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=646): time 0.4692/2.867, allocations: 59.22 MB / 1.102 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/2.867, allocations: 384.1 kB / 1.102 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0258/2.893, allocations: 10.61 MB / 1.113 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002756/2.896, allocations: 126.8 kB / 1.113 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008582/2.904, allocations: 8.552 MB / 1.121 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004256/2.909, allocations: 2.374 MB / 1.124 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/2.912, allocations: 313.7 kB / 1.124 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001229/2.913, allocations: 0.9636 MB / 1.125 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/2.925, allocations: 6.622 MB / 1.131 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01893/2.944, allocations: 15.05 MB / 1.146 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/2.96, allocations: 9.883 MB / 1.156 GB, free: 81.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004178/2.96, allocations: 91.7 kB / 1.156 GB, free: 81.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.0502/3.01, allocations: 24.54 MB / 1.18 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/3.011, allocations: 132 kB / 1.18 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004144/3.011, allocations: 293.9 kB / 1.18 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007956/3.019, allocations: 3.294 MB / 1.183 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/3.034, allocations: 3.764 MB / 1.187 GB, free: 55.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/3.059, allocations: 22.59 MB / 1.209 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/3.075, allocations: 0.9317 MB / 1.21 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006399/3.082, allocations: 0.8834 MB / 1.211 GB, free: 33.35 MB / 0.5261 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 () * 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.006844/3.089, allocations: 1.285 MB / 1.212 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003132/3.092, allocations: 1.068 MB / 1.213 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02815/3.12, allocations: 14.59 MB / 1.227 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-05/3.12, allocations: 68.55 kB / 1.227 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-05/3.12, allocations: 16 kB / 1.227 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001702/3.121, allocations: 32.11 kB / 1.227 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4139/3.534, allocations: 32.69 MB / 1.259 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.55e-05/3.535, allocations: 9.719 kB / 1.259 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006521/3.541, allocations: 1.288 MB / 1.261 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/3.548, allocations: 2.828 MB / 1.263 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001962/3.55, allocations: 130.7 kB / 1.264 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/3.574, allocations: 21.07 MB / 1.284 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/3.574, allocations: 18.47 kB / 1.284 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03641/3.61, allocations: 26.07 MB / 1.31 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009381/3.62, allocations: 2.192 MB / 1.312 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00506/3.625, allocations: 117.6 kB / 1.312 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/3.635, allocations: 448.7 kB / 1.312 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0024/3.638, allocations: 409.7 kB / 1.313 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008237/3.638, allocations: 166.1 kB / 1.313 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01773/3.656, allocations: 7.653 MB / 1.32 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.11e-07/3.656, allocations: 0 / 1.32 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02003/3.676, allocations: 3.108 MB / 1.323 GB, free: 83.34 MB / 0.5261 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 () * 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.002942/3.679, allocations: 292.3 kB / 1.324 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02865/3.708, allocations: 16.58 MB / 1.34 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/3.708, allocations: 7.438 kB / 1.34 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01224/3.72, allocations: 7.021 MB / 1.347 GB, free: 69.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/3.73, allocations: 1.34 MB / 1.348 GB, free: 68.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05432/3.785, allocations: 25.71 MB / 1.373 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01596/3.801, allocations: 8.876 MB / 1.382 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01625/3.817, allocations: 5.154 MB / 1.387 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00434/3.821, allocations: 0.7285 MB / 1.387 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/3.822, allocations: 4 kB / 1.387 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of Templates: time 0.5277/4.349, allocations: 115.3 MB / 1.5 GB, free: 101.1 MB / 0.5417 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)