Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008427/0.008427, allocations: 174 kB / 15.12 MB, free: 5.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.325/1.325, allocations: 194.5 MB / 210.3 MB, free: 7.727 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.001626/0.001626, allocations: 112.6 kB / 255.6 MB, free: 10.35 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.1722/0.1722, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003562, allocations: 15.59 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09697, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4398, allocations: 104 MB / 0.5518 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4401, allocations: 76.75 kB / 0.5518 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7975/1.238, allocations: 223.4 MB / 0.77 GB, free: 58.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.238, allocations: 0 / 0.77 GB, free: 58.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006734/1.238, allocations: 237.5 kB / 0.7703 GB, free: 58.59 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.04481/1.283, allocations: 12.27 MB / 0.7822 GB, free: 54.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.283, allocations: 10.78 kB / 0.7822 GB, free: 54.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05165/1.335, allocations: 12.63 MB / 0.7946 GB, free: 53.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03566/1.371, allocations: 12.59 MB / 0.8069 GB, free: 51.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.372, allocations: 0.9081 MB / 0.8078 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00764/1.38, allocations: 1.202 MB / 0.8089 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07353/1.453, allocations: 28.38 MB / 0.8366 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008545/1.454, allocations: 133.5 kB / 0.8368 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004576/1.459, allocations: 0.5579 MB / 0.8373 GB, free: 44.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/1.463, allocations: 2.686 MB / 0.8399 GB, free: 44.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05342/1.516, allocations: 23.58 MB / 0.863 GB, free: 26.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5392/2.055, allocations: 116.9 MB / 0.9771 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03545/2.091, allocations: 13.74 MB / 0.9905 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003105/2.094, allocations: 2.343 MB / 0.9928 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/2.094, allocations: 101.6 kB / 0.9929 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.815e-05/2.094, allocations: 0 / 0.9929 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.1851/2.279, allocations: 62.11 MB / 1.054 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/2.279, allocations: 323 kB / 1.054 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02359/2.303, allocations: 9.059 MB / 1.063 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002291/2.305, allocations: 131.5 kB / 1.063 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008479/2.314, allocations: 7.735 MB / 1.07 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004736/2.319, allocations: 2.341 MB / 1.073 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003642/2.322, allocations: 287.2 kB / 1.073 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002537/2.325, allocations: 0.9108 MB / 1.074 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01301/2.338, allocations: 6.526 MB / 1.08 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01986/2.358, allocations: 14.09 MB / 1.094 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01937/2.377, allocations: 9.424 MB / 1.103 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005289/2.378, allocations: 72 kB / 1.103 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.5207/2.899, allocations: 23.86 MB / 1.127 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/2.899, allocations: 116.1 kB / 1.127 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005063/2.899, allocations: 267.5 kB / 1.127 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008666/2.908, allocations: 3.263 MB / 1.13 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/2.923, allocations: 3.498 MB / 1.134 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0315/2.955, allocations: 23.23 MB / 1.156 GB, free: 97.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/2.972, allocations: 0.8731 MB / 1.157 GB, free: 97.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005068/2.977, allocations: 0.8053 MB / 1.158 GB, free: 97.49 MB / 0.5417 GB 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.0194/2.997, allocations: 5.327 MB / 1.163 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004664/3.001, allocations: 0.9511 MB / 1.164 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03899/3.04, allocations: 14.6 MB / 1.178 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001271/3.041, allocations: 64.78 kB / 1.178 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001544/3.041, allocations: 18.16 kB / 1.178 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002444/3.041, allocations: 31.73 kB / 1.178 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08776/3.129, allocations: 31.28 MB / 1.209 GB, free: 84.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001369/3.129, allocations: 11.39 kB / 1.209 GB, free: 84.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007682/3.137, allocations: 1.221 MB / 1.21 GB, free: 84.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007982/3.145, allocations: 2.834 MB / 1.213 GB, free: 84.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002291/3.147, allocations: 119.1 kB / 1.213 GB, free: 84.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02754/3.175, allocations: 21.71 MB / 1.234 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/3.175, allocations: 11.94 kB / 1.234 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04713/3.222, allocations: 24.01 MB / 1.258 GB, free: 47.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009455/3.231, allocations: 2.039 MB / 1.26 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004959/3.236, allocations: 114.5 kB / 1.26 GB, free: 45.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008828/3.245, allocations: 490.1 kB / 1.26 GB, free: 45.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002491/3.248, allocations: 390.5 kB / 1.261 GB, free: 44.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001665/3.249, allocations: 167.7 kB / 1.261 GB, free: 44.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01591/3.265, allocations: 6.508 MB / 1.267 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.71e-07/3.265, allocations: 3.188 kB / 1.267 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02194/3.287, allocations: 2.929 MB / 1.27 GB, free: 36.5 MB / 0.5417 GB 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.002774/3.29, allocations: 302.5 kB / 1.27 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0313/3.321, allocations: 16.27 MB / 1.286 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/3.322, allocations: 0 / 1.286 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01562/3.337, allocations: 7.168 MB / 1.293 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01192/3.349, allocations: 1.196 MB / 1.294 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4585/3.808, allocations: 32.94 MB / 1.326 GB, free: 89.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02907/3.837, allocations: 8.316 MB / 1.335 GB, free: 88.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0206/3.857, allocations: 4.715 MB / 1.339 GB, free: 88.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006258/3.864, allocations: 0.6711 MB / 1.34 GB, free: 88.62 MB / 0.5417 GB Notification: Performance of SimCode: time 1.964e-06/3.864, allocations: 0 / 1.34 GB, free: 88.62 MB / 0.5417 GB Notification: Performance of Templates: time 0.272/4.136, allocations: 110.3 MB / 1.448 GB, free: 47.02 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)