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.01154/0.01154, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001831/0.001831, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1976/0.1976, allocations: 39.97 MB / 309.9 MB, free: 4.012 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.001456/0.001456, allocations: 67.91 kB / 435.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 56.88 MB / 492.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01767/0.1454, allocations: 17.11 MB / 0.4979 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.1599, allocations: 5.101 MB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004701/0.1647, allocations: 115.7 kB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.1754, allocations: 5.062 MB / 0.5079 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.186, allocations: 2.715 MB / 0.5105 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.19, allocations: 1.08 MB / 0.5116 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3376/0.5276, allocations: 6.826 MB / 0.5183 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009666/0.5374, allocations: 5.931 MB / 0.5241 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/0.5441, allocations: 2.558 MB / 0.5266 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007144/0.5513, allocations: 3.47 MB / 0.5299 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002586/0.5539, allocations: 0.5504 MB / 0.5305 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.5586, allocations: 1.428 MB / 0.5319 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005079/0.5637, allocations: 3.238 MB / 0.535 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006196/0.5699, allocations: 3.659 MB / 0.5386 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.5845, allocations: 11.38 MB / 0.5497 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5845, allocations: 2.531 kB / 0.5497 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5845, allocations: 2.75 kB / 0.5497 GB, free: 11.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004721/0.585, allocations: 3.938 kB / 0.5497 GB, free: 11.1 MB / 414.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.02208/0.6071, allocations: 7.919 MB / 0.5575 GB, free: 5.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6072, allocations: 11.89 kB / 0.5575 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.6216, allocations: 2.836 MB / 0.5602 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.6328, allocations: 4.584 MB / 0.5647 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.6331, allocations: 384.9 kB / 0.5651 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.6354, allocations: 0.5014 MB / 0.5656 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03528/0.6707, allocations: 15.64 MB / 0.5809 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002443/0.671, allocations: 69.42 kB / 0.5809 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.6722, allocations: 245.2 kB / 0.5812 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005726/0.6779, allocations: 3.066 MB / 0.5841 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/0.7065, allocations: 13.24 MB / 0.5971 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08783/0.7944, allocations: 61.32 MB / 0.657 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/0.8114, allocations: 6.656 MB / 0.6635 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/0.8169, allocations: 4.031 MB / 0.6674 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02052/0.8374, allocations: 9.464 MB / 0.6766 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/0.8376, allocations: 62.81 kB / 0.6767 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 6.161e-06/0.8376, allocations: 7.938 kB / 0.6767 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.08806/0.9256, allocations: 32.57 MB / 0.7085 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.9258, allocations: 239.9 kB / 0.7088 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/0.9389, allocations: 6.991 MB / 0.7156 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009367/0.9399, allocations: 77.3 kB / 0.7157 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004357/0.9442, allocations: 4.76 MB / 0.7203 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/0.9463, allocations: 1.186 MB / 0.7215 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003941/0.9503, allocations: 1.918 MB / 0.7233 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9504, allocations: 301.1 kB / 0.7236 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006498/0.9569, allocations: 3.922 MB / 0.7275 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2833/1.24, allocations: 9.242 MB / 0.7365 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02032/1.261, allocations: 14.12 MB / 0.7503 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003258/1.261, allocations: 52.88 kB / 0.7503 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03604/1.297, allocations: 14.99 MB / 0.765 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/1.297, allocations: 84.28 kB / 0.765 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003681/1.298, allocations: 188.6 kB / 0.7652 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006403/1.304, allocations: 2.305 MB / 0.7675 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007933/1.312, allocations: 2.171 MB / 0.7696 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.329, allocations: 14.4 MB / 0.7836 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009095/1.338, allocations: 0.5434 MB / 0.7842 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.34, allocations: 0.5499 MB / 0.7847 GB, free: 162.4 MB / 0.5762 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.006532/1.347, allocations: 3.23 MB / 0.7879 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.349, allocations: 0.5826 MB / 0.7884 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.362, allocations: 7.721 MB / 0.796 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/1.362, allocations: 32 kB / 0.796 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/1.362, allocations: 8 kB / 0.796 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-05/1.362, allocations: 21.77 kB / 0.796 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/1.393, allocations: 16.04 MB / 0.8117 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/1.393, allocations: 8.094 kB / 0.8117 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.395, allocations: 0.5149 MB / 0.8122 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/1.4, allocations: 2.045 MB / 0.8142 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005016/1.401, allocations: 60.86 kB / 0.8143 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.415, allocations: 13.7 MB / 0.8276 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.415, allocations: 11.94 kB / 0.8277 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/1.432, allocations: 12.26 MB / 0.8396 GB, free: 111.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004057/1.436, allocations: 1.188 MB / 0.8408 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00244/1.439, allocations: 59.67 kB / 0.8408 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003749/1.443, allocations: 223.6 kB / 0.8411 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/1.443, allocations: 193.9 kB / 0.8412 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.443, allocations: 83.98 kB / 0.8413 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008769/1.452, allocations: 4.469 MB / 0.8457 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/1.452, allocations: 0 / 0.8457 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01049/1.463, allocations: 1.731 MB / 0.8474 GB, free: 103.4 MB / 0.5762 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.000851/1.464, allocations: 208.3 kB / 0.8476 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.476, allocations: 9.482 MB / 0.8568 GB, free: 93.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.476, allocations: 0 / 0.8568 GB, free: 93.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005622/1.482, allocations: 3.73 MB / 0.8605 GB, free: 89.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004722/1.487, allocations: 0.7399 MB / 0.8612 GB, free: 89.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/1.511, allocations: 16.07 MB / 0.8769 GB, free: 73.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007824/1.519, allocations: 4.893 MB / 0.8817 GB, free: 68.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007296/1.527, allocations: 2.965 MB / 0.8846 GB, free: 65.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/1.529, allocations: 407.3 kB / 0.885 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.529, allocations: 4 kB / 0.885 GB, free: 64.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1003/1.629, allocations: 66.13 MB / 0.9495 GB, free: 14.78 MB / 0.5919 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)