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.001177/0.001177, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001329/0.001329, allocations: 192.6 kB / 16.25 MB, free: 6.156 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.606/1.606, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.343/0.343, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001406/0.001406, allocations: 66.34 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1268, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2942/0.421, allocations: 90.53 MB / 0.5095 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04484/0.4659, allocations: 17.15 MB / 0.5262 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0224/0.4884, allocations: 386.5 kB / 0.5266 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.4992, allocations: 4.883 MB / 0.5314 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.5102, allocations: 2.525 MB / 0.5338 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.5144, allocations: 1.026 MB / 0.5348 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.5286, allocations: 7.084 MB / 0.5418 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009375/0.538, allocations: 6.258 MB / 0.5479 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005798/0.5438, allocations: 2.609 MB / 0.5504 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007616/0.5515, allocations: 3.863 MB / 0.5542 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002376/0.5539, allocations: 0.543 MB / 0.5547 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.5583, allocations: 1.448 MB / 0.5561 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005082/0.5634, allocations: 3.285 MB / 0.5593 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0075/0.5709, allocations: 3.698 MB / 0.563 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.5893, allocations: 11.09 MB / 0.5738 GB, free: 10.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5894, allocations: 0 / 0.5738 GB, free: 10.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5894, allocations: 0 / 0.5738 GB, free: 10.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005505/0.59, allocations: 4 kB / 0.5738 GB, free: 10.9 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.02611/0.6161, allocations: 7.919 MB / 0.5815 GB, free: 2.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.6162, allocations: 11.89 kB / 0.5815 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.6297, allocations: 2.83 MB / 0.5843 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.64, allocations: 4.508 MB / 0.5887 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.6404, allocations: 386.4 kB / 0.5891 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/0.6426, allocations: 0.5112 MB / 0.5896 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/0.6747, allocations: 15.64 MB / 0.6048 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/0.6749, allocations: 67.31 kB / 0.6049 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/0.6758, allocations: 243.8 kB / 0.6051 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0051/0.6809, allocations: 3.063 MB / 0.6081 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02567/0.7066, allocations: 13.24 MB / 0.6211 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2915/0.9981, allocations: 61.6 MB / 0.6812 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.014, allocations: 6.647 MB / 0.6877 GB, free: 100.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/1.019, allocations: 4.029 MB / 0.6916 GB, free: 99.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/1.038, allocations: 9.488 MB / 0.7009 GB, free: 94.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/1.038, allocations: 67.08 kB / 0.701 GB, free: 94.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 6.242e-06/1.038, allocations: 0 / 0.701 GB, free: 94.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07374/1.112, allocations: 32.58 MB / 0.7328 GB, free: 76.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/1.112, allocations: 243.9 kB / 0.733 GB, free: 76.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009339/1.121, allocations: 6.988 MB / 0.7398 GB, free: 69.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008309/1.122, allocations: 73.7 kB / 0.7399 GB, free: 69.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002773/1.125, allocations: 4.77 MB / 0.7446 GB, free: 64.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.126, allocations: 1.178 MB / 0.7457 GB, free: 63.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/1.128, allocations: 1.918 MB / 0.7476 GB, free: 61.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/1.128, allocations: 305.1 kB / 0.7479 GB, free: 61.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/1.133, allocations: 3.926 MB / 0.7517 GB, free: 57.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/1.139, allocations: 9.248 MB / 0.7607 GB, free: 45.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.15, allocations: 14.11 MB / 0.7745 GB, free: 28.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.904e-05/1.15, allocations: 63.92 kB / 0.7746 GB, free: 28.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02538/1.176, allocations: 14.98 MB / 0.7892 GB, free: 13.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.176, allocations: 87.98 kB / 0.7893 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.176, allocations: 188 kB / 0.7895 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/1.181, allocations: 2.297 MB / 0.7917 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006915/1.188, allocations: 2.172 MB / 0.7938 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.204, allocations: 14.41 MB / 0.8079 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007922/1.212, allocations: 0.5461 MB / 0.8084 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001794/1.214, allocations: 0.5467 MB / 0.809 GB, free: 9.324 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.007002/1.221, allocations: 3.226 MB / 0.8121 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.222, allocations: 0.5862 MB / 0.8127 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2109/1.433, allocations: 7.711 MB / 0.8202 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/1.433, allocations: 35.2 kB / 0.8203 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.857e-05/1.433, allocations: 9.844 kB / 0.8203 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.838e-05/1.433, allocations: 16.16 kB / 0.8203 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.462, allocations: 16.24 MB / 0.8362 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/1.462, allocations: 9.906 kB / 0.8362 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/1.465, allocations: 0.5253 MB / 0.8367 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/1.47, allocations: 2.04 MB / 0.8387 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007729/1.471, allocations: 55.64 kB / 0.8387 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/1.487, allocations: 13.62 MB / 0.852 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.487, allocations: 7.688 kB / 0.852 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/1.511, allocations: 12.23 MB / 0.864 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00433/1.515, allocations: 1.185 MB / 0.8651 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002297/1.517, allocations: 53 kB / 0.8652 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004513/1.522, allocations: 226.2 kB / 0.8654 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/1.523, allocations: 189.2 kB / 0.8656 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.523, allocations: 82.08 kB / 0.8657 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01082/1.534, allocations: 4.479 MB / 0.87 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.534, allocations: 0 / 0.87 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009521/1.544, allocations: 1.73 MB / 0.8717 GB, free: 128.6 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.0008868/1.545, allocations: 208.5 kB / 0.8719 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.562, allocations: 11.52 MB / 0.8832 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.562, allocations: 0 / 0.8832 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00563/1.567, allocations: 3.715 MB / 0.8868 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/1.573, allocations: 0.7578 MB / 0.8875 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.598, allocations: 19.31 MB / 0.9064 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005968/1.604, allocations: 4.893 MB / 0.9112 GB, free: 97.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006623/1.611, allocations: 2.969 MB / 0.9141 GB, free: 94.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.612, allocations: 407.3 kB / 0.9145 GB, free: 93.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/1.612, allocations: 0 / 0.9145 GB, free: 93.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.1057/1.718, allocations: 71.47 MB / 0.9843 GB, free: 22.55 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)