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.00122/0.00122, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.001234/0.001233, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.3907/0.3907, allocations: 38.04 MB / 308.4 MB, free: 10.37 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.0005942/0.0005944, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1416, allocations: 57.53 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2668/0.4084, allocations: 77.53 MB / 0.4995 GB, free: 6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03398/0.4424, allocations: 17.3 MB / 0.5164 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0133/0.4557, allocations: 387.9 kB / 0.5167 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.4676, allocations: 3.892 MB / 0.5205 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03368/0.5013, allocations: 11.03 MB / 0.5313 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.5063, allocations: 0.8526 MB / 0.5321 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04022/0.5466, allocations: 27.42 MB / 0.5589 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.5582, allocations: 7.387 MB / 0.5661 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.5626, allocations: 1.639 MB / 0.5677 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/0.5683, allocations: 2.208 MB / 0.5699 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.5699, allocations: 232 kB / 0.5701 GB, free: 472 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.5732, allocations: 0.9871 MB / 0.5711 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003164/0.5764, allocations: 2.626 MB / 0.5736 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.5784, allocations: 1.345 MB / 0.575 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.5887, allocations: 8.888 MB / 0.5836 GB, free: 2.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5887, allocations: 3.938 kB / 0.5836 GB, free: 2.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5887, allocations: 0 / 0.5836 GB, free: 2.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004277/0.5892, allocations: 4 kB / 0.5836 GB, free: 2.566 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.01753/0.6067, allocations: 6.995 MB / 0.5905 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6068, allocations: 8.031 kB / 0.5905 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0451/0.6519, allocations: 8.276 MB / 0.5986 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.6638, allocations: 4.796 MB / 0.6032 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.6642, allocations: 381.9 kB / 0.6036 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.6662, allocations: 0.5074 MB / 0.6041 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03231/0.6985, allocations: 15.69 MB / 0.6194 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002748/0.6988, allocations: 67.38 kB / 0.6195 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.7, allocations: 239.8 kB / 0.6197 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005339/0.7054, allocations: 3.067 MB / 0.6227 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2808/0.9863, allocations: 13.16 MB / 0.6356 GB, free: 139.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07739/1.064, allocations: 61.29 MB / 0.6954 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/1.081, allocations: 6.749 MB / 0.702 GB, free: 97.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/1.1, allocations: 9.338 MB / 0.7111 GB, free: 93.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/1.1, allocations: 66.19 kB / 0.7112 GB, free: 93.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 5.1e-06/1.1, allocations: 0 / 0.7112 GB, free: 93.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07168/1.171, allocations: 32.12 MB / 0.7426 GB, free: 67.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.172, allocations: 235.9 kB / 0.7428 GB, free: 67.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009737/1.181, allocations: 7.226 MB / 0.7498 GB, free: 60.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.183, allocations: 69.7 kB / 0.7499 GB, free: 60.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/1.185, allocations: 4.813 MB / 0.7546 GB, free: 55.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.187, allocations: 1.176 MB / 0.7557 GB, free: 54.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/1.187, allocations: 183.9 kB / 0.7559 GB, free: 54.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003481/1.188, allocations: 0.6904 MB / 0.7566 GB, free: 53.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/1.192, allocations: 3.664 MB / 0.7602 GB, free: 49.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006903/1.199, allocations: 8.941 MB / 0.7689 GB, free: 38.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00824/1.207, allocations: 5.607 MB / 0.7744 GB, free: 32.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/1.207, allocations: 52 kB / 0.7744 GB, free: 32.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02564/1.233, allocations: 13.93 MB / 0.788 GB, free: 18.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.233, allocations: 88.06 kB / 0.7881 GB, free: 18.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/1.233, allocations: 188 kB / 0.7883 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/1.238, allocations: 1.812 MB / 0.7901 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007144/1.245, allocations: 2.109 MB / 0.7921 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.258, allocations: 12.34 MB / 0.8042 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008404/1.266, allocations: 0.5257 MB / 0.8047 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002094/1.268, allocations: 0.5351 MB / 0.8052 GB, free: 0.6914 MB / 494.1 MB 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 (1102): * Single equations (assignments): 1095 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00756/1.276, allocations: 3.223 MB / 0.8084 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/1.278, allocations: 0.5938 MB / 0.8089 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.291, allocations: 6.966 MB / 0.8157 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.291, allocations: 35.98 kB / 0.8158 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/1.291, allocations: 8 kB / 0.8158 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.291, allocations: 11.95 kB / 0.8158 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.254/1.545, allocations: 15.54 MB / 0.831 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/1.545, allocations: 6.031 kB / 0.831 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.548, allocations: 0.5234 MB / 0.8315 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/1.551, allocations: 1.521 MB / 0.833 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/1.552, allocations: 57.39 kB / 0.833 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.564, allocations: 11.48 MB / 0.8442 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.564, allocations: 5.75 kB / 0.8442 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.581, allocations: 12.15 MB / 0.8561 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003852/1.585, allocations: 1.183 MB / 0.8573 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.587, allocations: 67.22 kB / 0.8573 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/1.591, allocations: 202.8 kB / 0.8575 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006674/1.591, allocations: 187 kB / 0.8577 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/1.592, allocations: 86.66 kB / 0.8578 GB, free: 131.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01038/1.602, allocations: 4.651 MB / 0.8623 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.22e-07/1.602, allocations: 1.094 kB / 0.8623 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01089/1.613, allocations: 1.682 MB / 0.864 GB, free: 130.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.00112/1.614, allocations: 222 kB / 0.8642 GB, free: 130 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.629, allocations: 8.989 MB / 0.873 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.629, allocations: 0 / 0.873 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005658/1.635, allocations: 3.487 MB / 0.8764 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/1.639, allocations: 0.7091 MB / 0.8771 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.665, allocations: 18.37 MB / 0.895 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006162/1.672, allocations: 5.034 MB / 0.8999 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008298/1.68, allocations: 2.984 MB / 0.9028 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/1.682, allocations: 415.3 kB / 0.9032 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/1.682, allocations: 4 kB / 0.9032 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.09904/1.781, allocations: 65.1 MB / 0.9668 GB, free: 41.45 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: