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.001663/0.001663, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.289/1.289, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001538/0.001538, allocations: 107.4 kB / 223.2 MB, free: 4.109 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.1664/0.1664, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.988e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08326, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.379/0.4623, allocations: 97.07 MB / 0.491 GB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4626, allocations: 75.7 kB / 0.4911 GB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8384/1.301, allocations: 223.3 MB / 0.7091 GB, free: 57.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.301, allocations: 3.938 kB / 0.7091 GB, free: 57.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001004/1.302, allocations: 242.1 kB / 0.7094 GB, free: 57.09 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.0449/1.347, allocations: 11.37 MB / 0.7205 GB, free: 50.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.347, allocations: 7.188 kB / 0.7205 GB, free: 50.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/1.398, allocations: 12.63 MB / 0.7328 GB, free: 38.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03081/1.429, allocations: 12.54 MB / 0.7451 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008004/1.43, allocations: 0.8982 MB / 0.7459 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008779/1.439, allocations: 1.199 MB / 0.7471 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07316/1.512, allocations: 28.12 MB / 0.7746 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007143/1.513, allocations: 130.8 kB / 0.7747 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005606/1.519, allocations: 0.5603 MB / 0.7752 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004662/1.523, allocations: 2.676 MB / 0.7778 GB, free: 7.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3811/1.904, allocations: 23.21 MB / 0.8005 GB, free: 61.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.157/2.061, allocations: 116.8 MB / 0.9146 GB, free: 23.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03374/2.095, allocations: 13.61 MB / 0.9279 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/2.105, allocations: 7.867 MB / 0.9355 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/2.108, allocations: 2.35 MB / 0.9378 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.383e-05/2.108, allocations: 94.81 kB / 0.9379 GB, free: 10.44 MB / 474.7 MB Notification: Performance of pre-optimization done (n=559): time 9.247e-06/2.108, allocations: 0 / 0.9379 GB, free: 10.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=643): time 0.4781/2.586, allocations: 53.69 MB / 0.9904 GB, free: 105.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/2.586, allocations: 330.6 kB / 0.9907 GB, free: 105.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01915/2.605, allocations: 8.98 MB / 0.9994 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001806/2.607, allocations: 127.2 kB / 0.9996 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005868/2.613, allocations: 7.727 MB / 1.007 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00337/2.617, allocations: 2.345 MB / 1.009 GB, free: 98.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/2.618, allocations: 285.9 kB / 1.01 GB, free: 98.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007538/2.619, allocations: 0.9076 MB / 1.011 GB, free: 98.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/2.629, allocations: 6.388 MB / 1.017 GB, free: 98.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01769/2.647, allocations: 13.95 MB / 1.03 GB, free: 89.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/2.662, allocations: 9.357 MB / 1.04 GB, free: 86.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003246/2.662, allocations: 75.06 kB / 1.04 GB, free: 86.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.05181/2.714, allocations: 23.22 MB / 1.062 GB, free: 78.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000323/2.715, allocations: 118.5 kB / 1.062 GB, free: 78.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004458/2.715, allocations: 262.2 kB / 1.063 GB, free: 78.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/2.724, allocations: 3.26 MB / 1.066 GB, free: 77.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01437/2.738, allocations: 3.505 MB / 1.069 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/2.763, allocations: 22.55 MB / 1.091 GB, free: 60.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/2.778, allocations: 0.8648 MB / 1.092 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004669/2.783, allocations: 0.8092 MB / 1.093 GB, free: 58.87 MB / 490.7 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 () * 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.005736/2.788, allocations: 1.176 MB / 1.094 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002702/2.791, allocations: 0.9488 MB / 1.095 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02685/2.818, allocations: 14.44 MB / 1.109 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/2.818, allocations: 71.59 kB / 1.109 GB, free: 44.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/2.818, allocations: 19.44 kB / 1.109 GB, free: 44.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001608/2.818, allocations: 30.23 kB / 1.109 GB, free: 44.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06894/2.887, allocations: 31.11 MB / 1.14 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/2.887, allocations: 8 kB / 1.14 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006865/2.894, allocations: 1.217 MB / 1.141 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007086/2.901, allocations: 2.82 MB / 1.144 GB, free: 16.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001771/2.903, allocations: 115.5 kB / 1.144 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3592/3.262, allocations: 21.09 MB / 1.164 GB, free: 93.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/3.263, allocations: 9.844 kB / 1.164 GB, free: 93.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/3.296, allocations: 23.76 MB / 1.187 GB, free: 90.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007152/3.304, allocations: 2.035 MB / 1.189 GB, free: 90.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003912/3.307, allocations: 121.7 kB / 1.19 GB, free: 90.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007566/3.315, allocations: 487.5 kB / 1.19 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/3.317, allocations: 395 kB / 1.19 GB, free: 90.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000571/3.317, allocations: 163.5 kB / 1.191 GB, free: 90.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01471/3.332, allocations: 6.421 MB / 1.197 GB, free: 88.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.332, allocations: 0 / 1.197 GB, free: 88.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01709/3.349, allocations: 2.93 MB / 1.2 GB, free: 88 MB / 490.7 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 () * 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.001928/3.351, allocations: 303.8 kB / 1.2 GB, free: 87.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02554/3.377, allocations: 16.02 MB / 1.216 GB, free: 82.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/3.377, allocations: 4.766 kB / 1.216 GB, free: 82.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01174/3.389, allocations: 7.055 MB / 1.223 GB, free: 79.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/3.397, allocations: 1.198 MB / 1.224 GB, free: 79.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04643/3.443, allocations: 23.99 MB / 1.247 GB, free: 62.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/3.456, allocations: 8.31 MB / 1.255 GB, free: 56.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01393/3.47, allocations: 4.717 MB / 1.26 GB, free: 53.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004106/3.475, allocations: 0.6687 MB / 1.261 GB, free: 53.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/3.475, allocations: 0 / 1.261 GB, free: 53.06 MB / 490.7 MB Notification: Performance of Templates: time 0.5146/3.989, allocations: 110.3 MB / 1.368 GB, free: 102.4 MB / 0.4948 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)