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.006757/0.006757, allocations: 101 kB / 15.73 MB, free: 5.996 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.001569/0.001569, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1967/0.1967, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.001437/0.001437, allocations: 67.91 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 56.48 MB / 489.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01782/0.1388, allocations: 17.1 MB / 0.4947 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.151, allocations: 5.097 MB / 0.4997 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/0.1558, allocations: 111.7 kB / 0.4998 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.166, allocations: 5.074 MB / 0.5048 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007694/0.1738, allocations: 2.707 MB / 0.5074 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.1766, allocations: 1.08 MB / 0.5085 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2638/0.4405, allocations: 6.839 MB / 0.5151 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008251/0.4487, allocations: 5.932 MB / 0.5209 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/0.4548, allocations: 2.565 MB / 0.5234 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008305/0.4632, allocations: 3.475 MB / 0.5268 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.466, allocations: 0.5515 MB / 0.5274 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.4715, allocations: 1.429 MB / 0.5288 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005169/0.4767, allocations: 3.254 MB / 0.5319 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007852/0.4846, allocations: 3.667 MB / 0.5355 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4985, allocations: 11.37 MB / 0.5466 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4985, allocations: 4 kB / 0.5466 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4986, allocations: 4 kB / 0.5466 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003566/0.4989, allocations: 0 / 0.5466 GB, free: 13.25 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.02133/0.5203, allocations: 7.911 MB / 0.5544 GB, free: 7.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5203, allocations: 13.27 kB / 0.5544 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.5343, allocations: 2.829 MB / 0.5571 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.5477, allocations: 4.591 MB / 0.5616 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.5482, allocations: 388.1 kB / 0.562 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/0.551, allocations: 0.5056 MB / 0.5625 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.5819, allocations: 15.64 MB / 0.5778 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002211/0.5822, allocations: 78.27 kB / 0.5778 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009023/0.5831, allocations: 242 kB / 0.5781 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00573/0.5888, allocations: 3.056 MB / 0.581 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02995/0.6188, allocations: 13.24 MB / 0.594 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08952/0.7083, allocations: 61.33 MB / 0.6539 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.7249, allocations: 6.658 MB / 0.6604 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005738/0.7307, allocations: 4.029 MB / 0.6643 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0203/0.7511, allocations: 9.467 MB / 0.6735 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.996e-05/0.7512, allocations: 61.41 kB / 0.6736 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 5.229e-06/0.7512, allocations: 0 / 0.6736 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.08907/0.8403, allocations: 32.58 MB / 0.7054 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.8405, allocations: 237.4 kB / 0.7056 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.852, allocations: 6.998 MB / 0.7125 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009307/0.8529, allocations: 73.7 kB / 0.7126 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004526/0.8575, allocations: 4.764 MB / 0.7172 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.8593, allocations: 1.18 MB / 0.7184 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003159/0.8625, allocations: 1.915 MB / 0.7202 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8626, allocations: 309.1 kB / 0.7205 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/0.8687, allocations: 3.918 MB / 0.7243 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2736/1.142, allocations: 9.242 MB / 0.7334 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/1.162, allocations: 14.13 MB / 0.7472 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004272/1.162, allocations: 54.5 kB / 0.7472 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03424/1.197, allocations: 14.99 MB / 0.7619 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.197, allocations: 84.44 kB / 0.7619 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/1.197, allocations: 187.9 kB / 0.7621 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/1.202, allocations: 2.296 MB / 0.7644 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007055/1.209, allocations: 2.172 MB / 0.7665 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.225, allocations: 14.39 MB / 0.7805 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009658/1.235, allocations: 0.5453 MB / 0.7811 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002163/1.237, allocations: 0.5501 MB / 0.7816 GB, free: 166.6 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.007324/1.244, allocations: 3.23 MB / 0.7848 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.246, allocations: 0.5783 MB / 0.7853 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.258, allocations: 7.722 MB / 0.7929 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/1.258, allocations: 36 kB / 0.7929 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.258, allocations: 8 kB / 0.7929 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/1.258, allocations: 14.25 kB / 0.7929 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02889/1.287, allocations: 16.05 MB / 0.8086 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.287, allocations: 4 kB / 0.8086 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.29, allocations: 0.5197 MB / 0.8091 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004773/1.295, allocations: 2.039 MB / 0.8111 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/1.295, allocations: 62.02 kB / 0.8112 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.31, allocations: 13.71 MB / 0.8245 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.31, allocations: 4 kB / 0.8245 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/1.326, allocations: 12.26 MB / 0.8365 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/1.331, allocations: 1.184 MB / 0.8377 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.332, allocations: 59.98 kB / 0.8377 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.335, allocations: 219.6 kB / 0.8379 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/1.335, allocations: 193.9 kB / 0.8381 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.336, allocations: 83.14 kB / 0.8382 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007479/1.343, allocations: 4.475 MB / 0.8426 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/1.343, allocations: 0 / 0.8426 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009065/1.352, allocations: 1.731 MB / 0.8443 GB, free: 106.1 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.0006313/1.353, allocations: 204.4 kB / 0.8445 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.365, allocations: 9.486 MB / 0.8537 GB, free: 96.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.366, allocations: 0 / 0.8537 GB, free: 96.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.371, allocations: 3.723 MB / 0.8574 GB, free: 92.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/1.376, allocations: 0.7628 MB / 0.8581 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/1.403, allocations: 16.07 MB / 0.8738 GB, free: 75.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008358/1.411, allocations: 4.886 MB / 0.8786 GB, free: 70.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007484/1.419, allocations: 2.977 MB / 0.8815 GB, free: 67.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/1.421, allocations: 411.3 kB / 0.8819 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/1.421, allocations: 0 / 0.8819 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.1056/1.527, allocations: 66.31 MB / 0.9466 GB, free: 1.406 MB / 0.5762 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)