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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.748/1.748, allocations: 205.1 MB / 222 MB, free: 4.988 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.4775/0.4775, allocations: 39.94 MB / 309.3 MB, free: 9.574 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.00159/0.001591, allocations: 70.52 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1643, allocations: 56.88 MB / 433.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.393/0.5574, allocations: 90.53 MB / 0.512 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05794/0.6153, allocations: 17.24 MB / 0.5289 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0292/0.6446, allocations: 392.2 kB / 0.5293 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.6573, allocations: 5.069 MB / 0.5342 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.6681, allocations: 2.555 MB / 0.5367 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.672, allocations: 1.009 MB / 0.5377 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01737/0.6893, allocations: 10.06 MB / 0.5475 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.7005, allocations: 5.849 MB / 0.5532 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.7064, allocations: 2.273 MB / 0.5554 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007074/0.7135, allocations: 3.723 MB / 0.5591 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00248/0.7161, allocations: 400 kB / 0.5595 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.7212, allocations: 1.334 MB / 0.5608 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005677/0.7269, allocations: 3.125 MB / 0.5638 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.737, allocations: 3.522 MB / 0.5673 GB, free: 412 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.7532, allocations: 10.89 MB / 0.5779 GB, free: 5.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7533, allocations: 0 / 0.5779 GB, free: 5.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7533, allocations: 0 / 0.5779 GB, free: 5.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004901/0.7538, allocations: 0 / 0.5779 GB, free: 5.48 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.02613/0.7799, allocations: 7.919 MB / 0.5856 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.78, allocations: 8.031 kB / 0.5856 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.7943, allocations: 2.827 MB / 0.5884 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.8058, allocations: 4.519 MB / 0.5928 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.8063, allocations: 382.4 kB / 0.5932 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.8087, allocations: 0.5074 MB / 0.5937 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/0.8416, allocations: 15.64 MB / 0.6089 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/0.8419, allocations: 63.41 kB / 0.609 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009473/0.8429, allocations: 247.8 kB / 0.6092 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005272/0.8482, allocations: 3.059 MB / 0.6122 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.8765, allocations: 13.24 MB / 0.6251 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3451/1.222, allocations: 61.6 MB / 0.6853 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/1.239, allocations: 6.657 MB / 0.6918 GB, free: 98.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005875/1.245, allocations: 4.021 MB / 0.6957 GB, free: 97.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/1.264, allocations: 9.48 MB / 0.705 GB, free: 92.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/1.265, allocations: 62.19 kB / 0.705 GB, free: 92.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 6.793e-06/1.265, allocations: 1.375 kB / 0.705 GB, free: 92.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07632/1.341, allocations: 32.56 MB / 0.7368 GB, free: 69.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/1.341, allocations: 247.8 kB / 0.7371 GB, free: 69.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009764/1.351, allocations: 6.987 MB / 0.7439 GB, free: 62.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009203/1.352, allocations: 71.89 kB / 0.744 GB, free: 62.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.354, allocations: 4.771 MB / 0.7486 GB, free: 57.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.356, allocations: 1.184 MB / 0.7498 GB, free: 56.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/1.359, allocations: 1.919 MB / 0.7517 GB, free: 54.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/1.359, allocations: 301.1 kB / 0.752 GB, free: 54.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/1.364, allocations: 3.922 MB / 0.7558 GB, free: 50.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00729/1.371, allocations: 9.253 MB / 0.7648 GB, free: 38.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.385, allocations: 14.12 MB / 0.7786 GB, free: 21.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/1.385, allocations: 52 kB / 0.7787 GB, free: 21.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02668/1.412, allocations: 14.98 MB / 0.7933 GB, free: 6.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.412, allocations: 84 kB / 0.7934 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/1.412, allocations: 188.8 kB / 0.7935 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/1.417, allocations: 2.296 MB / 0.7958 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00736/1.425, allocations: 2.168 MB / 0.7979 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/1.443, allocations: 13.47 MB / 0.8111 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/1.452, allocations: 0.5499 MB / 0.8116 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/1.454, allocations: 0.5546 MB / 0.8121 GB, free: 3.094 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.2694/1.724, allocations: 3.223 MB / 0.8153 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.725, allocations: 0.5817 MB / 0.8159 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.738, allocations: 7.715 MB / 0.8234 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/1.738, allocations: 39.58 kB / 0.8234 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/1.738, allocations: 7.5 kB / 0.8234 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/1.738, allocations: 17.14 kB / 0.8234 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.767, allocations: 16.26 MB / 0.8393 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/1.767, allocations: 2.969 kB / 0.8393 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.77, allocations: 0.5211 MB / 0.8398 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/1.775, allocations: 2.04 MB / 0.8418 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/1.776, allocations: 58.34 kB / 0.8419 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/1.794, allocations: 12.66 MB / 0.8542 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.794, allocations: 11.61 kB / 0.8543 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/1.816, allocations: 12.23 MB / 0.8662 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/1.82, allocations: 1.185 MB / 0.8674 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/1.822, allocations: 56.28 kB / 0.8674 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/1.826, allocations: 230.7 kB / 0.8676 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/1.827, allocations: 190.9 kB / 0.8678 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/1.827, allocations: 84.88 kB / 0.8679 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009333/1.837, allocations: 4.47 MB / 0.8723 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.62e-07/1.837, allocations: 0 / 0.8723 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009671/1.847, allocations: 1.73 MB / 0.8739 GB, free: 125.5 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.0008436/1.847, allocations: 204.5 kB / 0.8741 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.86, allocations: 9.437 MB / 0.8834 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.86, allocations: 4 kB / 0.8834 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006057/1.866, allocations: 3.717 MB / 0.887 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/1.873, allocations: 0.7236 MB / 0.8877 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/1.899, allocations: 19.31 MB / 0.9066 GB, free: 95.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006772/1.906, allocations: 4.897 MB / 0.9113 GB, free: 91.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007499/1.913, allocations: 2.976 MB / 0.9142 GB, free: 88.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.915, allocations: 407.4 kB / 0.9146 GB, free: 87.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/1.915, allocations: 0 / 0.9146 GB, free: 87.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.1061/2.021, allocations: 68.77 MB / 0.9818 GB, free: 18.99 MB / 0.4981 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)