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.001827/0.001827, allocations: 181.8 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.647/1.647, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.00158/0.00158, allocations: 113.6 kB / 252.6 MB, free: 4.777 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.2233/0.2233, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.618e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 54.86 MB / 455.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5612, allocations: 103.9 MB / 0.5459 GB, free: 3.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5615, allocations: 74.78 kB / 0.546 GB, free: 3.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8478/1.409, allocations: 223.7 MB / 0.7644 GB, free: 73.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.409, allocations: 0 / 0.7644 GB, free: 73.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007103/1.41, allocations: 246.4 kB / 0.7647 GB, free: 73.78 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.04087/1.451, allocations: 11.38 MB / 0.7758 GB, free: 63.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.451, allocations: 8.031 kB / 0.7758 GB, free: 63.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04945/1.5, allocations: 12.64 MB / 0.7881 GB, free: 50.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03298/1.533, allocations: 12.55 MB / 0.8004 GB, free: 38.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009486/1.534, allocations: 0.9026 MB / 0.8013 GB, free: 37.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006483/1.541, allocations: 1.21 MB / 0.8024 GB, free: 36.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07535/1.616, allocations: 28.14 MB / 0.8299 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007322/1.617, allocations: 142.7 kB / 0.8301 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006007/1.623, allocations: 0.5505 MB / 0.8306 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003598/1.627, allocations: 2.684 MB / 0.8332 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4196/2.046, allocations: 23.21 MB / 0.8559 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1454/2.192, allocations: 116.9 MB / 0.97 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03333/2.225, allocations: 13.61 MB / 0.9833 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01073/2.236, allocations: 7.876 MB / 0.991 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/2.239, allocations: 2.349 MB / 0.9933 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/2.239, allocations: 100 kB / 0.9934 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=559): time 1.348e-05/2.239, allocations: 0 / 0.9934 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=643): time 0.1707/2.41, allocations: 53.75 MB / 1.046 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/2.41, allocations: 323.7 kB / 1.046 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02488/2.435, allocations: 8.972 MB / 1.055 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002546/2.437, allocations: 125.7 kB / 1.055 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3495/2.787, allocations: 7.732 MB / 1.063 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003956/2.791, allocations: 2.342 MB / 1.065 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/2.793, allocations: 289.4 kB / 1.065 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001101/2.794, allocations: 0.9138 MB / 1.066 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01317/2.807, allocations: 6.383 MB / 1.072 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01941/2.827, allocations: 13.95 MB / 1.086 GB, free: 113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/2.843, allocations: 9.35 MB / 1.095 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004817/2.844, allocations: 74.78 kB / 1.095 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.04859/2.892, allocations: 23.23 MB / 1.118 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/2.892, allocations: 117.1 kB / 1.118 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004652/2.893, allocations: 266.7 kB / 1.118 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008738/2.902, allocations: 3.262 MB / 1.121 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/2.916, allocations: 3.498 MB / 1.125 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/2.942, allocations: 22.56 MB / 1.147 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01541/2.957, allocations: 0.8664 MB / 1.148 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00555/2.963, allocations: 0.8052 MB / 1.148 GB, free: 94.87 MB / 0.5261 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 () * 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.007743/2.971, allocations: 1.186 MB / 1.15 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003482/2.974, allocations: 0.9462 MB / 1.151 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02751/3.002, allocations: 14.44 MB / 1.165 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.9e-05/3.002, allocations: 64.62 kB / 1.165 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-05/3.002, allocations: 16 kB / 1.165 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001544/3.002, allocations: 33.75 kB / 1.165 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05714/3.059, allocations: 31.12 MB / 1.195 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/3.059, allocations: 4 kB / 1.195 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006659/3.066, allocations: 1.215 MB / 1.196 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006903/3.073, allocations: 2.83 MB / 1.199 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001856/3.075, allocations: 123.2 kB / 1.199 GB, free: 58.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/3.098, allocations: 21.07 MB / 1.22 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/3.098, allocations: 11.94 kB / 1.22 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03455/3.132, allocations: 23.75 MB / 1.243 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007157/3.139, allocations: 2.039 MB / 1.245 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003082/3.143, allocations: 112 kB / 1.245 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006714/3.149, allocations: 487.3 kB / 1.246 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/3.151, allocations: 394.6 kB / 1.246 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005567/3.151, allocations: 167.9 kB / 1.246 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.3642/3.516, allocations: 6.409 MB / 1.252 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.012e-06/3.516, allocations: 1.312 kB / 1.252 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01906/3.535, allocations: 2.938 MB / 1.255 GB, free: 108.3 MB / 0.5261 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 () * 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.001841/3.537, allocations: 287.8 kB / 1.255 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02832/3.565, allocations: 16.03 MB / 1.271 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/3.565, allocations: 1.75 kB / 1.271 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/3.577, allocations: 7.055 MB / 1.278 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009071/3.586, allocations: 1.194 MB / 1.279 GB, free: 107 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05116/3.638, allocations: 24.01 MB / 1.303 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01768/3.655, allocations: 8.308 MB / 1.311 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01453/3.67, allocations: 4.716 MB / 1.315 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003746/3.674, allocations: 0.6704 MB / 1.316 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/3.674, allocations: 0 / 1.316 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.1744/3.848, allocations: 110.3 MB / 1.424 GB, free: 15.71 MB / 0.5261 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)