Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001409/0.001409, allocations: 193 kB / 16.13 MB, free: 6.66 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.665/1.665, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3855/0.3855, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.1. 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.001499/0.001499, allocations: 60.14 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 56.46 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.3643/0.4964, allocations: 90.53 MB / 0.5093 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05667/0.5531, allocations: 17.25 MB / 0.5262 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02796/0.5812, allocations: 392.7 kB / 0.5265 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.5931, allocations: 5.067 MB / 0.5315 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009947/0.6031, allocations: 2.543 MB / 0.534 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.6068, allocations: 1.004 MB / 0.5349 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.6238, allocations: 10.06 MB / 0.5448 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.6363, allocations: 5.856 MB / 0.5505 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007145/0.6435, allocations: 2.265 MB / 0.5527 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007622/0.6512, allocations: 3.73 MB / 0.5563 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003076/0.6543, allocations: 399.9 kB / 0.5567 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/0.6605, allocations: 1.346 MB / 0.558 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005893/0.6664, allocations: 3.121 MB / 0.5611 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007859/0.6743, allocations: 3.514 MB / 0.5645 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.6902, allocations: 10.88 MB / 0.5751 GB, free: 9.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.838e-05/0.6903, allocations: 0 / 0.5751 GB, free: 9.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6903, allocations: 3.938 kB / 0.5751 GB, free: 9.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006166/0.6909, allocations: 0 / 0.5751 GB, free: 9.473 MB / 446.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.02461/0.7156, allocations: 7.919 MB / 0.5829 GB, free: 1.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.7157, allocations: 12.03 kB / 0.5829 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.729, allocations: 2.827 MB / 0.5856 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.74, allocations: 4.511 MB / 0.5901 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.7404, allocations: 394.4 kB / 0.5904 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/0.7427, allocations: 0.5034 MB / 0.5909 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/0.7744, allocations: 15.64 MB / 0.6062 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/0.7748, allocations: 75.34 kB / 0.6063 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/0.7761, allocations: 239.8 kB / 0.6065 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005988/0.7821, allocations: 3.063 MB / 0.6095 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/0.8108, allocations: 13.24 MB / 0.6224 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3914/1.202, allocations: 61.59 MB / 0.6826 GB, free: 103.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.219, allocations: 6.653 MB / 0.6891 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/1.226, allocations: 4.026 MB / 0.693 GB, free: 99.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02269/1.249, allocations: 9.482 MB / 0.7023 GB, free: 95.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.249, allocations: 63.12 kB / 0.7023 GB, free: 95.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 8.065e-06/1.249, allocations: 0 / 0.7023 GB, free: 95.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.08041/1.33, allocations: 32.58 MB / 0.7341 GB, free: 75.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.33, allocations: 243.9 kB / 0.7344 GB, free: 75.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.34, allocations: 6.987 MB / 0.7412 GB, free: 68.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.341, allocations: 69.7 kB / 0.7413 GB, free: 68.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.344, allocations: 4.767 MB / 0.7459 GB, free: 63.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002007/1.346, allocations: 1.187 MB / 0.7471 GB, free: 62.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002752/1.349, allocations: 1.915 MB / 0.7489 GB, free: 60.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/1.349, allocations: 301.1 kB / 0.7492 GB, free: 60.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.354, allocations: 3.922 MB / 0.7531 GB, free: 56.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007965/1.362, allocations: 9.252 MB / 0.7621 GB, free: 44.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.377, allocations: 14.13 MB / 0.7759 GB, free: 27.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002124/1.377, allocations: 55.94 kB / 0.7759 GB, free: 27.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02691/1.404, allocations: 14.98 MB / 0.7906 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.404, allocations: 84 kB / 0.7907 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.404, allocations: 184 kB / 0.7908 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/1.409, allocations: 2.292 MB / 0.7931 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007524/1.417, allocations: 2.173 MB / 0.7952 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.434, allocations: 13.46 MB / 0.8083 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009751/1.443, allocations: 0.5499 MB / 0.8089 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/1.446, allocations: 0.5507 MB / 0.8094 GB, free: 9.066 MB / 0.4981 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.01286/1.459, allocations: 3.23 MB / 0.8126 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002604/1.461, allocations: 0.5823 MB / 0.8131 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2999/1.761, allocations: 7.717 MB / 0.8207 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-05/1.761, allocations: 31.25 kB / 0.8207 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-05/1.761, allocations: 9.562 kB / 0.8207 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.794e-05/1.762, allocations: 16.53 kB / 0.8207 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/1.791, allocations: 16.24 MB / 0.8366 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/1.791, allocations: 3.281 kB / 0.8366 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.793, allocations: 0.525 MB / 0.8371 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005061/1.798, allocations: 2.031 MB / 0.8391 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006638/1.799, allocations: 65.16 kB / 0.8391 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.018/1.817, allocations: 12.66 MB / 0.8515 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/1.817, allocations: 8.297 kB / 0.8515 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/1.84, allocations: 12.23 MB / 0.8635 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003636/1.844, allocations: 1.183 MB / 0.8646 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/1.846, allocations: 58.39 kB / 0.8647 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003703/1.849, allocations: 222.7 kB / 0.8649 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008401/1.85, allocations: 191.3 kB / 0.8651 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.851, allocations: 80.56 kB / 0.8652 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008635/1.859, allocations: 4.48 MB / 0.8695 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.82e-07/1.859, allocations: 0 / 0.8695 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01095/1.87, allocations: 1.722 MB / 0.8712 GB, free: 130 MB / 0.4981 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.001034/1.871, allocations: 212.6 kB / 0.8714 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01836/1.89, allocations: 9.439 MB / 0.8806 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.89, allocations: 0 / 0.8806 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006228/1.896, allocations: 3.724 MB / 0.8843 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006214/1.902, allocations: 0.7181 MB / 0.885 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/1.931, allocations: 19.31 MB / 0.9038 GB, free: 105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005466/1.936, allocations: 4.889 MB / 0.9086 GB, free: 100 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00816/1.945, allocations: 2.973 MB / 0.9115 GB, free: 97.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/1.946, allocations: 411.3 kB / 0.9119 GB, free: 96.65 MB / 0.4981 GB Notification: Performance of SimCode: time 1.794e-06/1.946, allocations: 0 / 0.9119 GB, free: 96.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.1088/2.055, allocations: 68.78 MB / 0.9791 GB, free: 27.97 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)