Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0118/0.0118, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002527/0.002527, allocations: 202.2 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3649/0.3649, allocations: 39.94 MB / 309.8 MB, free: 9.41 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4215, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01964/0.4412, allocations: 17.1 MB / 0.4979 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.4549, allocations: 5.11 MB / 0.5028 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006785/0.4617, allocations: 111.2 kB / 0.503 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.4723, allocations: 5.067 MB / 0.5079 GB, free: 260 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.4837, allocations: 2.707 MB / 0.5105 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.4876, allocations: 1.083 MB / 0.5116 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01493/0.5025, allocations: 6.825 MB / 0.5183 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00829/0.5109, allocations: 5.947 MB / 0.5241 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007149/0.5181, allocations: 2.558 MB / 0.5266 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006963/0.5251, allocations: 3.485 MB / 0.53 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002074/0.5272, allocations: 0.5469 MB / 0.5305 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.5318, allocations: 1.436 MB / 0.5319 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004299/0.5361, allocations: 3.257 MB / 0.5351 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006777/0.5429, allocations: 3.659 MB / 0.5387 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.5602, allocations: 11.38 MB / 0.5498 GB, free: 9.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5603, allocations: 0 / 0.5498 GB, free: 9.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5603, allocations: 0 / 0.5498 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004389/0.5607, allocations: 0 / 0.5498 GB, free: 9.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02335/0.5841, allocations: 7.907 MB / 0.5575 GB, free: 1.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5841, allocations: 19.88 kB / 0.5575 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.598, allocations: 2.827 MB / 0.5603 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.6133, allocations: 4.597 MB / 0.5648 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007615/0.6141, allocations: 386.2 kB / 0.5651 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003941/0.6181, allocations: 0.5112 MB / 0.5656 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04226/0.6604, allocations: 15.63 MB / 0.5809 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004213/0.6609, allocations: 67.47 kB / 0.581 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.6634, allocations: 243.8 kB / 0.5812 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006716/0.6701, allocations: 3.067 MB / 0.5842 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03471/0.7049, allocations: 13.24 MB / 0.5971 GB, free: 8.074 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4447/1.15, allocations: 61.31 MB / 0.657 GB, free: 83.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/1.167, allocations: 6.651 MB / 0.6635 GB, free: 82.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005366/1.173, allocations: 4.025 MB / 0.6674 GB, free: 81.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/1.191, allocations: 9.473 MB / 0.6767 GB, free: 76.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/1.191, allocations: 67.16 kB / 0.6767 GB, free: 76.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=269): time 5.641e-06/1.191, allocations: 0.9688 kB / 0.6767 GB, free: 76.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=311): time 0.07989/1.271, allocations: 32.58 MB / 0.7086 GB, free: 58.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.271, allocations: 243.2 kB / 0.7088 GB, free: 58.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008493/1.28, allocations: 6.991 MB / 0.7156 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.281, allocations: 73.14 kB / 0.7157 GB, free: 51.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/1.283, allocations: 4.768 MB / 0.7203 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.285, allocations: 1.184 MB / 0.7215 GB, free: 45.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002244/1.287, allocations: 1.911 MB / 0.7234 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/1.287, allocations: 309.1 kB / 0.7237 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.293, allocations: 3.921 MB / 0.7275 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007115/1.3, allocations: 9.245 MB / 0.7365 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.313, allocations: 14.12 MB / 0.7503 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.313, allocations: 56 kB / 0.7504 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02689/1.34, allocations: 14.99 MB / 0.765 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000225/1.34, allocations: 84 kB / 0.7651 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003572/1.34, allocations: 192 kB / 0.7653 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/1.347, allocations: 2.293 MB / 0.7675 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008118/1.355, allocations: 2.172 MB / 0.7696 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/1.377, allocations: 14.4 MB / 0.7837 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008645/1.385, allocations: 0.5475 MB / 0.7842 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/1.388, allocations: 0.5429 MB / 0.7847 GB, free: 7.414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008582/1.397, allocations: 3.226 MB / 0.7879 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/1.399, allocations: 0.5822 MB / 0.7885 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/1.418, allocations: 7.726 MB / 0.796 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/1.419, allocations: 32 kB / 0.796 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.382e-05/1.419, allocations: 8 kB / 0.796 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-05/1.419, allocations: 15.95 kB / 0.7961 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04164/1.46, allocations: 16.07 MB / 0.8117 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.46, allocations: 7.938 kB / 0.8118 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.464, allocations: 0.5187 MB / 0.8123 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006077/1.47, allocations: 2.038 MB / 0.8143 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008414/1.471, allocations: 59.98 kB / 0.8143 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.491, allocations: 13.69 MB / 0.8277 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.491, allocations: 8 kB / 0.8277 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/1.515, allocations: 12.25 MB / 0.8396 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004762/1.52, allocations: 1.184 MB / 0.8408 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/1.523, allocations: 52 kB / 0.8409 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005042/1.528, allocations: 223.6 kB / 0.8411 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/1.529, allocations: 197.9 kB / 0.8413 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007288/1.53, allocations: 83.98 kB / 0.8413 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01105/1.541, allocations: 4.471 MB / 0.8457 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/1.541, allocations: 0 / 0.8457 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01166/1.553, allocations: 1.725 MB / 0.8474 GB, free: 6.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/1.554, allocations: 208 kB / 0.8476 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02007/1.574, allocations: 9.489 MB / 0.8569 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.574, allocations: 0 / 0.8569 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007892/1.582, allocations: 3.728 MB / 0.8605 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009239/1.592, allocations: 0.7379 MB / 0.8612 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3494/1.941, allocations: 16.07 MB / 0.8769 GB, free: 210.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/1.956, allocations: 4.893 MB / 0.8817 GB, free: 209.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01163/1.967, allocations: 2.97 MB / 0.8846 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/1.971, allocations: 408.7 kB / 0.885 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of SimCode: time 2.324e-06/1.971, allocations: 1.469 kB / 0.885 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.1185/2.089, allocations: 66.32 MB / 0.9497 GB, free: 165.9 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)