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.001484/0.001484, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.487/1.487, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.002269/0.002268, allocations: 107.5 kB / 218 MB, free: 8.406 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.179/0.179, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.229e-05, allocations: 2.812 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.099, allocations: 48.73 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/0.4517, allocations: 96.41 MB / 495.1 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.452, allocations: 72.77 kB / 495.2 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7538/1.206, allocations: 217.8 MB / 0.6962 GB, free: 54.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.206, allocations: 0 / 0.6962 GB, free: 54.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006835/1.207, allocations: 235.8 kB / 0.6965 GB, free: 54.29 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.04013/1.247, allocations: 11.37 MB / 0.7076 GB, free: 50.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.247, allocations: 11.5 kB / 0.7076 GB, free: 50.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06114/1.308, allocations: 12.63 MB / 0.7199 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03569/1.344, allocations: 12.53 MB / 0.7322 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/1.344, allocations: 396 kB / 0.7325 GB, free: 41.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005728/1.35, allocations: 0.7067 MB / 0.7332 GB, free: 41.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03431/1.384, allocations: 16.7 MB / 0.7495 GB, free: 24.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05679/1.441, allocations: 24.42 MB / 0.7734 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009567/1.442, allocations: 134.8 kB / 0.7735 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005748/1.448, allocations: 60 kB / 0.7736 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005324/1.453, allocations: 2.679 MB / 0.7762 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.458/1.911, allocations: 110.2 MB / 0.8838 GB, free: 39.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.925, allocations: 10.81 MB / 0.8944 GB, free: 34.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009826/1.935, allocations: 7.543 MB / 0.9017 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/1.937, allocations: 2.345 MB / 0.904 GB, free: 29.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.937, allocations: 98.27 kB / 0.9041 GB, free: 29.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=541): time 3.302e-05/1.937, allocations: 0 / 0.9041 GB, free: 29.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=629): time 0.1547/2.092, allocations: 56.88 MB / 0.9597 GB, free: 8.672 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002505/2.092, allocations: 324.2 kB / 0.96 GB, free: 8.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02333/2.116, allocations: 7.05 MB / 0.9669 GB, free: 2.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002335/2.118, allocations: 29.7 kB / 0.9669 GB, free: 2.258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3611/2.479, allocations: 7.902 MB / 0.9746 GB, free: 110.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003262/2.483, allocations: 2.225 MB / 0.9768 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/2.484, allocations: 0 / 0.9768 GB, free: 109.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009305/2.485, allocations: 0.9262 MB / 0.9777 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01105/2.496, allocations: 6.205 MB / 0.9837 GB, free: 108.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02163/2.518, allocations: 14.02 MB / 0.9974 GB, free: 98.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/2.532, allocations: 9.206 MB / 1.006 GB, free: 98.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003413/2.533, allocations: 76.5 kB / 1.006 GB, free: 98.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.0455/2.578, allocations: 21.64 MB / 1.028 GB, free: 96.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000241/2.578, allocations: 121.1 kB / 1.028 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003869/2.579, allocations: 276.7 kB / 1.028 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00788/2.587, allocations: 3.284 MB / 1.031 GB, free: 95.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/2.6, allocations: 3.602 MB / 1.035 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/2.624, allocations: 21.32 MB / 1.056 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/2.638, allocations: 0.5994 MB / 1.056 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003732/2.641, allocations: 0.842 MB / 1.057 GB, free: 83.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * 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 (1799): * Single equations (assignments): 1792 * 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.005493/2.647, allocations: 0.8182 MB / 1.058 GB, free: 83.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/2.649, allocations: 0.8226 MB / 1.059 GB, free: 82.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/2.671, allocations: 13.75 MB / 1.072 GB, free: 77.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.53e-05/2.671, allocations: 67.95 kB / 1.072 GB, free: 77.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-05/2.671, allocations: 19.56 kB / 1.072 GB, free: 77.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001246/2.671, allocations: 35.12 kB / 1.072 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05986/2.731, allocations: 27.66 MB / 1.099 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/2.731, allocations: 0 / 1.099 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00686/2.738, allocations: 1.228 MB / 1.1 GB, free: 54.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00698/2.745, allocations: 2.8 MB / 1.103 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001726/2.747, allocations: 23.55 kB / 1.103 GB, free: 52.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/2.768, allocations: 19.67 MB / 1.122 GB, free: 35.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/2.768, allocations: 0 / 1.122 GB, free: 35.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3529/3.121, allocations: 21.94 MB / 1.144 GB, free: 92.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007158/3.129, allocations: 1.834 MB / 1.145 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002598/3.131, allocations: 4.594 kB / 1.145 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005977/3.137, allocations: 389.8 kB / 1.146 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/3.138, allocations: 363.4 kB / 1.146 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005204/3.139, allocations: 158.5 kB / 1.146 GB, free: 92.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01323/3.152, allocations: 4.764 MB / 1.151 GB, free: 92.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.92e-07/3.152, allocations: 0 / 1.151 GB, free: 92.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02023/3.172, allocations: 2.526 MB / 1.153 GB, free: 92.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (540): * Single equations (assignments): 533 * 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.002407/3.175, allocations: 188.5 kB / 1.154 GB, free: 92.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02775/3.203, allocations: 15.85 MB / 1.169 GB, free: 91.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/3.203, allocations: 3.562 kB / 1.169 GB, free: 91.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01129/3.214, allocations: 6.717 MB / 1.176 GB, free: 90.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007411/3.221, allocations: 0.86 MB / 1.177 GB, free: 90.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/3.273, allocations: 23.44 MB / 1.199 GB, free: 86.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01608/3.289, allocations: 8.319 MB / 1.208 GB, free: 83.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0154/3.305, allocations: 4.661 MB / 1.212 GB, free: 83.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/3.309, allocations: 0.6114 MB / 1.213 GB, free: 83.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.974e-06/3.309, allocations: 0 / 1.213 GB, free: 83.61 MB / 490.7 MB Notification: Performance of Templates: time 0.2419/3.551, allocations: 99.31 MB / 1.31 GB, free: 11.29 MB / 490.7 MB 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)